summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/x_info.c
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@openssl.org>1999-05-04 08:56:51 +0000
committerRalf S. Engelschall <rse@openssl.org>1999-05-04 08:56:51 +0000
commit20b85fdd7644aa940e50a158a1b2c8010bb36443 (patch)
tree7ac94407e4e58de9fadc718886fbc62ca0972800 /crypto/asn1/x_info.c
parent0f3e6045898e9aa5d0249e61c874b1f153ae54fa (diff)
Convert casted X509_INFO stacks to type-safe STACK_OF(X509_INFO).
PS: Feel free to move the IMPLEMENT_STACK_OF(X509_INFO) from crypto/asn1/x_info.c to any other place where you think it fits better. X509_INFO is a structure slightly spreaded over ASN.1, X509 and PEM code, so I found no definitive location for IMPLEMENT_STACK_OF(X509_INFO). In crypto/asn1/x_info.c it's at least now bundled with X509_INFO_new() and friends.
Diffstat (limited to 'crypto/asn1/x_info.c')
-rw-r--r--crypto/asn1/x_info.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/asn1/x_info.c b/crypto/asn1/x_info.c
index 0ee9eb7955..99ce011f07 100644
--- a/crypto/asn1/x_info.c
+++ b/crypto/asn1/x_info.c
@@ -108,3 +108,6 @@ void X509_INFO_free(X509_INFO *x)
if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey);
Free((char *)x);
}
+
+IMPLEMENT_STACK_OF(X509_INFO)
+