[openssl] master update
kaduk at mit.edu
kaduk at mit.edu
Wed Feb 10 06:15:03 UTC 2021
The branch master has been updated
via 3bc0b621a7baf1a11bc5cad69a287ad093674d68 (commit)
from af53092c2b67a8a0b76ae73385414cb1815ea7cc (commit)
- Log -----------------------------------------------------------------
commit 3bc0b621a7baf1a11bc5cad69a287ad093674d68
Author: Benjamin Kaduk <bkaduk at akamai.com>
Date: Wed Jan 27 12:19:08 2021 -0800
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 at roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/13991)
-----------------------------------------------------------------------
Summary of changes:
ssl/ssl_local.h | 1 -
ssl/statem/statem_clnt.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index 5956b6c834..2687a47c2a 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -585,7 +585,6 @@ struct ssl_session_st {
int not_resumable;
/* This is the cert and type for the other end. */
X509 *peer;
- int peer_type;
/* Certificate chain peer sent. */
STACK_OF(X509) *peer_chain;
/*
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);
More information about the openssl-commits
mailing list