From 87cf0c54bb3fe5d9043f677e1a05eccc83e460f2 Mon Sep 17 00:00:00 2001 From: Aleksey Sanin Date: Tue, 23 Nov 2010 22:03:15 -0800 Subject: [PATCH] fixed comment typos (Wolfgang Woehl) --- docs/api/xmlsec-decrypt-with-keys-mngr.html | 2 +- docs/api/xmlsec-encrypt-with-session-key.html | 2 +- docs/api/xmlsec-keysdata.html | 6 +++--- docs/api/xmlsec-nodeset.html | 2 +- docs/api/xmlsec-notes-keys-manager-sign-enc.html | 2 +- docs/api/xmlsec-notes-keys-mngr-verify-decrypt.html | 2 +- docs/api/xmlsec-notes-simple-keys-store.html | 2 +- docs/api/xmlsec-notes-verify-x509.html | 2 +- docs/api/xmlsec-transforms.html | 4 ++-- docs/api/xmlsec-verify-with-keys-mngr.html | 2 +- docs/api/xmlsec-verify-with-restrictions.html | 2 +- docs/api/xmlsec-verify-with-x509.html | 2 +- docs/api/xmlsec-xmldsig.html | 4 ++-- docs/api/xmlsec-xmlenc.html | 4 ++-- src/gcrypt/hmac.c | 2 +- src/keysdata.c | 6 +++--- src/mscrypto/hmac.c | 2 +- src/nodeset.c | 2 +- src/nss/hmac.c | 2 +- src/openssl/hmac.c | 2 +- src/transforms.c | 6 +++--- src/xkms.c | 4 ++-- src/xmldsig.c | 4 ++-- src/xmlenc.c | 4 ++-- xmlsec1.m4 | 2 +- 25 files changed, 37 insertions(+), 37 deletions(-) diff --git a/docs/api/xmlsec-decrypt-with-keys-mngr.html b/docs/api/xmlsec-decrypt-with-keys-mngr.html index 3f7860990..6355f90e6 100644 --- a/docs/api/xmlsec-decrypt-with-keys-mngr.html +++ b/docs/api/xmlsec-decrypt-with-keys-mngr.html @@ -226,7 +226,7 @@

decrypt2.c

* @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 diff --git a/docs/api/xmlsec-encrypt-with-session-key.html b/docs/api/xmlsec-encrypt-with-session-key.html index 02c65332f..2956405f7 100644 --- a/docs/api/xmlsec-encrypt-with-session-key.html +++ b/docs/api/xmlsec-encrypt-with-session-key.html @@ -229,7 +229,7 @@

encrypt3.c

* @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 diff --git a/docs/api/xmlsec-keysdata.html b/docs/api/xmlsec-keysdata.html index dba74aa33..3db153bad 100644 --- a/docs/api/xmlsec-keysdata.html +++ b/docs/api/xmlsec-keysdata.html @@ -547,7 +547,7 @@

xmlSecKeyDataCreate ()

