diff options
author | Ben Laurie <ben@openssl.org> | 1999-05-01 17:40:57 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-05-01 17:40:57 +0000 |
commit | 65d4927b8d645d9bcb5f6085a107d314794e8e34 (patch) | |
tree | 0ed1a2ce94a5f5e21b463f0309cca9c24ecdaf2c /crypto/x509/x509.h | |
parent | 3a1a8467bd7829cef1b269514629912423b1fd8c (diff) |
Another safe stack.
Diffstat (limited to 'crypto/x509/x509.h')
-rw-r--r-- | crypto/x509/x509.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index 7c3ab2fedb..df04cfed01 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -136,10 +136,13 @@ typedef struct X509_name_entry_st int size; /* temp variable */ } X509_NAME_ENTRY; +DECLARE_STACK_OF(X509_NAME_ENTRY) +DECLARE_ASN1_SET_OF(X509_NAME_ENTRY) + /* we always keep X509_NAMEs in 2 forms. */ typedef struct X509_name_st { - STACK *entries; /* of X509_NAME_ENTRY */ + STACK_OF(X509_NAME_ENTRY) *entries; int modified; /* true if 'bytes' needs to be built */ #ifdef HEADER_BUFFER_H BUF_MEM *bytes; |