summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2017-07-15 17:40:53 +0000
committerjsing <>2017-07-15 17:40:53 +0000
commitf84538aabc27ce8107bc03c15fb52a34444b0413 (patch)
tree62b40d3c70626fcbb99e22dc47706f8468b368dc
parent9eaa4cb6e81813fe936e19a8268bea5bbff1076f (diff)
downloadopenbsd-f84538aabc27ce8107bc03c15fb52a34444b0413.tar.gz
openbsd-f84538aabc27ce8107bc03c15fb52a34444b0413.tar.bz2
openbsd-f84538aabc27ce8107bc03c15fb52a34444b0413.zip
Remove unused variable.
Reported by <dravion at ht-foss dot net>
-rw-r--r--src/lib/libssl/s3_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index 98d7c69721..6486b468c9 100644
--- a/src/lib/libssl/s3_lib.c
+++ b/src/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_lib.c,v 1.144 2017/05/07 21:05:05 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.145 2017/07/15 17:40:53 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1513,10 +1513,10 @@ ssl3_handshake_msg_start(SSL *s, uint8_t msg_type)
1513void 1513void
1514ssl3_handshake_msg_finish(SSL *s, unsigned int len) 1514ssl3_handshake_msg_finish(SSL *s, unsigned int len)
1515{ 1515{
1516 unsigned char *d, *p; 1516 unsigned char *p;
1517 uint8_t msg_type; 1517 uint8_t msg_type;
1518 1518
1519 d = p = (unsigned char *)s->internal->init_buf->data; 1519 p = (unsigned char *)s->internal->init_buf->data;
1520 1520
1521 /* Handshake message length. */ 1521 /* Handshake message length. */
1522 msg_type = *(p++); 1522 msg_type = *(p++);