This is most likely a follow-up to r1628833.
At some point during the OpenSSL 1.0.2 beta, the contract for custom
extension callbacks changed from "returning -1 skips the extension" to
"returning -1 will issue a TLS fatal alert". This caused mod_ssl_ct to
abort TLS connections that it intended to ignore. Zero is the correct
return value for "do nothing" in 1.0.2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1791845 13f79535-47bb-0310-9956-
ffa450edef68
ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, c, APLOGNO(03032)
"server_extension_callback_2: client isn't CT-aware");
/* Skip this extension for ServerHello */
- return -1;
+ return 0;
}
/* need to reply with SCT */
}
else {
/* Skip this extension for ServerHello */
- return -1;
+ return 0;
}
return 1;