projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the algorithm implementations depend on the corresponding
[oweals/openssl.git]
/
crypto
/
asn1
/
x_sig.c
diff --git
a/crypto/asn1/x_sig.c
b/crypto/asn1/x_sig.c
index c2782d1b9c087bc8fdfa049384ba687fe7260907..d79f147647cc6bdaedaa9857cc7dfceb2f1c71d3 100644
(file)
--- 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_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);
}
return(ret);
M_ASN1_New_Error(ASN1_F_X509_SIG_NEW);
}
@@
-103,8
+103,8
@@
void X509_SIG_free(X509_SIG *a)
{
if (a == NULL) return;
X509_ALGOR_free(a->algor);
{
if (a == NULL) return;
X509_ALGOR_free(a->algor);
- ASN1_OCTET_STRING_free(a->digest);
-
Free((char *)
a);
+
M_
ASN1_OCTET_STRING_free(a->digest);
+
OPENSSL_free(
a);
}
}