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_algor.c
diff --git
a/crypto/asn1/x_algor.c
b/crypto/asn1/x_algor.c
index 8183b9f9e2f23362ce86e3ebf4d19e5bb3e667bf..853a8dfeef49b9cdb9d63d74de7715f00a60847f 100644
(file)
--- a/
crypto/asn1/x_algor.c
+++ b/
crypto/asn1/x_algor.c
@@
-59,6
+59,7
@@
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/asn1_mac.h>
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/asn1_mac.h>
+#include <openssl/x509.h>
int i2d_X509_ALGOR(X509_ALGOR *a, unsigned char **pp)
{
int i2d_X509_ALGOR(X509_ALGOR *a, unsigned char **pp)
{
@@
-110,7
+111,7
@@
void X509_ALGOR_free(X509_ALGOR *a)
if (a == NULL) return;
ASN1_OBJECT_free(a->algorithm);
ASN1_TYPE_free(a->parameter);
if (a == NULL) return;
ASN1_OBJECT_free(a->algorithm);
ASN1_TYPE_free(a->parameter);
-
Free((char *)
a);
+
OPENSSL_free(
a);
}
IMPLEMENT_STACK_OF(X509_ALGOR)
}
IMPLEMENT_STACK_OF(X509_ALGOR)