summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/ssl
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2014-07-10 21:36:49 +0000
committerbcook <bcook@openbsd.org>2014-07-10 21:36:49 +0000
commitbb4c91721c1f21cb7180e6886ab04cc8e184b48f (patch)
treee5bca343e33d35afa70f8203652c98d73e6fbb30 /lib/libssl/src/ssl
parentas noted by google/android via kettenis, atexit handlers can install new (diff)
downloadwireguard-openbsd-bb4c91721c1f21cb7180e6886ab04cc8e184b48f.tar.xz
wireguard-openbsd-bb4c91721c1f21cb7180e6886ab04cc8e184b48f.zip
remove unused variable from ssl3_get_client_hello
ok tedu@ miod@
Diffstat (limited to 'lib/libssl/src/ssl')
-rw-r--r--lib/libssl/src/ssl/s3_srvr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libssl/src/ssl/s3_srvr.c b/lib/libssl/src/ssl/s3_srvr.c
index 200b3b6bf2e..8fb041c4f5b 100644
--- a/lib/libssl/src/ssl/s3_srvr.c
+++ b/lib/libssl/src/ssl/s3_srvr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_srvr.c,v 1.70 2014/07/10 08:51:14 tedu Exp $ */
+/* $OpenBSD: s3_srvr.c,v 1.71 2014/07/10 21:36:49 bcook Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -882,7 +882,7 @@ ssl3_get_client_hello(SSL *s)
unsigned int cookie_len;
long n;
unsigned long id;
- unsigned char *p, *d, *q;
+ unsigned char *p, *d;
SSL_CIPHER *c;
STACK_OF(SSL_CIPHER) *ciphers = NULL;
@@ -1089,7 +1089,6 @@ ssl3_get_client_hello(SSL *s)
SSL_R_LENGTH_MISMATCH);
goto f_err;
}
- q = p;
for (j = 0; j < i; j++) {
if (p[j] == 0)
break;