diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/a_utf8.c')
-rw-r--r-- | src/lib/libcrypto/asn1/a_utf8.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/lib/libcrypto/asn1/a_utf8.c b/src/lib/libcrypto/asn1/a_utf8.c index 854278f136..508e11e527 100644 --- a/src/lib/libcrypto/asn1/a_utf8.c +++ b/src/lib/libcrypto/asn1/a_utf8.c | |||
@@ -60,33 +60,6 @@ | |||
60 | #include "cryptlib.h" | 60 | #include "cryptlib.h" |
61 | #include <openssl/asn1.h> | 61 | #include <openssl/asn1.h> |
62 | 62 | ||
63 | ASN1_UTF8STRING *ASN1_UTF8STRING_new(void) | ||
64 | { return M_ASN1_UTF8STRING_new();} | ||
65 | |||
66 | void ASN1_UTF8STRING_free(ASN1_UTF8STRING *x) | ||
67 | { M_ASN1_UTF8STRING_free(x);} | ||
68 | |||
69 | int i2d_ASN1_UTF8STRING(ASN1_UTF8STRING *a, unsigned char **pp) | ||
70 | { | ||
71 | return(i2d_ASN1_bytes((ASN1_STRING *)a,pp, | ||
72 | V_ASN1_UTF8STRING,V_ASN1_UNIVERSAL)); | ||
73 | } | ||
74 | |||
75 | ASN1_UTF8STRING *d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a, unsigned char **pp, | ||
76 | long length) | ||
77 | { | ||
78 | ASN1_UTF8STRING *ret=NULL; | ||
79 | |||
80 | ret=(ASN1_UTF8STRING *)d2i_ASN1_bytes((ASN1_STRING **)a, | ||
81 | pp,length,V_ASN1_UTF8STRING,V_ASN1_UNIVERSAL); | ||
82 | if (ret == NULL) | ||
83 | { | ||
84 | ASN1err(ASN1_F_D2I_ASN1_UTF8STRING,ERR_R_NESTED_ASN1_ERROR); | ||
85 | return(NULL); | ||
86 | } | ||
87 | return(ret); | ||
88 | } | ||
89 | |||
90 | 63 | ||
91 | /* UTF8 utilities */ | 64 | /* UTF8 utilities */ |
92 | 65 | ||