summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <>2017-01-23 01:22:08 +0000
committerjsing <>2017-01-23 01:22:08 +0000
commit8c3e82ca039c1de2d07ceb9033058fc6bb5791a2 (patch)
tree0516913107a84da915d173ba7ce7df2e5e964a93 /src/lib/libssl/ssl_lib.c
parentd7518764eb9d1799e2ed6df6586b98e012bf423d (diff)
downloadopenbsd-8c3e82ca039c1de2d07ceb9033058fc6bb5791a2.tar.gz
openbsd-8c3e82ca039c1de2d07ceb9033058fc6bb5791a2.tar.bz2
openbsd-8c3e82ca039c1de2d07ceb9033058fc6bb5791a2.zip
Move not_resumable and sess_cert from SSL_SESSION to internal.
ok beck@
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
-rw-r--r--src/lib/libssl/ssl_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index f4bb212865..1e529e85de 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.130 2017/01/23 00:12:54 jsing Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.131 2017/01/23 01:22:08 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 *
@@ -826,10 +826,10 @@ SSL_get_peer_cert_chain(const SSL *s)
826 STACK_OF(X509) *r; 826 STACK_OF(X509) *r;
827 827
828 if ((s == NULL) || (s->session == NULL) || 828 if ((s == NULL) || (s->session == NULL) ||
829 (s->session->sess_cert == NULL)) 829 (SSI(s)->sess_cert == NULL))
830 r = NULL; 830 r = NULL;
831 else 831 else
832 r = s->session->sess_cert->cert_chain; 832 r = SSI(s)->sess_cert->cert_chain;
833 833
834 /* 834 /*
835 * If we are a client, cert_chain includes the peer's own 835 * If we are a client, cert_chain includes the peer's own