summaryrefslogtreecommitdiffstats
path: root/ssl/statem
diff options
context:
space:
mode:
authorBenjamin Kaduk <bkaduk@akamai.com>2021-01-27 12:19:08 -0800
committerBenjamin Kaduk <bkaduk@akamai.com>2021-02-09 20:26:16 -0800
commit3bc0b621a7baf1a11bc5cad69a287ad093674d68 (patch)
tree0e75fcd446f7475dd9876fb56a73e2af5779cb06 /ssl/statem
parentaf53092c2b67a8a0b76ae73385414cb1815ea7cc (diff)
Remove unused 'peer_type' from SSL_SESSION
This field has not been used since #3858 was merged in 2017 when we moved to a table-based lookup for certificate type properties instead of an index-based one. Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/13991)
Diffstat (limited to 'ssl/statem')
-rw-r--r--ssl/statem/statem_clnt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c
index 1e9ab00976..83862e076d 100644
--- a/ssl/statem/statem_clnt.c
+++ b/ssl/statem/statem_clnt.c
@@ -1916,7 +1916,6 @@ WORK_STATE tls_post_process_server_certificate(SSL *s, WORK_STATE wst)
return WORK_ERROR;
}
}
- s->session->peer_type = certidx;
X509_free(s->session->peer);
X509_up_ref(x);