summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2022-01-11 18:39:28 +0000
committerjsing <>2022-01-11 18:39:28 +0000
commit3c4c9d25a49a9af8367d4e68d7f0a97edc8b03b8 (patch)
treecb972e9546005dce58d8452883b2902095510a57 /src/lib/libssl/ssl_locl.h
parentd4ce9c2bac946bbdc71968607877005d28948186 (diff)
downloadopenbsd-3c4c9d25a49a9af8367d4e68d7f0a97edc8b03b8.tar.gz
openbsd-3c4c9d25a49a9af8367d4e68d7f0a97edc8b03b8.tar.bz2
openbsd-3c4c9d25a49a9af8367d4e68d7f0a97edc8b03b8.zip
Rename 'peer' to 'peer_cert' in SSL_SESSION.
The 'peer' member of SSL_SESSION is the leaf/end-entity certificate provided by our peer. Rename it since 'peer' on its own is unhelpful. ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 0eca4e673d..36823d6462 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.381 2022/01/11 18:28:41 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.382 2022/01/11 18:39:28 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 *
@@ -476,7 +476,7 @@ struct ssl_session_st {
476 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH]; 476 unsigned char sid_ctx[SSL_MAX_SID_CTX_LENGTH];
477 477
478 /* This is the cert for the other end. */ 478 /* This is the cert for the other end. */
479 X509 *peer; 479 X509 *peer_cert;
480 480
481 /* when app_verify_callback accepts a session where the peer's certificate 481 /* when app_verify_callback accepts a session where the peer's certificate
482 * is not ok, we must remember the error for session reuse: */ 482 * is not ok, we must remember the error for session reuse: */