summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-07-15 17:40:54 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-07-15 17:40:54 +0000
commitcf1ab7594e2560c6f26f6441c0f4e132b5f726f6 (patch)
tree9e28e25190538593f6d3dc03748fc88c0c5581ee /lib
parentf63cdf1437f43bf910750eac7ccae698bf7b3591 (diff)
Remove unused variable.
Reported by <dravion at ht-foss dot net>
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/s3_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c
index 98d7c69721d..6486b468c99 100644
--- a/lib/libssl/s3_lib.c
+++ b/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_lib.c,v 1.144 2017/05/07 21:05:05 jsing Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.145 2017/07/15 17:40:53 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1513,10 +1513,10 @@ ssl3_handshake_msg_start(SSL *s, uint8_t msg_type)
void
ssl3_handshake_msg_finish(SSL *s, unsigned int len)
{
- unsigned char *d, *p;
+ unsigned char *p;
uint8_t msg_type;
- d = p = (unsigned char *)s->internal->init_buf->data;
+ p = (unsigned char *)s->internal->init_buf->data;
/* Handshake message length. */
msg_type = *(p++);