diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-10-20 03:50:23 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-10-20 03:50:23 +0200 |
commit | 08e9c1af6c26f74ef7f7524be4b89241ff232a8c (patch) | |
tree | 7fe3f66fdfb1f20a5bfcbbf98369032374f3a79b /crypto/asn1/a_utf8.c | |
parent | Use of DEVRANDOM must be #ifdef'ed (the #ifdef was commented out (diff) | |
download | openssl-08e9c1af6c26f74ef7f7524be4b89241ff232a8c.tar.xz openssl-08e9c1af6c26f74ef7f7524be4b89241ff232a8c.zip |
Replace the macros in asn1.h with function equivalents. Also make UTF8Strings
tolerated in certificates.
Diffstat (limited to 'crypto/asn1/a_utf8.c')
-rw-r--r-- | crypto/asn1/a_utf8.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 <openssl/asn1.h> +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, |