diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-06-21 19:34:33 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-06-22 13:52:24 +0100 |
commit | c34b0f9930563f905412a00b6d8a7280c83eb811 (patch) | |
tree | d858625cb284b0e08f257cd5540cdebd5eb3d810 /ssl/ssl_locl.h | |
parent | 8df53b7a7cf00908747e5730b19fe8fed8937b38 (diff) |
Move peer chain to SSL_SESSION structure.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 97c0732ca3..f6668afb33 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -629,6 +629,8 @@ struct ssl_session_st { /* This is the cert and type for the other end. */ X509 *peer; int peer_type; + /* Certificate chain of peer */ + STACK_OF(X509) *peer_chain; /* * when app_verify_callback accepts a session where the peer's * certificate is not ok, we must remember the error for session reuse: @@ -1587,7 +1589,6 @@ typedef struct cert_st { } CERT; typedef struct sess_cert_st { - STACK_OF(X509) *cert_chain; /* as received from peer */ int references; /* actually always 1 at the moment */ } SESS_CERT; /* Structure containing decoded values of signature algorithms extension */ |