From fdee32bae021d93d570e88a1dbbea0b3bad2c1e0 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Mon, 23 Jan 2017 01:22:08 +0000 Subject: Move not_resumable and sess_cert from SSL_SESSION to internal. ok beck@ --- src/lib/libssl/ssl_lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libssl/ssl_lib.c') 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 @@ -/* $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 -- cgit v1.2.3-55-g6feb