From 08e9c1af6c26f74ef7f7524be4b89241ff232a8c Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 20 Oct 1999 01:50:23 +0000 Subject: Replace the macros in asn1.h with function equivalents. Also make UTF8Strings tolerated in certificates. --- crypto/asn1/a_utf8.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crypto/asn1/a_utf8.c') diff --git a/crypto/asn1/a_utf8.c b/crypto/asn1/a_utf8.c index 7f68b88cd1..16aab7f43e 100644 --- a/crypto/asn1/a_utf8.c +++ b/crypto/asn1/a_utf8.c @@ -60,6 +60,12 @@ #include "cryptlib.h" #include +ASN1_UTF8STRING *ASN1_UTF8STRING_new(void) +{ return M_ASN1_UTF8STRING_new();} + +void ASN1_UTF8STRING_free(ASN1_UTF8STRING *x) +{ return M_ASN1_UTF8STRING_free(x);} + int i2d_ASN1_UTF8STRING(ASN1_UTF8STRING *a, unsigned char **pp) { return(i2d_ASN1_bytes((ASN1_STRING *)a,pp, -- cgit v1.2.3