diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-12-28 01:04:33 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-01-07 19:00:51 +0100 |
commit | 858857157290dd35145b14044ae96be9cd8eb0df (patch) | |
tree | 1f5775a622b6d68a9e930c4038b5366c26388484 /crypto/evp | |
parent | remove unused PREDECLARE (diff) | |
download | openssl-858857157290dd35145b14044ae96be9cd8eb0df.tar.xz openssl-858857157290dd35145b14044ae96be9cd8eb0df.zip |
Rename DECLARE*STACK_OF to DEFINE*STACK_OF
Applications wishing to include their own stacks now just need to include
DEFINE_STACK_OF(foo)
in a header file.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/evp_pbe.c | 2 | ||||
-rw-r--r-- | crypto/evp/pmeth_lib.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/evp_pbe.c b/crypto/evp/evp_pbe.c index dc908f804e..731ae91a7a 100644 --- a/crypto/evp/evp_pbe.c +++ b/crypto/evp/evp_pbe.c @@ -76,7 +76,7 @@ typedef struct { EVP_PBE_KEYGEN *keygen; } EVP_PBE_CTL; -DECLARE_STACK_OF(EVP_PBE_CTL) +DEFINE_STACK_OF(EVP_PBE_CTL) static STACK_OF(EVP_PBE_CTL) *pbe_algs; static const EVP_PBE_CTL builtin_pbe[] = { diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index e880cfa37d..aaba42aa1f 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -69,7 +69,7 @@ typedef int sk_cmp_fn_type(const char *const *a, const char *const *b); -DECLARE_CONST_STACK_OF(EVP_PKEY_METHOD) +DEFINE_CONST_STACK_OF(EVP_PKEY_METHOD) static STACK_OF(EVP_PKEY_METHOD) *app_pkey_methods = NULL; static const EVP_PKEY_METHOD *standard_methods[] = { |