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/x_sig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/asn1/x_sig.c') diff --git a/crypto/asn1/x_sig.c b/crypto/asn1/x_sig.c index c2782d1..ea64882 100644 --- a/crypto/asn1/x_sig.c +++ b/crypto/asn1/x_sig.c @@ -94,7 +94,7 @@ X509_SIG *X509_SIG_new(void) M_ASN1_New_Malloc(ret,X509_SIG); M_ASN1_New(ret->algor,X509_ALGOR_new); - M_ASN1_New(ret->digest,ASN1_OCTET_STRING_new); + M_ASN1_New(ret->digest,M_ASN1_OCTET_STRING_new); return(ret); M_ASN1_New_Error(ASN1_F_X509_SIG_NEW); } @@ -103,7 +103,7 @@ void X509_SIG_free(X509_SIG *a) { if (a == NULL) return; X509_ALGOR_free(a->algor); - ASN1_OCTET_STRING_free(a->digest); + M_ASN1_OCTET_STRING_free(a->digest); Free((char *)a); } -- cgit v1.1