xmlSecKeyDataPtr    xmlSecKeyDataCreate                 (xmlSecKeyDataId 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.

@@ -567,7 +567,7 @@

xmlSecKeyDataDuplicate ()

xmlSecKeyDataPtr    xmlSecKeyDataDuplicate              (xmlSecKeyDataPtr data);

Creates a duplicate of the given data. Caller is responsible for -destroing returend object with xmlSecKeyDataDestroy function.

+destroying returned object with xmlSecKeyDataDestroy function.

@@ -1860,7 +1860,7 @@

xmlSecKeyDataStoreCreate ()

xmlSecKeyDataStorePtr  xmlSecKeyDataStoreCreate         (xmlSecKeyDataStoreId 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.

diff --git a/docs/api/xmlsec-nodeset.html b/docs/api/xmlsec-nodeset.html index 80e25c2f7..32175e7db 100644 --- a/docs/api/xmlsec-nodeset.html +++ b/docs/api/xmlsec-nodeset.html @@ -293,7 +293,7 @@

xmlSecNodeSetPtr    xmlSecNodeSetCreate                 (xmlDocPtr doc,
                                                          xmlNodeSetPtr nodes,
                                                          xmlSecNodeSetType 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.

diff --git a/docs/api/xmlsec-notes-keys-manager-sign-enc.html b/docs/api/xmlsec-notes-keys-manager-sign-enc.html index a94af2ecd..fb8997a7e 100644 --- a/docs/api/xmlsec-notes-keys-manager-sign-enc.html +++ b/docs/api/xmlsec-notes-keys-manager-sign-enc.html @@ -109,7 +109,7 @@

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 diff --git a/docs/api/xmlsec-notes-keys-mngr-verify-decrypt.html b/docs/api/xmlsec-notes-keys-mngr-verify-decrypt.html index bb10b75c0..4ee17ec90 100644 --- a/docs/api/xmlsec-notes-keys-mngr-verify-decrypt.html +++ b/docs/api/xmlsec-notes-keys-mngr-verify-decrypt.html @@ -104,7 +104,7 @@

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 diff --git a/docs/api/xmlsec-notes-simple-keys-store.html b/docs/api/xmlsec-notes-simple-keys-store.html index 55cf4dbe9..73930436a 100644 --- a/docs/api/xmlsec-notes-simple-keys-store.html +++ b/docs/api/xmlsec-notes-simple-keys-store.html @@ -102,7 +102,7 @@

Simple keys store.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 diff --git a/docs/api/xmlsec-transforms.html b/docs/api/xmlsec-transforms.html index b342c2654..066954417 100644 --- a/docs/api/xmlsec-transforms.html +++ b/docs/api/xmlsec-transforms.html @@ -786,7 +786,7 @@

xmlSecTransformCtxCreate ()

xmlSecTransformCtxPtr  xmlSecTransformCtxCreate         (void);

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.

@@ -811,7 +811,7 @@

xmlSecTransformCtxInitialize ()

int                 xmlSecTransformCtxInitialize        (xmlSecTransformCtxPtr ctx);

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.

diff --git a/docs/api/xmlsec-verify-with-keys-mngr.html b/docs/api/xmlsec-verify-with-keys-mngr.html index f5e34ce63..a86463977 100644 --- a/docs/api/xmlsec-verify-with-keys-mngr.html +++ b/docs/api/xmlsec-verify-with-keys-mngr.html @@ -226,7 +226,7 @@

verify2.c

* @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 diff --git a/docs/api/xmlsec-verify-with-restrictions.html b/docs/api/xmlsec-verify-with-restrictions.html index 46afa210f..79e663184 100644 --- a/docs/api/xmlsec-verify-with-restrictions.html +++ b/docs/api/xmlsec-verify-with-restrictions.html @@ -236,7 +236,7 @@

verify4.c

* @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 diff --git a/docs/api/xmlsec-verify-with-x509.html b/docs/api/xmlsec-verify-with-x509.html index 371bb86a5..04c549572 100644 --- a/docs/api/xmlsec-verify-with-x509.html +++ b/docs/api/xmlsec-verify-with-x509.html @@ -228,7 +228,7 @@

verify3.c

* @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 diff --git a/docs/api/xmlsec-xmldsig.html b/docs/api/xmlsec-xmldsig.html index 72ac89421..7b237b957 100644 --- a/docs/api/xmlsec-xmldsig.html +++ b/docs/api/xmlsec-xmldsig.html @@ -351,7 +351,7 @@

xmlSecDSigCtxCreate ()

xmlSecDSigCtxPtr    xmlSecDSigCtxCreate                 (xmlSecKeysMngrPtr keysMngr);

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.

@@ -383,7 +383,7 @@

int                 xmlSecDSigCtxInitialize             (xmlSecDSigCtxPtr dsigCtx,
                                                          xmlSecKeysMngrPtr keysMngr);

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.

diff --git a/docs/api/xmlsec-xmlenc.html b/docs/api/xmlsec-xmlenc.html index 18604e1a1..ac0a5f9c4 100644 --- a/docs/api/xmlsec-xmlenc.html +++ b/docs/api/xmlsec-xmlenc.html @@ -313,7 +313,7 @@

xmlSecEncCtxCreate ()

xmlSecEncCtxPtr     xmlSecEncCtxCreate                  (xmlSecKeysMngrPtr keysMngr);

Creates <enc:EncryptedData/> element processing context. -The caller is responsible for destroying returend object by calling +The caller is responsible for destroying returned object by calling xmlSecEncCtxDestroy function.

@@ -345,7 +345,7 @@

int                 xmlSecEncCtxInitialize              (xmlSecEncCtxPtr encCtx,
                                                          xmlSecKeysMngrPtr keysMngr);

Initializes <enc:EncryptedData/> 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 xmlSecEncCtxFinalize function.

diff --git a/src/gcrypt/hmac.c b/src/gcrypt/hmac.c index 60a7a1137..192cb17b3 100644 --- a/src/gcrypt/hmac.c +++ b/src/gcrypt/hmac.c @@ -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()) { diff --git a/src/keysdata.c b/src/keysdata.c index 7deb19adc..de854ba6c 100644 --- a/src/keysdata.c +++ b/src/keysdata.c @@ -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 @@ -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. @@ -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. diff --git a/src/mscrypto/hmac.c b/src/mscrypto/hmac.c index 71af32bdc..e8709838f 100644 --- a/src/mscrypto/hmac.c +++ b/src/mscrypto/hmac.c @@ -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()) { diff --git a/src/nodeset.c b/src/nodeset.c index 3ebc3d137..04ae8105c 100644 --- a/src/nodeset.c +++ b/src/nodeset.c @@ -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. diff --git a/src/nss/hmac.c b/src/nss/hmac.c index dfe5a53d7..ae7e67ef9 100644 --- a/src/nss/hmac.c +++ b/src/nss/hmac.c @@ -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()) { diff --git a/src/openssl/hmac.c b/src/openssl/hmac.c index 5bf92d4aa..bad1ac03e 100644 --- a/src/openssl/hmac.c +++ b/src/openssl/hmac.c @@ -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()) { diff --git a/src/transforms.c b/src/transforms.c index e8e005090..8ef38b508 100644 --- a/src/transforms.c +++ b/src/transforms.c @@ -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 @@ -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. @@ -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) { diff --git a/src/xkms.c b/src/xkms.c index 1046b8e36..d10099bba 100644 --- a/src/xkms.c +++ b/src/xkms.c @@ -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 @@ -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. diff --git a/src/xmldsig.c b/src/xmldsig.c index edd702062..cec9ca6bc 100644 --- a/src/xmldsig.c +++ b/src/xmldsig.c @@ -55,7 +55,7 @@ static const xmlChar* xmlSecDSigIds[] = { xmlSecAttrId, NULL }; * @keysMngr: the pointer to keys manager. * * Creates 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 @@ -110,7 +110,7 @@ xmlSecDSigCtxDestroy(xmlSecDSigCtxPtr dsigCtx) { * @keysMngr: the pointer to keys manager. * * Initializes 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. diff --git a/src/xmlenc.c b/src/xmlenc.c index 694dc625b..44c98779d 100644 --- a/src/xmlenc.c +++ b/src/xmlenc.c @@ -47,7 +47,7 @@ static const xmlChar* xmlSecEncIds[] = { BAD_CAST "Id", NULL }; * @keysMngr: the pointer to keys manager. * * Creates element processing context. - * The caller is responsible for destroying returend object by calling + * The caller is responsible for destroying returned object by calling * #xmlSecEncCtxDestroy function. * * Returns: pointer to newly allocated context object or NULL if an error @@ -102,7 +102,7 @@ xmlSecEncCtxDestroy(xmlSecEncCtxPtr encCtx) { * @keysMngr: the pointer to keys manager. * * Initializes 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 * #xmlSecEncCtxFinalize function. * * Returns: 0 on success or a negative value if an error occurs. diff --git a/xmlsec1.m4 b/xmlsec1.m4 index 0f5e21aa3..363c723d1 100644 --- a/xmlsec1.m4 +++ b/xmlsec1.m4 @@ -108,7 +108,7 @@ int main(int argc, char **argv) { printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of libxmlsec1, but you can also set the XMLSEC1_CONFIG environment to point to the\n"); printf("*** correct copy of xmlsec1-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); return 1; }