diff options
author | Richard Levitte <levitte@openssl.org> | 2020-11-20 23:07:56 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-01-12 19:02:11 +0100 |
commit | 5a2d0ef36f4c130758a9d5e84f93004458e3ce60 (patch) | |
tree | b7030edbc51adfd768bcada35e6023fb347d268d /ssl/t1_enc.c | |
parent | Use centralized fetching errors (diff) | |
download | openssl-5a2d0ef36f4c130758a9d5e84f93004458e3ce60.tar.xz openssl-5a2d0ef36f4c130758a9d5e84f93004458e3ce60.zip |
Clean away extraneous library specific FETCH_FAILED reason codes
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13467)
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r-- | ssl/t1_enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 8a403a1e14..b02961e0eb 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -539,7 +539,8 @@ int tls1_setup_key_block(SSL *s) if (!ssl_cipher_get_evp(s->ctx, s->session, &c, &hash, &mac_type, &mac_secret_size, &comp, s->ext.use_etm)) { - SSLfatal(s, SSL_AD_INTERNAL_ERROR, SSL_R_CIPHER_OR_HASH_UNAVAILABLE); + /* Error is already recorded */ + SSLfatal_alert(s, SSL_AD_INTERNAL_ERROR); return 0; } |