mirror of
https://github.com/sonertari/SSLproxy
synced 2024-10-31 21:20:21 +00:00
Fix memory leak in case of cert key mismatch, thanks to @disaykin
This commit is contained in:
parent
d48ba1da9a
commit
94fed777d4
@ -109,6 +109,7 @@ opts_load_cert_chain_key(const char *filename)
|
||||
log_err_level_printf(LOG_CRIT, "Cert does not match key in PEM file "
|
||||
"'%s':\n", filename);
|
||||
ERR_print_errors_fp(stderr);
|
||||
cert_free(cert);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user