Skip to content

Commit

Permalink
fixed comment typos (Wolfgang Woehl)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh123 committed Nov 24, 2010
1 parent 3e7cf30 commit 87cf0c5
Show file tree
Hide file tree
Showing 25 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion docs/api/xmlsec-decrypt-with-keys-mngr.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h2 class="SECT2"><a name="XMLSEC-EXAMPLE-DECRYPT2">decrypt2.c</a></h2>
* @files_size: the number of filenames in #files.
*
* Creates simple keys manager and load DES keys from #files in it.
* The caller is responsible for destroing returned keys manager using
* The caller is responsible for destroying returned keys manager using
* @xmlSecKeysMngrDestroy.
*
* Returns the pointer to newly created keys manager or NULL if an error
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-encrypt-with-session-key.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ <h2 class="SECT2"><a name="XMLSEC-EXAMPLE-ENCRYPT3">encrypt3.c</a></h2>
* @key_file: the key filename.
*
* Creates simple keys manager and load RSA key from #key_file in it.
* The caller is responsible for destroing returned keys manager using
* The caller is responsible for destroying returned keys manager using
* @xmlSecKeysMngrDestroy.
*
* Returns the pointer to newly created keys manager or NULL if an error
Expand Down
6 changes: 3 additions & 3 deletions docs/api/xmlsec-keysdata.html
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ <h1>
<a name="XMLSECKEYDATACREATE"></a><h3>xmlSecKeyDataCreate ()</h3>
<pre class="PROGRAMLISTING"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="RETURNVALUE">xmlSecKeyDataPtr</span></a> xmlSecKeyDataCreate (<code class="PARAMETER"><gtkdoclink href="XMLSECKEYDATAID"><span class="TYPE">xmlSecKeyDataId</span></gtkdoclink> id</code>);</pre>
<p>Allocates and initializes new key data of the specified type <code class="PARAMETER">id</code>.
Caller is responsible for destroing returend object with
Caller is responsible for destroying returned object with
<a href="xmlsec-keysdata.html#XMLSECKEYDATADESTROY"><span class="TYPE">xmlSecKeyDataDestroy</span></a> function.</p>
<p></p>
<table class="variablelist" border="0" cellspacing="0" cellpadding="4"><tbody>
Expand All @@ -567,7 +567,7 @@ <h1>
<a name="XMLSECKEYDATADUPLICATE"></a><h3>xmlSecKeyDataDuplicate ()</h3>
<pre class="PROGRAMLISTING"><gtkdoclink href="XMLSECKEYDATAPTR"><span class="RETURNVALUE">xmlSecKeyDataPtr</span></gtkdoclink> xmlSecKeyDataDuplicate (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="TYPE">xmlSecKeyDataPtr</span></a> data</code>);</pre>
<p>Creates a duplicate of the given <code class="PARAMETER">data</code>. Caller is responsible for
destroing returend object with <a href="xmlsec-keysdata.html#XMLSECKEYDATADESTROY"><span class="TYPE">xmlSecKeyDataDestroy</span></a> function.</p>
destroying returned object with <a href="xmlsec-keysdata.html#XMLSECKEYDATADESTROY"><span class="TYPE">xmlSecKeyDataDestroy</span></a> function.</p>
<p></p>
<table class="variablelist" border="0" cellspacing="0" cellpadding="4"><tbody>
<tr>
Expand Down Expand Up @@ -1860,7 +1860,7 @@ <h1>
<a name="XMLSECKEYDATASTORECREATE"></a><h3>xmlSecKeyDataStoreCreate ()</h3>
<pre class="PROGRAMLISTING"><a href="xmlsec-keysdata.html#XMLSECKEYDATASTORE"><span class="RETURNVALUE">xmlSecKeyDataStorePtr</span></a> xmlSecKeyDataStoreCreate (<code class="PARAMETER"><gtkdoclink href="XMLSECKEYDATASTOREID"><span class="TYPE">xmlSecKeyDataStoreId</span></gtkdoclink> id</code>);</pre>
<p>Creates new key data store of the specified klass <code class="PARAMETER">id</code>. Caller is responsible
for freeng returned object with <a href="xmlsec-keysdata.html#XMLSECKEYDATASTOREDESTROY"><span class="TYPE">xmlSecKeyDataStoreDestroy</span></a> function.</p>
for freeing returned object with <a href="xmlsec-keysdata.html#XMLSECKEYDATASTOREDESTROY"><span class="TYPE">xmlSecKeyDataStoreDestroy</span></a> function.</p>
<p></p>
<table class="variablelist" border="0" cellspacing="0" cellpadding="4"><tbody>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-nodeset.html
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ <h1>
<pre class="PROGRAMLISTING"><gtkdoclink href="XMLSECNODESETPTR"><span class="RETURNVALUE">xmlSecNodeSetPtr</span></gtkdoclink> xmlSecNodeSetCreate (<code class="PARAMETER"><gtkdoclink href="XMLDOC"><span class="TYPE">xmlDocPtr</span></gtkdoclink> doc</code>,
<code class="PARAMETER"><gtkdoclink href="XMLNODESET"><span class="TYPE">xmlNodeSetPtr</span></gtkdoclink> nodes</code>,
<code class="PARAMETER"><a href="xmlsec-nodeset.html#XMLSECNODESETTYPE"><span class="TYPE">xmlSecNodeSetType</span></a> type</code>);</pre>
<p>Creates new nodes set. Caller is responsible for freeng returend object
<p>Creates new nodes set. Caller is responsible for freeing returned object
by calling <a href="xmlsec-nodeset.html#XMLSECNODESETDESTROY"><span class="TYPE">xmlSecNodeSetDestroy</span></a> function.</p>
<p></p>
<table class="variablelist" border="0" cellspacing="0" cellpadding="4"><tbody>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-notes-keys-manager-sign-enc.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h1 class="SECT1"><a name="XMLSEC-NOTES-KEYS-MANAGER-SIGN-ENC">Using keys manage
* @key_file: the key filename.
*
* Creates default keys manager and load RSA key from #key_file in it.
* The caller is responsible for destroing returned keys manager using
* The caller is responsible for destroying returned keys manager using
* @xmlSecKeysMngrDestroy.
*
* Returns the pointer to newly created keys manager or NULL if an error
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-notes-keys-mngr-verify-decrypt.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h1 class="SECT1"><a name="XMLSEC-NOTES-KEYS-MNGR-VERIFY-DECRYPT">Using keys man
* @files_size: the number of filenames in #files.
*
* Creates default keys manager and load DES keys from #files in it.
* The caller is responsible for destroing returned keys manager using
* The caller is responsible for destroying returned keys manager using
* @xmlSecKeysMngrDestroy.
*
* Returns the pointer to newly created keys manager or NULL if an error
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-notes-simple-keys-store.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h1 class="SECT1"><a name="XMLSEC-NOTES-SIMPLE-KEYS-STORE">Simple keys store.</a
* @files_size: the number of filenames in #files.
*
* Creates default keys manager and load PEM keys from #files in it.
* The caller is responsible for destroing returned keys manager using
* The caller is responsible for destroying returned keys manager using
* @xmlSecKeysMngrDestroy.
*
* Returns the pointer to newly created keys manager or NULL if an error
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-notes-verify-x509.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h1 class="SECT1"><a name="XMLSEC-NOTES-VERIFY-X509">Verifing document signed wi
* @files_size: the number of filenames in #files.
*
* Creates simple keys manager and load trusted certificates from PEM #files.
* The caller is responsible for destroing returned keys manager using
* The caller is responsible for destroying returned keys manager using
* @xmlSecKeysMngrDestroy.
*
* Returns the pointer to newly created keys manager or NULL if an error
Expand Down
4 changes: 2 additions & 2 deletions docs/api/xmlsec-transforms.html
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ <h1>
<a name="XMLSECTRANSFORMCTXCREATE"></a><h3>xmlSecTransformCtxCreate ()</h3>
<pre class="PROGRAMLISTING"><a href="xmlsec-transforms.html#XMLSECTRANSFORMCTX"><span class="RETURNVALUE">xmlSecTransformCtxPtr</span></a> xmlSecTransformCtxCreate (<code class="PARAMETER"><span class="TYPE">void</span></code>);</pre>
<p>Creates transforms chain processing context.
The caller is responsible for destroying returend object by calling
The caller is responsible for destroying returned object by calling
<a href="xmlsec-transforms.html#XMLSECTRANSFORMCTXDESTROY"><span class="TYPE">xmlSecTransformCtxDestroy</span></a> function.</p>
<p></p>
<table class="variablelist" border="0" cellspacing="0" cellpadding="4"><tbody><tr>
Expand All @@ -811,7 +811,7 @@ <h1>
<a name="XMLSECTRANSFORMCTXINITIALIZE"></a><h3>xmlSecTransformCtxInitialize ()</h3>
<pre class="PROGRAMLISTING"><gtkdoclink href="INT"><span class="RETURNVALUE">int</span></gtkdoclink> xmlSecTransformCtxInitialize (<code class="PARAMETER"><a href="xmlsec-transforms.html#XMLSECTRANSFORMCTX"><span class="TYPE">xmlSecTransformCtxPtr</span></a> ctx</code>);</pre>
<p>Initializes transforms chain processing context.
The caller is responsible for cleaing up returend object by calling
The caller is responsible for cleaning up returned object by calling
<a href="xmlsec-transforms.html#XMLSECTRANSFORMCTXFINALIZE"><span class="TYPE">xmlSecTransformCtxFinalize</span></a> function.</p>
<p></p>
<table class="variablelist" border="0" cellspacing="0" cellpadding="4"><tbody>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-verify-with-keys-mngr.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h2 class="SECT2"><a name="XMLSEC-EXAMPLE-VERIFY2">verify2.c</a></h2>
* @files_size: the number of filenames in #files.
*
* Creates simple keys manager and load PEM keys from #files in it.
* The caller is responsible for destroing returned keys manager using
* The caller is responsible for destroying returned keys manager using
* @xmlSecKeysMngrDestroy.
*
* Returns the pointer to newly created keys manager or NULL if an error
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-verify-with-restrictions.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ <h2 class="SECT2"><a name="XMLSEC-EXAMPLE-VERIFY4">verify4.c</a></h2>
* @files_size: the number of filenames in #files.
*
* Creates simple keys manager and load trusted certificates from PEM #files.
* The caller is responsible for destroing returned keys manager using
* The caller is responsible for destroying returned keys manager using
* @xmlSecKeysMngrDestroy.
*
* Returns the pointer to newly created keys manager or NULL if an error
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-verify-with-x509.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h2 class="SECT2"><a name="XMLSEC-EXAMPLE-VERIFY3">verify3.c</a></h2>
* @files_size: the number of filenames in #files.
*
* Creates simple keys manager and load trusted certificates from PEM #files.
* The caller is responsible for destroing returned keys manager using
* The caller is responsible for destroying returned keys manager using
* @xmlSecKeysMngrDestroy.
*
* Returns the pointer to newly created keys manager or NULL if an error
Expand Down
4 changes: 2 additions & 2 deletions docs/api/xmlsec-xmldsig.html
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ <h1>
<a name="XMLSECDSIGCTXCREATE"></a><h3>xmlSecDSigCtxCreate ()</h3>
<pre class="PROGRAMLISTING"><gtkdoclink href="XMLSECDSIGCTXPTR"><span class="RETURNVALUE">xmlSecDSigCtxPtr</span></gtkdoclink> xmlSecDSigCtxCreate (<code class="PARAMETER"><a href="xmlsec-keysmngr.html#XMLSECKEYSMNGR"><span class="TYPE">xmlSecKeysMngrPtr</span></a> keysMngr</code>);</pre>
<p>Creates <a href="http://www.w3.org/TR/xmldsig-core/#sec-Signature" target="_top">&lt;dsig:Signature/&gt;</a> element processing context.
The caller is responsible for destroying returend object by calling
The caller is responsible for destroying returned object by calling
<a href="xmlsec-xmldsig.html#XMLSECDSIGCTXDESTROY"><span class="TYPE">xmlSecDSigCtxDestroy</span></a> function.</p>
<p></p>
<table class="variablelist" border="0" cellspacing="0" cellpadding="4"><tbody>
Expand Down Expand Up @@ -383,7 +383,7 @@ <h1>
<pre class="PROGRAMLISTING"><gtkdoclink href="INT"><span class="RETURNVALUE">int</span></gtkdoclink> xmlSecDSigCtxInitialize (<code class="PARAMETER"><a href="xmlsec-xmldsig.html#XMLSECDSIGCTX"><span class="TYPE">xmlSecDSigCtxPtr</span></a> dsigCtx</code>,
<code class="PARAMETER"><a href="xmlsec-keysmngr.html#XMLSECKEYSMNGR"><span class="TYPE">xmlSecKeysMngrPtr</span></a> keysMngr</code>);</pre>
<p>Initializes <a href="http://www.w3.org/TR/xmldsig-core/#sec-Signature" target="_top">&lt;dsig:Signature/&gt;</a> element processing context.
The caller is responsible for cleaing up returend object by calling
The caller is responsible for cleaning up returned object by calling
<a href="xmlsec-xmldsig.html#XMLSECDSIGCTXFINALIZE"><span class="TYPE">xmlSecDSigCtxFinalize</span></a> function.</p>
<p></p>
<table class="variablelist" border="0" cellspacing="0" cellpadding="4"><tbody>
Expand Down
4 changes: 2 additions & 2 deletions docs/api/xmlsec-xmlenc.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ <h1>
<a name="XMLSECENCCTXCREATE"></a><h3>xmlSecEncCtxCreate ()</h3>
<pre class="PROGRAMLISTING"><gtkdoclink href="XMLSECENCCTXPTR"><span class="RETURNVALUE">xmlSecEncCtxPtr</span></gtkdoclink> xmlSecEncCtxCreate (<code class="PARAMETER"><a href="xmlsec-keysmngr.html#XMLSECKEYSMNGR"><span class="TYPE">xmlSecKeysMngrPtr</span></a> keysMngr</code>);</pre>
<p>Creates <a href="http://www.w3.org/TR/xmlenc-core/#sec-EncryptedData" target="_top">&lt;enc:EncryptedData/&gt;</a> element processing context.
The caller is responsible for destroying returend object by calling
The caller is responsible for destroying returned object by calling
<a href="xmlsec-xmlenc.html#XMLSECENCCTXDESTROY"><span class="TYPE">xmlSecEncCtxDestroy</span></a> function.</p>
<p></p>
<table class="variablelist" border="0" cellspacing="0" cellpadding="4"><tbody>
Expand Down Expand Up @@ -345,7 +345,7 @@ <h1>
<pre class="PROGRAMLISTING"><gtkdoclink href="INT"><span class="RETURNVALUE">int</span></gtkdoclink> xmlSecEncCtxInitialize (<code class="PARAMETER"><a href="xmlsec-xmlenc.html#XMLSECENCCTX"><span class="TYPE">xmlSecEncCtxPtr</span></a> encCtx</code>,
<code class="PARAMETER"><a href="xmlsec-keysmngr.html#XMLSECKEYSMNGR"><span class="TYPE">xmlSecKeysMngrPtr</span></a> keysMngr</code>);</pre>
<p>Initializes <a href="http://www.w3.org/TR/xmlenc-core/#sec-EncryptedData" target="_top">&lt;enc:EncryptedData/&gt;</a> element processing context.
The caller is responsible for cleaing up returend object by calling
The caller is responsible for cleaning up returned object by calling
<a href="xmlsec-xmlenc.html#XMLSECENCCTXFINALIZE"><span class="TYPE">xmlSecEncCtxFinalize</span></a> function.</p>
<p></p>
<table class="variablelist" border="0" cellspacing="0" cellpadding="4"><tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/gcrypt/hmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ xmlSecGCryptHmacNodeRead(xmlSecTransformPtr transform, xmlNodePtr node, xmlSecTr
}

