diff options
author | David Benjamin <davidben@chromium.org> | 2014-11-13 22:51:02 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-11-19 01:18:54 +0300 |
commit | 248f350ed8633ebd1632942c51d51fa74529b4aa (patch) | |
tree | b952f18e564019da48e10017fdb1c485ed26ebe1 /ssl/t1_lib.c | |
parent | c20febe17747674ede52072e85fb944cd55637a6 (diff) |
Remove SSL_get_peer_signature_nid and don't compute digests for peer_key.
This is new in OpenSSL 1.0.2 so it isn't used anywhere. Cuts down slightly on
connection-global state associated with signature algorithm processing.
Repurposing the digest field to mean both "the digest we choose to sign with
this key" and "the digest the last signature we saw happened to use" is
confusing.
Change-Id: Iec4d5078c33e271c8c7b0ab221c356ee8480b89d
Reviewed-on: https://boringssl-review.googlesource.com/2281
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r-- | ssl/t1_lib.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 0972515f..e0bc3e13 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -822,11 +822,6 @@ int tls12_check_peer_sigalg(const EVP_MD **out_md, int *out_alert, *out_alert = SSL_AD_ILLEGAL_PARAMETER; return 0; } - /* Store the digest used so applications can retrieve it if they - * wish. - */ - if (s->session && s->session->sess_cert) - s->session->sess_cert->peer_key->digest = *out_md; return 1; } /* Get a mask of disabled algorithms: an algorithm is disabled |