memset() might be optimized away by the compiler since buf[] (on the stack)
is not used anymore.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1876950 13f79535-47bb-0310-9956-
ffa450edef68
res = SSL_CTX_set_tlsext_ticket_key_evp_cb(mctx->ssl_ctx,
ssl_callback_SessionTicket);
#endif
- memset(buf, 0, sizeof(buf));
+ OPENSSL_cleanse(buf, sizeof(buf));
if (!res) {
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(01913)
"Unable to initialize TLS session ticket key callback "