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;
|
X509 *cert;
|
||||||
DH *dhparams;
|
DH *dhparams;
|
||||||
#ifdef HAVE_ECC
|
#ifdef HAVE_ECC
|
||||||
EC_GROUP *ecparams;
|
EC_GROUP *ecparams = NULL;
|
||||||
int nid;
|
int nid;
|
||||||
EC_KEY *eckey = NULL;
|
EC_KEY *eckey = NULL;
|
||||||
#endif
|
#endif
|
||||||
@@ -1244,6 +1244,7 @@ static apr_status_t ssl_init_server_certs(server_rec *s,
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
EC_KEY_free(eckey);
|
EC_KEY_free(eckey);
|
||||||
|
EC_GROUP_free(ecparams);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return APR_SUCCESS;
|
return APR_SUCCESS;
|
||||||
|
Reference in New Issue
Block a user