RT 2517: Various typo's.
authorScott Schaefer <saschaefer@neurodiverse.org>
Mon, 11 Aug 2014 15:37:18 +0000 (11:37 -0400)
committerRich Salz <rsalz@akamai.com>
Mon, 11 Aug 2014 17:12:53 +0000 (13:12 -0400)
Many of these were already fixed, this catches the last
few that were missed.

crypto/asn1/asn1.h
crypto/asn1/asn1_err.c
doc/crypto/EVP_EncryptInit.pod

index 8bc24d322522f20dd72ff87cc5ba4a8514d7d653..51bd621c9cd6737f2ae3d843cb7a21bb61344ec8 100644 (file)
@@ -1165,6 +1165,10 @@ ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it);
 int SMIME_crlf_copy(BIO *in, BIO *out, int flags);
 int SMIME_text(BIO *in, BIO *out);
 
+/* Older versions had the following typo'd name, so for a while, anyway,
+ * we provide the old broken name as well. */
+#define ASN1_R_UNKOWN_FORMAT ASN1_R_UNKNOWN_FORMAT
+
 /* BEGIN ERROR CODES */
 /* The following lines are auto generated by the script mkerr.pl. Any changes
  * made after this point may be overwritten when the script is next run.
index 70c7d1b839da072f546fa4b572109c3d630954df..f09f49b0820b2f7a4fc7949b7000e57e75b9e9d8 100644 (file)
@@ -310,7 +310,7 @@ static ERR_STRING_DATA ASN1_str_reasons[]=
 {ERR_REASON(ASN1_R_UNKNOWN_PUBLIC_KEY_TYPE),"unknown public key type"},
 {ERR_REASON(ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM),"unknown signature algorithm"},
 {ERR_REASON(ASN1_R_UNKNOWN_TAG)          ,"unknown tag"},
-{ERR_REASON(ASN1_R_UNKOWN_FORMAT)        ,"unknown format"},
+{ERR_REASON(ASN1_R_UNKNOWN_FORMAT)       ,"unknown format"},
 {ERR_REASON(ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE),"unsupported any defined by type"},
 {ERR_REASON(ASN1_R_UNSUPPORTED_CIPHER)   ,"unsupported cipher"},
 {ERR_REASON(ASN1_R_UNSUPPORTED_ENCRYPTION_ALGORITHM),"unsupported encryption algorithm"},
index e4404637561bf7fc0a9d7c683e166ccd89606e65..b2f65ed1e89e71ebdbc7a02ee1f977f66fd72ae6 100644 (file)
@@ -161,7 +161,7 @@ after all operations using a cipher are complete so sensitive information
 does not remain in memory.
 
 EVP_EncryptInit(), EVP_DecryptInit() and EVP_CipherInit() behave in a
-similar way to EVP_EncryptInit_ex(), EVP_DecryptInit_ex and
+similar way to EVP_EncryptInit_ex(), EVP_DecryptInit_ex() and
 EVP_CipherInit_ex() except the B<ctx> parameter does not need to be
 initialized and they always use the default cipher implementation.