aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/x_sig.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-10-20 01:50:23 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-10-20 01:50:23 +0000
commit08e9c1af6c26f74ef7f7524be4b89241ff232a8c (patch)
tree7fe3f66fdfb1f20a5bfcbbf98369032374f3a79b /crypto/asn1/x_sig.c
parent023c8d0b0aec445b680ef5aea2bd2154adb59974 (diff)
downloadopenssl-08e9c1af6c26f74ef7f7524be4b89241ff232a8c.zip
openssl-08e9c1af6c26f74ef7f7524be4b89241ff232a8c.tar.gz
openssl-08e9c1af6c26f74ef7f7524be4b89241ff232a8c.tar.bz2
Replace the macros in asn1.h with function equivalents. Also make UTF8Strings
tolerated in certificates.
Diffstat (limited to 'crypto/asn1/x_sig.c')
-rw-r--r--crypto/asn1/x_sig.c4
1 files changed, 2 insertions, 2 deletions
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);
}