summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2021-02-07 15:26:32 +0000
committerjsing <jsing@openbsd.org>2021-02-07 15:26:32 +0000
commit605ba3c6f07d2e102b534645d46bcc9a8e041b52 (patch)
treeabcfc59b82e830f090fa28e5c564d77368809afb /lib/libssl/ssl_locl.h
parentCorrect handshake MAC/PRF for various TLSv1.2 cipher suites. (diff)
downloadwireguard-openbsd-605ba3c6f07d2e102b534645d46bcc9a8e041b52.tar.xz
wireguard-openbsd-605ba3c6f07d2e102b534645d46bcc9a8e041b52.zip
Absorb ssl3_get_algorithm2() into ssl_get_handshake_evp_md().
The mess that is ssl_get_algorithm2() only exists to upgrade the handshake MAC of a pre-TLSv1.2 cipher suite to SHA256 when used with TLSv1.2. We can readily do this in ssl_get_handshake_evp_md(), which is far more readable. ok tb@
Diffstat (limited to 'lib/libssl/ssl_locl.h')
-rw-r--r--lib/libssl/ssl_locl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h
index b56a99bb798..edb8223fe27 100644
--- a/lib/libssl/ssl_locl.h
+++ b/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_locl.h,v 1.319 2021/02/07 15:04:10 jsing Exp $ */
+/* $OpenBSD: ssl_locl.h,v 1.320 2021/02/07 15:26:32 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1383,8 +1383,6 @@ int ssl_check_serverhello_tlsext(SSL *s);
int tls1_process_ticket(SSL *s, CBS *ext_block, int *alert, SSL_SESSION **ret);
-long ssl_get_algorithm2(SSL *s);
-
int tls1_check_ec_server_key(SSL *s);
/* s3_cbc.c */