diff --git a/doc/Changelog b/doc/Changelog index 0608fb236..e4938533f 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -8,6 +8,7 @@ still supports the set_id_callback previous API. And for 1.1.0 no locking callbacks are needed. - #8: Fix OpenSSL without ENGINE support compilation. + - Wipe TLS session key data from memory on exit. 30 January 2019: Ralph - Fix case in which query timeout can result in marking delegation diff --git a/util/net_help.c b/util/net_help.c index 1f62148dd..2b1be9246 100644 --- a/util/net_help.c +++ b/util/net_help.c @@ -1235,6 +1235,7 @@ listen_sslctx_delete_ticket_keys(void) struct tls_session_ticket_key *key; if(!ticket_keys) return; for(key = ticket_keys; key->key_name != NULL; key++) { + memset(key->key_name, 0xdd, 80); /* wipe key data from memory*/ free(key->key_name); } free(ticket_keys);