Replace the macros in asn1.h with function equivalents. Also make UTF8Strings
tolerated in certificates.
This commit is contained in:
@@ -242,7 +242,7 @@ int X509_EXTENSION_set_data(X509_EXTENSION *ex, ASN1_OCTET_STRING *data)
|
||||
int i;
|
||||
|
||||
if (ex == NULL) return(0);
|
||||
i=ASN1_OCTET_STRING_set(ex->value,data->data,data->length);
|
||||
i=M_ASN1_OCTET_STRING_set(ex->value,data->data,data->length);
|
||||
if (!i) return(0);
|
||||
return(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user