summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2017-01-26 00:29:04 +0000
committerjsing <>2017-01-26 00:29:04 +0000
commitd3fd96f3fbff7bd85db9b591fd51b5a19fda0113 (patch)
treeb84b7edd436c73ba3351763915f2dd6d839c30a7 /src
parent35fdef4d614c3469f40e63e53b292de178a9e20c (diff)
downloadopenbsd-d3fd96f3fbff7bd85db9b591fd51b5a19fda0113.tar.gz
openbsd-d3fd96f3fbff7bd85db9b591fd51b5a19fda0113.tar.bz2
openbsd-d3fd96f3fbff7bd85db9b591fd51b5a19fda0113.zip
Remove a sess_cert reference from a comment in the public header.
Noted by zhuk@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/ssl.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 8824d2e0f6..05669aea8e 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.123 2017/01/25 03:20:27 jsing Exp $ */ 1/* $OpenBSD: ssl.h,v 1.124 2017/01/26 00:29:04 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -449,10 +449,7 @@ struct ssl_session_st {
449 unsigned int sid_ctx_length; 449 unsigned int sid_ctx_length;
450 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; 450 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH];
451 451
452 /* This is the cert for the other end. 452 /* This is the cert for the other end. */
453 * On clients, it will be the same as sess_cert->peer_key->x509
454 * (the latter is not enough as sess_cert is not retained
455 * in the external representation of sessions, see ssl_asn1.c). */
456 X509 *peer; 453 X509 *peer;
457 454
458 /* when app_verify_callback accepts a session where the peer's certificate 455 /* when app_verify_callback accepts a session where the peer's certificate