summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2021-03-24 18:43:59 +0000
committerjsing <jsing@openbsd.org>2021-03-24 18:43:59 +0000
commit661440b7167304f3cb76c0becafae8455175d275 (patch)
tree521853b33a4c8965fbe98a9c54b8872137ca7e8d /lib/libssl/ssl_locl.h
parentAdd SSL_HANDSHAKE_TLS12 for TLSv1.2 specific handshake data. (diff)
downloadwireguard-openbsd-661440b7167304f3cb76c0becafae8455175d275.tar.xz
wireguard-openbsd-661440b7167304f3cb76c0becafae8455175d275.zip
Rename new_cipher to cipher.
This is in the SSL_HANDSHAKE struct and is what we're currently negotiating, so there is really nothing more "new" about the cipher than there is the key block or other parts of the handshake data. ok inoguchi@ tb@
Diffstat (limited to 'lib/libssl/ssl_locl.h')
-rw-r--r--lib/libssl/ssl_locl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h
index 5f953b8e64e..c8c7ca54720 100644
--- a/lib/libssl/ssl_locl.h
+++ b/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_locl.h,v 1.329 2021/03/24 18:40:03 jsing Exp $ */
+/* $OpenBSD: ssl_locl.h,v 1.330 2021/03/24 18:44:00 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -483,7 +483,7 @@ typedef struct ssl_handshake_st {
int state;
/* Cipher being negotiated in this handshake. */
- const SSL_CIPHER *new_cipher;
+ const SSL_CIPHER *cipher;
/* Extensions seen in this handshake. */
uint32_t extensions_seen;