summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr Stephen Henson <shenson@drh-consultancy.co.uk>2014-08-11 17:32:57 -0400
committerRich Salz <rsalz@akamai.com>2014-08-11 17:32:57 -0400
commitb00f586a812c965a7a34938df00ff6eb2130754a (patch)
tree68356096d8e2f06293e3ee76f27320a4c203086f /crypto/asn1
parent691edc997a35682eb7fa29445036182d2c9eb1de (diff)
Fully remove old error, per drH Reviewed-by: rsalz
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/asn1.h5
-rw-r--r--crypto/asn1/asn1_gen.c2
2 files changed, 1 insertions, 6 deletions
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index 51bd621c9c..d6342d0812 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -1165,10 +1165,6 @@ 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.
@@ -1415,7 +1411,6 @@ void ERR_load_ASN1_strings(void);
#define ASN1_R_UNKNOWN_PUBLIC_KEY_TYPE 163
#define ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM 199
#define ASN1_R_UNKNOWN_TAG 194
-#define ASN1_R_UNKOWN_FORMAT 195
#define ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE 164
#define ASN1_R_UNSUPPORTED_CIPHER 165
#define ASN1_R_UNSUPPORTED_ENCRYPTION_ALGORITHM 166
diff --git a/crypto/asn1/asn1_gen.c b/crypto/asn1/asn1_gen.c
index 7c2c337a1a..25b270d6e6 100644
--- a/crypto/asn1/asn1_gen.c
+++ b/crypto/asn1/asn1_gen.c
@@ -372,7 +372,7 @@ static int asn1_cb(const char *elem, int len, void *bitstr)
arg->format = ASN1_GEN_FORMAT_BITLIST;
else
{
- ASN1err(ASN1_F_ASN1_CB, ASN1_R_UNKOWN_FORMAT);
+ ASN1err(ASN1_F_ASN1_CB, ASN1_R_UNKNOWN_FORMAT);
return -1;
}
break;