mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_ssl: follow up to r1720129.
Free ecparams read from certificate file(s) on startup. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1723295 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1067,7 +1067,7 @@ static apr_status_t ssl_init_server_certs(server_rec *s,
|
||||
X509 *cert;
|
||||
DH *dhparams;
|
||||
#ifdef HAVE_ECC
|
||||
EC_GROUP *ecparams;
|
||||
EC_GROUP *ecparams = NULL;
|
||||
int nid;
|
||||
EC_KEY *eckey = NULL;
|
||||
#endif
|
||||
@@ -1244,6 +1244,7 @@ static apr_status_t ssl_init_server_certs(server_rec *s,
|
||||
#endif
|
||||
}
|
||||
EC_KEY_free(eckey);
|
||||
EC_GROUP_free(ecparams);
|
||||
#endif
|
||||
|
||||
return APR_SUCCESS;
|
||||
|
Reference in New Issue
Block a user