diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-01-06 02:54:18 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-01-07 18:00:51 +0000 |
commit | 4a1f3f274108e25b97bd9870170fe2970892e155 (patch) | |
tree | 45e10bfbd19cec70d44d079d677b9852f12a501e /include | |
parent | 858857157290dd35145b14044ae96be9cd8eb0df (diff) |
Only declare stacks in headers
Don't define stacks in C source files: it causes warnings
about unused functions in some compilers.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/dane.h | 2 | ||||
-rw-r--r-- | include/openssl/ssl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/internal/dane.h b/include/internal/dane.h index cbe33f3e48..0d35cc2405 100644 --- a/include/internal/dane.h +++ b/include/internal/dane.h @@ -97,6 +97,8 @@ typedef struct danetls_record_st { EVP_PKEY *spki; } danetls_record; +DEFINE_STACK_OF(danetls_record) + /* * Shared DANE context */ diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 62325c5b35..fdee4833b8 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -327,8 +327,6 @@ typedef struct ssl_conf_ctx_st SSL_CONF_CTX; DEFINE_CONST_STACK_OF(SSL_CIPHER) -DECLARE_STACK_OF(danetls_record) - /* SRTP protection profiles for use with the use_srtp extension (RFC 5764)*/ typedef struct srtp_protection_profile_st { const char *name; |