Skip to content

Commit

Permalink
fix spelling errors in comments (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
andykk authored and lsh123 committed Nov 16, 2018
1 parent 3f31ecd commit a181a96
Show file tree
Hide file tree
Showing 79 changed files with 141 additions and 141 deletions.
2 changes: 1 addition & 1 deletion apps/cmdline.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ time_t xmlSecAppCmdLineParamGetTime (xmlSecAppCmdLineParamPt
time_t def);

int xmlSecAppCmdLineParamsListParse (xmlSecAppCmdLineParamPtr* params,
xmlSecAppCmdLineParamTopic topcis,
xmlSecAppCmdLineParamTopic topics,
const char** argv,
int argc,
int pos);
Expand Down
2 changes: 1 addition & 1 deletion apps/xmlsec.c
Original file line number Diff line number Diff line change
Expand Up @@ -2447,7 +2447,7 @@ xmlSecAppInit(void) {
if(xmlSecCryptoDLLoadLibrary(BAD_CAST xmlsec_crypto) < 0) {
fprintf(stderr, "Error: unable to load xmlsec-%s library. Make sure that you have\n"
"this it installed, check shared libraries path (LD_LIBRARY_PATH)\n"
"envornment variable or use \"--crypto\" option to specify different\n"
"environment variable or use \"--crypto\" option to specify different\n"
"crypto engine.\n",
((xmlsec_crypto != NULL) ? BAD_CAST xmlsec_crypto : xmlSecGetDefaultCrypto())
);
Expand Down
2 changes: 1 addition & 1 deletion docs/api/src/chapters/new-crypto.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ struct _xmlSecTransform {
after transform execution is finished. The
<link linkend="xmlSecTransformVerifyMethod">verify</link> method implementation
must set the "status" member to <link linkend="xmlSecTransformStatusOk">xmlSecTransformStatusOk</link>
if signature, hmac or digest is successfuly verified or to
if signature, hmac or digest is successfully verified or to
<link linkend="xmlSecTransformStatusFail">xmlSecTransformStatusFail</link>
otherwise.
</para>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-custom-keys-manager.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
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 @@ -207,7 +207,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-decrypt-with-signle-key.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-encrypt-dynamic-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-encrypt-template-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
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 @@ -209,7 +209,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-examples-sign-dynamimc-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-examples-sign-template-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-examples-sign-x509.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-io.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-io.top_of_page"></a>io</span></h
<pre class="programlisting"><font><span class="returnvalue">int</span></font>
xmlSecTransformInputURIClose (<em class="parameter"><code><a class="link" href="xmlsec-transforms.html#xmlSecTransform" title="struct xmlSecTransform"><span class="type">xmlSecTransformPtr</span></a> transform</code></em>);</pre>
<p>Closes the given <em class="parameter"><code>transform</code></em>
and frees up resourses.</p>
and frees up resources.</p>
<div class="refsect3">
<a name="xmlSecTransformInputURIClose.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
Expand Down
4 changes: 2 additions & 2 deletions docs/api/xmlsec-keysdata.html
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-keysdata.top_of_page"></a>keysda
</tr>
<tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p>the poiniter to source key data.</p></td>
<td class="parameter_description"><p>the pointer to source key data.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
Expand Down Expand Up @@ -2972,7 +2972,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-keysdata.top_of_page"></a>keysda
<a name="xmlSecKeyDataType"></a><h3>xmlSecKeyDataType</h3>
<pre class="programlisting">typedef unsigned int xmlSecKeyDataType;
</pre>
<p>The key data type (public/private, session/permanet, etc.).</p>
<p>The key data type (public/private, session/permanent, etc.).</p>
</div>
<hr>
<div class="refsect2">
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-membuf.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-membuf.top_of_page"></a>membuf</
<a name="xmlSecTransformMemBufGetKlass"></a><h3>xmlSecTransformMemBufGetKlass ()</h3>
<pre class="programlisting"><font><span class="returnvalue">xmlSecTransformId</span></font>
xmlSecTransformMemBufGetKlass (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>The memory buffer transorm (used to store the data that go through it).</p>
<p>The memory buffer transform (used to store the data that go through it).</p>
<div class="refsect3">
<a name="xmlSecTransformMemBufGetKlass.returns"></a><h4>Returns</h4>
<p> memory buffer transform klass.</p>
Expand Down
6 changes: 3 additions & 3 deletions docs/api/xmlsec-nodeset.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-nodeset.top_of_page"></a>nodeset
<tbody>
<tr>
<td class="parameter_name"><p>nset</p></td>
<td class="parameter_description"><p>the pointer to currrent nodes set (or NULL).</p></td>
<td class="parameter_description"><p>the pointer to current nodes set (or NULL).</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
Expand Down Expand Up @@ -490,7 +490,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-nodeset.top_of_page"></a>nodeset
<tbody>
<tr>
<td class="parameter_name"><p>nset</p></td>
<td class="parameter_description"><p>the pointer to currrent nodes set (or NULL).</p></td>
<td class="parameter_description"><p>the pointer to current nodes set (or NULL).</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
Expand Down Expand Up @@ -749,7 +749,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-nodeset.top_of_page"></a>nodeset
</tr>
<tr>
<td class="enum_member_name"><p><a name="xmlSecNodeSetList"></a>xmlSecNodeSetList</p></td>
<td class="enum_member_description"><p>nodes set = all nodes in the chidren list of nodes sets.</p></td>
<td class="enum_member_description"><p>nodes set = all nodes in the children list of nodes sets.</p></td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-notes-init-shutdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH) envornment variable.\n");
"(LD_LIBRARY_PATH) environment variable.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-notes-new-crypto-transforms.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
after transform execution is finished. The
<a class="link" href="xmlsec-transforms.html#xmlSecTransformVerifyMethod" title="xmlSecTransformVerifyMethod ()">verify</a> method implementation
must set the "status" member to <a class="link" href="xmlsec-transforms.html#xmlSecTransformStatusOk">xmlSecTransformStatusOk</a>
if signature, hmac or digest is successfuly verified or to
if signature, hmac or digest is successfully verified or to
<a class="link" href="xmlsec-transforms.html#xmlSecTransformStatusFail">xmlSecTransformStatusFail</a>
otherwise.
</p>
Expand Down
6 changes: 3 additions & 3 deletions docs/api/xmlsec-transforms.html
Original file line number Diff line number Diff line change
Expand Up @@ -3601,7 +3601,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-transforms.top_of_page"></a>tran
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>klass</p></td>
<td class="parameter_description"><p>the transofrm's klass.</p></td>
<td class="parameter_description"><p>the transform's klass.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
Expand Down Expand Up @@ -4531,7 +4531,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-transforms.top_of_page"></a>tran
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="xmlsec-transforms.html#xmlSecTransformStatus" title="enum xmlSecTransformStatus"><span class="type">xmlSecTransformStatus</span></a> <em class="structfield"><code><a name="xmlSecTransformCtx.status"></a>status</code></em>;</p></td>
<td class="struct_member_description"><p>the transforms chain processng status.</p></td>
<td class="struct_member_description"><p>the transforms chain processing status.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
Expand Down Expand Up @@ -4611,7 +4611,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-transforms.top_of_page"></a>tran
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="xmlsec-transforms.html#xmlSecTransformOperation" title="enum xmlSecTransformOperation"><span class="type">xmlSecTransformOperation</span></a> <em class="structfield"><code><a name="xmlSecTransform.operation"></a>operation</code></em>;</p></td>
<td class="struct_member_description"><p>the transform's opertaion.</p></td>
<td class="struct_member_description"><p>the transform's operation.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-verify-with-key.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
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 @@ -206,7 +206,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
8 changes: 4 additions & 4 deletions docs/api/xmlsec-verify-with-restrictions.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
/**
* XML Security Library example: Verifying a simple SAML response with X509 certificate
*
* Verifies a simple SAML response. In addition to refular verification
* Verifies a simple SAML response. In addition to regular verification
* we ensure that the signature has only one &lt;dsig:Reference/&gt; element
* with an empty or NULL URI attribute and one enveloped signature transform
* as it is required by SAML specification.
Expand All @@ -124,12 +124,12 @@
* Usage:
* verify4 &lt;signed-file&gt; &lt;trusted-cert-pem-file1&gt; [&lt;trusted-cert-pem-file2&gt; [...]]
*
* Example (sucecess):
* Example (success):
* ./verify4 verify4-res.xml ca2cert.pem cacert.pem
*
* Example (failure):
* ./verify4 verify4-bad-res.xml ca2cert.pem cacert.pem
* In the same time, verify3 example successfuly verifies this signature:
* In the same time, verify3 example successfully verifies this signature:
* ./verify3 verify4-bad-res.xml ca2cert.pem cacert.pem
*
* This is free software; see Copyright file in the source
Expand Down Expand Up @@ -215,7 +215,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
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 @@ -207,7 +207,7 @@
if(xmlSecCryptoDLLoadLibrary(NULL) &lt; 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
2 changes: 1 addition & 1 deletion docs/api/xmlsec-xmldsig.html
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-xmldsig.top_of_page"></a>xmldsig
<pre class="programlisting"><a class="link" href="xmlsec-buffer.html#xmlSecBuffer" title="struct xmlSecBuffer"><span class="returnvalue">xmlSecBufferPtr</span></a>
xmlSecDSigCtxGetPreSignBuffer (<em class="parameter"><code><a class="link" href="xmlsec-xmldsig.html#xmlSecDSigCtx" title="struct xmlSecDSigCtx"><span class="type">xmlSecDSigCtxPtr</span></a> dsigCtx</code></em>);</pre>
<p>Gets pointer to the buffer with serialized <a class="ulink" href="" target="_top">&lt;dsig:SignedInfo/&gt;</a> element
just before signature claculation (valid if and only if
just before signature calculation (valid if and only if
<a class="link" href="xmlsec-xmldsig.html#XMLSEC-DSIG-FLAGS-STORE-SIGNATURE:CAPS" title="XMLSEC_DSIG_FLAGS_STORE_SIGNATURE"><span class="type">XMLSEC_DSIG_FLAGS_STORE_SIGNATURE</span></a> context flag is set.</p>
<div class="refsect3">
<a name="xmlSecDSigCtxGetPreSignBuffer.parameters"></a><h4>Parameters</h4>
Expand Down
4 changes: 2 additions & 2 deletions docs/api/xmlsec-xmltree.html
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-xmltree.top_of_page"></a>xmltree
<a name="xmlSecIsEmptyNode"></a><h3>xmlSecIsEmptyNode ()</h3>
<pre class="programlisting"><font><span class="returnvalue">int</span></font>
xmlSecIsEmptyNode (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>);</pre>
<p>Checks whethere the <em class="parameter"><code>node</code></em>
<p>Checks whether the <em class="parameter"><code>node</code></em>
is empty (i.e. has only whitespaces children).</p>
<div class="refsect3">
<a name="xmlSecIsEmptyNode.parameters"></a><h4>Parameters</h4>
Expand Down Expand Up @@ -1516,7 +1516,7 @@ <h2><span class="refentrytitle"><a name="xmlsec-xmltree.top_of_page"></a>xmltree
<a name="xmlSecIsEmptyString"></a><h3>xmlSecIsEmptyString ()</h3>
<pre class="programlisting"><font><span class="returnvalue">int</span></font>
xmlSecIsEmptyString (<em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *str</code></em>);</pre>
<p>Checks whethere the <em class="parameter"><code>str</code></em>
<p>Checks whether the <em class="parameter"><code>str</code></em>
is empty (i.e. has only whitespaces children).</p>
<div class="refsect3">
<a name="xmlSecIsEmptyString.parameters"></a><h4>Parameters</h4>
Expand Down
2 changes: 1 addition & 1 deletion examples/decrypt1.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ main(int argc, char **argv) {
if(xmlSecCryptoDLLoadLibrary(NULL) < 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
4 changes: 2 additions & 2 deletions examples/decrypt2.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ main(int argc, char **argv) {
if(xmlSecCryptoDLLoadLibrary(NULL) < 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down Expand Up @@ -151,7 +151,7 @@ main(int argc, char **argv) {
* @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 examples/decrypt3.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ main(int argc, char **argv) {
if(xmlSecCryptoDLLoadLibrary(NULL) < 0) {
fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
"that you have it installed and check shared libraries path\n"
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) envornment variables.\n");
"(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
return(-1);
}
#endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
Expand Down
Loading

0 comments on commit a181a96

Please sign in to comment.