summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-01-26 00:29:04 +0000
committerjsing <jsing@openbsd.org>2017-01-26 00:29:04 +0000
commit6f70bb8cf9dbb7536d2e29ce999222eeded55635 (patch)
treed6df225aea041d542792fdd72a6d508d411716cf /lib/libssl/ssl.h
parentDo not hold the netlock while pool_get() may sleep. It is not (diff)
downloadwireguard-openbsd-6f70bb8cf9dbb7536d2e29ce999222eeded55635.tar.xz
wireguard-openbsd-6f70bb8cf9dbb7536d2e29ce999222eeded55635.zip
Remove a sess_cert reference from a comment in the public header.
Noted by zhuk@
Diffstat (limited to '')
-rw-r--r--lib/libssl/ssl.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index 8824d2e0f61..05669aea8ec 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.123 2017/01/25 03:20:27 jsing Exp $ */
+/* $OpenBSD: ssl.h,v 1.124 2017/01/26 00:29:04 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -449,10 +449,7 @@ struct ssl_session_st {
unsigned int sid_ctx_length;
unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH];
- /* This is the cert for the other end.
- * On clients, it will be the same as sess_cert->peer_key->x509
- * (the latter is not enough as sess_cert is not retained
- * in the external representation of sessions, see ssl_asn1.c). */
+ /* This is the cert for the other end. */
X509 *peer;
/* when app_verify_callback accepts a session where the peer's certificate