summaryrefslogtreecommitdiffstats
path: root/test/dtlstest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-07-19 11:34:21 +0100
committerMatt Caswell <matt@openssl.org>2016-08-19 13:52:40 +0100
commit52a03d2a5e28a379d94d38c629d05b2a3ab0ff19 (patch)
tree2b08016cb97b81bd94f68a78d615dc0eb2b5e962 /test/dtlstest.c
parent1fb9fdc3027b27d8eb6a1e6a846435b070980770 (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/dtlstest.c')
-rw-r--r--test/dtlstest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtlstest.c b/test/dtlstest.c
index 06db5d28bd..4d497af1af 100644
--- a/test/dtlstest.c
+++ b/test/dtlstest.c
@@ -23,7 +23,7 @@ static char *privkey = NULL;
#define DUMMY_CERT_STATUS_LEN 12
-unsigned char certstatus[] = {
+static unsigned char certstatus[] = {
SSL3_RT_HANDSHAKE, /* Content type */
0xfe, 0xfd, /* Record version */
0, 1, /* Epoch */