summaryrefslogtreecommitdiff
path: root/crypto/x509
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/x509
parent0f3e6045898e9aa5d0249e61c874b1f153ae54fa (diff)
downloadopenssl-new-20b85fdd7644aa940e50a158a1b2c8010bb36443.tar.gz
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/x509')
-rw-r--r--crypto/x509/x509.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index 43ce3cfd42..fb9be71079 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -292,6 +292,8 @@ typedef struct X509_info_st
int references;
} X509_INFO;
+
+DECLARE_STACK_OF(X509_INFO)
#endif
/* The next 2 structures and their 8 routines were sent to me by