/* Ensure that HMAC length is greater than min specified.
Otherwise, an attacker can set this lenght to 0 or very
Otherwise, an attacker can set this length to 0 or very
small value
*/
if((int)ctx->dgstSize < xmlSecGCryptHmacGetMinOutputLength()) {
Expand Down
6 changes: 3 additions & 3 deletions src/keysdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ xmlSecKeyDataIdsRegisterDefault(void) {
* @id: the data id.
*
* Allocates and initializes new key data of the specified type @id.
* Caller is responsible for destroing returend object with
* Caller is responsible for destroying returned object with
* #xmlSecKeyDataDestroy function.
*
* Returns: the pointer to newly allocated key data structure
Expand Down Expand Up @@ -231,7 +231,7 @@ xmlSecKeyDataCreate(xmlSecKeyDataId id) {
* @data: the pointer to the key data.
*
* Creates a duplicate of the given @data. Caller is responsible for
* destroing returend object with #xmlSecKeyDataDestroy function.
* destroying returned object with #xmlSecKeyDataDestroy function.
*
* Returns: the pointer to newly allocated key data structure
* or NULL if an error occurs.
Expand Down Expand Up @@ -1298,7 +1298,7 @@ xmlSecKeyDataIdListDebugXmlDump(xmlSecPtrListPtr list, FILE* output) {
* @id: the store id.
*
* Creates new key data store of the specified klass @id. Caller is responsible
* for freeng returned object with #xmlSecKeyDataStoreDestroy function.
* for freeing returned object with #xmlSecKeyDataStoreDestroy function.
*
* Returns: the pointer to newly allocated key data store structure
* or NULL if an error occurs.
Expand Down
2 changes: 1 addition & 1 deletion src/mscrypto/hmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ xmlSecMSCryptoHmacNodeRead(xmlSecTransformPtr transform, xmlNodePtr node, xmlSec
}

/* Ensure that HMAC length is greater than min specified.
Otherwise, an attacker can set this lenght to 0 or very
Otherwise, an attacker can set this length to 0 or very
small value
*/
if((int)ctx->dgstSize < xmlSecMSCryptoHmacGetMinOutputLength()) {
Expand Down
2 changes: 1 addition & 1 deletion src/nodeset.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static int xmlSecNodeSetWalkRecursive (xmlSecNodeSetPtr nset,
* @nodes: the list of nodes.
* @type: the nodes set type.
*
* Creates new nodes set. Caller is responsible for freeng returend object
* Creates new nodes set. Caller is responsible for freeing returned object
* by calling #xmlSecNodeSetDestroy function.
*
* Returns: pointer to newly allocated node set or NULL if an error occurs.
Expand Down
2 changes: 1 addition & 1 deletion src/nss/hmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ xmlSecNssHmacNodeRead(xmlSecTransformPtr transform, xmlNodePtr node, xmlSecTrans
}

/* Ensure that HMAC length is greater than min specified.
Otherwise, an attacker can set this lenght to 0 or very
Otherwise, an attacker can set this length to 0 or very
small value
*/
if((int)ctx->dgstSize < xmlSecNssHmacGetMinOutputLength()) {
Expand Down
2 changes: 1 addition & 1 deletion src/openssl/hmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ xmlSecOpenSSLHmacNodeRead(xmlSecTransformPtr transform, xmlNodePtr node, xmlSecT
}

/* Ensure that HMAC length is greater than min specified.
Otherwise, an attacker can set this lenght to 0 or very
Otherwise, an attacker can set this length to 0 or very
small value
*/
if((int)ctx->dgstSize < xmlSecOpenSSLHmacGetMinOutputLength()) {
Expand Down
6 changes: 3 additions & 3 deletions src/transforms.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ xmlSecTransformUriTypeCheck(xmlSecTransformUriType type, const xmlChar* uri) {
* xmlSecTransformCtxCreate:
*
* Creates transforms chain processing context.
* The caller is responsible for destroying returend object by calling
* The caller is responsible for destroying returned object by calling
* #xmlSecTransformCtxDestroy function.
*
* Returns: pointer to newly allocated context object or NULL if an error
Expand Down Expand Up @@ -382,7 +382,7 @@ xmlSecTransformCtxDestroy(xmlSecTransformCtxPtr ctx) {
* @ctx: the pointer to transforms chain processing context.
*
* Initializes transforms chain processing context.
* The caller is responsible for cleaing up returend object by calling
* The caller is responsible for cleaning up returned object by calling
* #xmlSecTransformCtxFinalize function.
*
* Returns: 0 on success or a negative value if an error occurs.
Expand Down Expand Up @@ -2874,7 +2874,7 @@ xmlSecTransformIOBufferClose(xmlSecTransformIOBufferPtr buffer) {
xmlSecAssert2(xmlSecTransformIsValid(buffer->transform), -1);
xmlSecAssert2(buffer->transformCtx != NULL, -1);

/* need to flush write buffer before destroing */
/* need to flush write buffer before destroying */
if(buffer->mode == xmlSecTransformIOBufferModeWrite) {
ret = xmlSecTransformPushBin(buffer->transform, NULL, 0, 1, buffer->transformCtx);
if(ret < 0) {
Expand Down
4 changes: 2 additions & 2 deletions src/xkms.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ xmlSecXkmsServerFormatToString (xmlSecXkmsServerFormat format) {
* @keysMngr: the pointer to keys manager.
*
* Creates XKMS request server side processing context.
* The caller is responsible for destroying returend object by calling
* The caller is responsible for destroying returned object by calling
* #xmlSecXkmsServerCtxDestroy function.
*
* Returns: pointer to newly allocated context object or NULL if an error
Expand Down Expand Up @@ -308,7 +308,7 @@ xmlSecXkmsServerCtxDestroy(xmlSecXkmsServerCtxPtr ctx) {
* @keysMngr: the pointer to keys manager.
*
* Initializes XKMS element processing context.
* The caller is responsible for cleaing up returend object by calling
* The caller is responsible for cleaning up returned object by calling
* #xmlSecXkmsServerCtxFinalize function.
*
* Returns: 0 on success or a negative value if an error occurs.
Expand Down
4 changes: 2 additions & 2 deletions src/xmldsig.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static const xmlChar* xmlSecDSigIds[] = { xmlSecAttrId, NULL };
* @keysMngr: the pointer to keys manager.
*
* Creates <dsig:Signature/> element processing context.
* The caller is responsible for destroying returend object by calling
* The caller is responsible for destroying returned object by calling
* #xmlSecDSigCtxDestroy function.
*
* Returns: pointer to newly allocated context object or NULL if an error
Expand Down Expand Up @@ -110,7 +110,7 @@ xmlSecDSigCtxDestroy(xmlSecDSigCtxPtr dsigCtx) {
* @keysMngr: the pointer to keys manager.
*
* Initializes <dsig:Signature/> element processing context.
* The caller is responsible for cleaing up returend object by calling
* The caller is responsible for cleaning up returned object by calling
* #xmlSecDSigCtxFinalize function.
*
* Returns: 0 on success or a negative value if an error occurs.
Expand Down
Loading

0 comments on commit 87cf0c5

Please sign in to comment.