diff options
author | Matt Caswell <matt@openssl.org> | 2017-05-08 09:32:58 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-05-08 11:42:37 +0100 |
commit | eee2750bd3d25265bb44d029877434d2cc80970c (patch) | |
tree | f7b9c3a19833bcbe3dcb45a04165856f63e559ee /ssl/tls13_enc.c | |
parent | 12635aa09d8dbf73fc29cd8e7bfe698d9c255ca3 (diff) |
Remove support for OPENSSL_SSL_TRACE_CRYPTO
This trace option does not appear in Configure as a separate option and is
undocumented. It can be switched on using "-DOPENSSL_SSL_TRACE_CRYPTO",
however this does not compile in master or in any 1.1.0 released version.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3408)
Diffstat (limited to 'ssl/tls13_enc.c')
-rw-r--r-- | ssl/tls13_enc.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ssl/tls13_enc.c b/ssl/tls13_enc.c index 255bc96ac1..2763475382 100644 --- a/ssl/tls13_enc.c +++ b/ssl/tls13_enc.c @@ -321,20 +321,6 @@ static int derive_secret_key_and_iv(SSL *s, int sending, const EVP_MD *md, goto err; } -#ifdef OPENSSL_SSL_TRACE_CRYPTO - if (s->msg_callback) { - int wh = sending ? TLS1_RT_CRYPTO_WRITE : 0; - - if (ciph->key_len) - s->msg_callback(2, s->version, wh | TLS1_RT_CRYPTO_KEY, - key, ciph->key_len, s, s->msg_callback_arg); - - wh |= TLS1_RT_CRYPTO_IV; - s->msg_callback(2, s->version, wh, iv, ivlen, s, - s->msg_callback_arg); - } -#endif - return 1; err: OPENSSL_cleanse(key, sizeof(key)); |