diff --git a/ssl/handshake.cc b/ssl/handshake.cc index cef8a15c..6746582c 100644 --- a/ssl/handshake.cc +++ b/ssl/handshake.cc @@ -144,12 +144,6 @@ SSL_HANDSHAKE::SSL_HANDSHAKE(SSL *ssl_arg) } SSL_HANDSHAKE::~SSL_HANDSHAKE() { - OPENSSL_cleanse(secret, sizeof(secret)); - OPENSSL_cleanse(early_traffic_secret, sizeof(early_traffic_secret)); - OPENSSL_cleanse(client_handshake_secret, sizeof(client_handshake_secret)); - OPENSSL_cleanse(server_handshake_secret, sizeof(server_handshake_secret)); - OPENSSL_cleanse(client_traffic_secret_0, sizeof(client_traffic_secret_0)); - OPENSSL_cleanse(server_traffic_secret_0, sizeof(server_traffic_secret_0)); OPENSSL_free(cookie); OPENSSL_free(key_share_bytes); OPENSSL_free(ecdh_public_key);