diff options
author | 2017-01-23 01:22:08 +0000 | |
---|---|---|
committer | 2017-01-23 01:22:08 +0000 | |
commit | bdad0337c552b081694354b9dfc5ec2b8d2e04ab (patch) | |
tree | dca29df87faaccdb1559b2c119581b7e0e38b014 /lib/libssl/s3_lib.c | |
parent | massage some event related details. (diff) | |
download | wireguard-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/s3_lib.c')
-rw-r--r-- | lib/libssl/s3_lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c index 990ce2153dc..ae2586912c2 100644 --- a/lib/libssl/s3_lib.c +++ b/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; |