diff options
author | Matt Caswell <matt@openssl.org> | 2016-07-19 11:34:21 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-08-19 13:52:40 +0100 |
commit | 52a03d2a5e28a379d94d38c629d05b2a3ab0ff19 (patch) | |
tree | 2b08016cb97b81bd94f68a78d615dc0eb2b5e962 /test/ssltestlib.h | |
parent | 1fb9fdc3027b27d8eb6a1e6a846435b070980770 (diff) |
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.h')
-rw-r--r-- | test/ssltestlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ssltestlib.h b/test/ssltestlib.h index 27f7547751..bd9272f1dc 100644 --- a/test/ssltestlib.h +++ b/test/ssltestlib.h @@ -33,4 +33,8 @@ void bio_s_mempacket_test_free(void); int mempacket_test_inject(BIO *bio, const char *in, int inl, int pktnum, int type); +typedef struct mempacket_st MEMPACKET; + +DEFINE_STACK_OF(MEMPACKET) + #endif /* HEADER_SSLTESTLIB_H */ |