diff options
Diffstat (limited to 'crypto/asn1/asn1_lib.c')
-rw-r--r-- | crypto/asn1/asn1_lib.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/crypto/asn1/asn1_lib.c b/crypto/asn1/asn1_lib.c index 1586aaff14..fe63b6249c 100644 --- a/crypto/asn1/asn1_lib.c +++ b/crypto/asn1/asn1_lib.c @@ -460,21 +460,20 @@ void asn1_add_error(const unsigned char *address, int offset) int ASN1_STRING_length(const ASN1_STRING *x) { - return M_ASN1_STRING_length(x); + return x->length; } void ASN1_STRING_length_set(ASN1_STRING *x, int len) { - M_ASN1_STRING_length_set(x, len); - return; + x->length = len; } int ASN1_STRING_type(ASN1_STRING *x) { - return M_ASN1_STRING_type(x); + return x->type; } unsigned char *ASN1_STRING_data(ASN1_STRING *x) { - return M_ASN1_STRING_data(x); + return x->data; } |