diff options
author | David Benjamin <davidben@chromium.org> | 2014-08-20 04:32:41 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-08-20 06:15:32 +0400 |
commit | a7d1363fcb1f0d825ec2393c06be3d58b0c57efd (patch) | |
tree | 29bd6f410a8eb4d966a74aa2c9ce7b23cfc07507 /ssl/ssl_cert.c | |
parent | ef2116d33c3c1b38005eb59caa2aaa6300a9b450 (diff) |
Prune removed key types from SSL_PKEY_*.
Remove all the logic managing key types that aren't being used anymore.
Change-Id: I101369164588048e64ba1c84a6b8aac8f3a221cd
Reviewed-on: https://boringssl-review.googlesource.com/1567
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/ssl_cert.c')
-rw-r--r-- | ssl/ssl_cert.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index 1f0ff55f..3e82fdf9 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c @@ -159,9 +159,6 @@ int SSL_get_ex_data_X509_STORE_CTX_idx(void) void ssl_cert_set_default_md(CERT *cert) { /* Set digest values to defaults */ -#ifndef OPENSSL_NO_DSA - cert->pkeys[SSL_PKEY_DSA_SIGN].digest = EVP_sha1(); -#endif cert->pkeys[SSL_PKEY_RSA_SIGN].digest = EVP_sha1(); cert->pkeys[SSL_PKEY_RSA_ENC].digest = EVP_sha1(); #ifndef OPENSSL_NO_ECDSA @@ -281,15 +278,6 @@ CERT *ssl_cert_dup(CERT *cert) /* We have an RSA key. */ break; - case SSL_PKEY_DSA_SIGN: - /* We have a DSA key. */ - break; - - case SSL_PKEY_DH_RSA: - case SSL_PKEY_DH_DSA: - /* We have a DH key. */ - break; - case SSL_PKEY_ECC: /* We have an ECC key */ break; |