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/s3_lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libssl/s3_lib.c') diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c index 990ce2153d..ae2586912c 100644 --- a/src/lib/libssl/s3_lib.c +++ b/src/lib/libssl/s3_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_lib.c,v 1.120 2017/01/22 09:02:07 jsing Exp $ */ +/* $OpenBSD: s3_lib.c,v 1.121 2017/01/23 01:22:08 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1928,10 +1928,10 @@ ssl_ctrl_get_server_tmp_key(SSL *s, EVP_PKEY **pkey_tmp) if (s->server != 0) return 0; - if (s->session == NULL || s->session->sess_cert == NULL) + if (s->session == NULL || SSI(s)->sess_cert == NULL) return 0; - sc = s->session->sess_cert; + sc = SSI(s)->sess_cert; if ((pkey = EVP_PKEY_new()) == NULL) return 0; -- cgit v1.2.3-55-g6feb