summaryrefslogtreecommitdiffstats
path: root/test/ssltestlib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-07-19 12:34:21 +0200
committerMatt Caswell <matt@openssl.org>2016-08-19 14:52:40 +0200
commit52a03d2a5e28a379d94d38c629d05b2a3ab0ff19 (patch)
tree2b08016cb97b81bd94f68a78d615dc0eb2b5e962 /test/ssltestlib.c
parentFix DTLS replay protection (diff)
downloadopenssl-52a03d2a5e28a379d94d38c629d05b2a3ab0ff19.tar.xz
openssl-52a03d2a5e28a379d94d38c629d05b2a3ab0ff19.zip
Fix some clang warnings
Clang was complaining about some unused functions. Moving the stack declaration to the header seems to sort it. Also the certstatus variable in dtlstest needed to be declared static. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test/ssltestlib.c')
-rw-r--r--test/ssltestlib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ssltestlib.c b/test/ssltestlib.c
index a6ca5ffa90..ff5cbedd6d 100644
--- a/test/ssltestlib.c
+++ b/test/ssltestlib.c
@@ -238,8 +238,6 @@ typedef struct mempacket_st {
unsigned int type;
} MEMPACKET;
-DEFINE_STACK_OF(MEMPACKET)
-
static void mempacket_free(MEMPACKET *pkt)
{
if (pkt->data != NULL)