diff options
author | jsing <> | 2017-01-23 01:22:08 +0000 |
---|---|---|
committer | jsing <> | 2017-01-23 01:22:08 +0000 |
commit | fdee32bae021d93d570e88a1dbbea0b3bad2c1e0 (patch) | |
tree | 0516913107a84da915d173ba7ce7df2e5e964a93 /src/lib/libssl/ssl_lib.c | |
parent | a52552c2ca63345dc67023aa087ad6048779e0d3 (diff) | |
download | openbsd-fdee32bae021d93d570e88a1dbbea0b3bad2c1e0.tar.gz openbsd-fdee32bae021d93d570e88a1dbbea0b3bad2c1e0.tar.bz2 openbsd-fdee32bae021d93d570e88a1dbbea0b3bad2c1e0.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.c | 6 |
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 |