summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-01-23 01:22:08 +0000
committerjsing <jsing@openbsd.org>2017-01-23 01:22:08 +0000
commitbdad0337c552b081694354b9dfc5ec2b8d2e04ab (patch)
treedca29df87faaccdb1559b2c119581b7e0e38b014 /lib/libssl/ssl_lib.c
parentmassage some event related details. (diff)
downloadwireguard-openbsd-bdad0337c552b081694354b9dfc5ec2b8d2e04ab.tar.xz
wireguard-openbsd-bdad0337c552b081694354b9dfc5ec2b8d2e04ab.zip
Move not_resumable and sess_cert from SSL_SESSION to internal.
ok beck@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r--lib/libssl/ssl_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c
index f4bb2128657..1e529e85de3 100644
--- a/lib/libssl/ssl_lib.c
+++ b/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.130 2017/01/23 00:12:54 jsing Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.131 2017/01/23 01:22:08 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -826,10 +826,10 @@ SSL_get_peer_cert_chain(const SSL *s)
STACK_OF(X509) *r;
if ((s == NULL) || (s->session == NULL) ||
- (s->session->sess_cert == NULL))
+ (SSI(s)->sess_cert == NULL))
r = NULL;
else
- r = s->session->sess_cert->cert_chain;
+ r = SSI(s)->sess_cert->cert_chain;
/*
* If we are a client, cert_chain includes the peer's own