summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorScott Schaefer <saschaefer@neurodiverse.org>2014-08-11 11:37:18 -0400
committerRich Salz <rsalz@akamai.com>2014-08-11 13:43:31 -0400
commitd4a4370050f7d72239b92a60ab9d4a2dd5e9fd84 (patch)
treeb3d0504a6edf69862f65a194fa39b07b1a22d73c /crypto
parent77bf69dced875200f6f0e385a4a270298f8d3c45 (diff)
RT 2517: Various typo's.
Reviewed-by: Emilia Kasper Many of these were already fixed, this catches the last few that were missed.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asn1/asn1.h4
-rw-r--r--crypto/asn1/asn1_err.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index 8bc24d3225..51bd621c9c 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -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.
diff --git a/crypto/asn1/asn1_err.c b/crypto/asn1/asn1_err.c
index 70c7d1b839..f09f49b082 100644
--- a/crypto/asn1/asn1_err.c
+++ b/crypto/asn1/asn1_err.c
@@ -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"},