Fully remove old error, per drH
Reviewed-by: rsalz
This commit is contained in:
Dr Stephen Henson 2014-08-11 17:32:57 -04:00 committed by Rich Salz
parent 691edc997a
commit b00f586a81
2 changed files with 1 additions and 6 deletions

View File

@ -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

View File

@ -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;