summaryrefslogtreecommitdiffstats
path: root/lib/libssl/t1_enc.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2016-11-06 17:21:04 +0000
committerjsing <jsing@openbsd.org>2016-11-06 17:21:04 +0000
commit492da2984dafcacb1b4bad751f460e0c30b38517 (patch)
tree068fa25ee77e6501c18d3b908fb1ebe235666f2a /lib/libssl/t1_enc.c
parentdon't dereference a if NULL (diff)
downloadwireguard-openbsd-492da2984dafcacb1b4bad751f460e0c30b38517.tar.xz
wireguard-openbsd-492da2984dafcacb1b4bad751f460e0c30b38517.zip
Remove unused SSLv3 from ssl3_cbc_record_digest_supported().
From Markus Uhlin <markus.uhlin at bredband dot net> ok beck@ bcooK@
Diffstat (limited to 'lib/libssl/t1_enc.c')
-rw-r--r--lib/libssl/t1_enc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libssl/t1_enc.c b/lib/libssl/t1_enc.c
index 6305a6ffb9c..04219eb1b70 100644
--- a/lib/libssl/t1_enc.c
+++ b/lib/libssl/t1_enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: t1_enc.c,v 1.86 2016/11/03 08:15:22 jsing Exp $ */
+/* $OpenBSD: t1_enc.c,v 1.87 2016/11/06 17:21:04 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1242,8 +1242,7 @@ tls1_mac(SSL *ssl, unsigned char *md, int send)
md, &md_size, header, rec->input,
rec->length + md_size, orig_len,
ssl->s3->read_mac_secret,
- ssl->s3->read_mac_secret_size,
- 0 /* not SSLv3 */))
+ ssl->s3->read_mac_secret_size))
return -1;
} else {
EVP_DigestSignUpdate(mac_ctx, header, sizeof(header));