summaryrefslogtreecommitdiff
path: root/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2021-10-25 10:01:47 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2021-10-25 10:01:47 +0000
commit9a8888a8f129d292d098e5f3f3a7030ff865dcc1 (patch)
tree958ea4b200297a075f04c022c5f6824246a4bd09 /lib/libssl/s3_lib.c
parentce9c65b9c654a0faeb119fa75291b9fb4a48474f (diff)
Fold SSL_SESSION_INTERNAL back into SSL_SESSION.
ok beck@ tb@
Diffstat (limited to 'lib/libssl/s3_lib.c')
-rw-r--r--lib/libssl/s3_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c
index 8a96a2cdefd..71b86770ca1 100644
--- a/lib/libssl/s3_lib.c
+++ b/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_lib.c,v 1.216 2021/10/24 09:15:00 beck Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.217 2021/10/25 10:01:46 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1668,10 +1668,10 @@ _SSL_get_peer_tmp_key(SSL *s, EVP_PKEY **key)
*key = NULL;
- if (s->session == NULL || SSI(s)->sess_cert == NULL)
+ if (s->session == NULL || s->session->sess_cert == NULL)
return 0;
- sc = SSI(s)->sess_cert;
+ sc = s->session->sess_cert;
if ((pkey = EVP_PKEY_new()) == NULL)
return 0;