mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Revert it part r1783317, 'avoid _free()ing NULL references.'
OpenSSL team is committed to preserving safe _free(NULL) behaviors, and the overhead of these calls in the context setup path is inconsequential. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1783434 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1334,10 +1334,8 @@ static apr_status_t ssl_init_server_certs(server_rec *s,
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
if (eckey)
|
||||
EC_KEY_free(eckey);
|
||||
if (ecparams)
|
||||
EC_GROUP_free(ecparams);
|
||||
EC_KEY_free(eckey);
|
||||
EC_GROUP_free(ecparams);
|
||||
#endif
|
||||
|
||||
return APR_SUCCESS;
|
||||
|
Reference in New Issue
Block a user