Commit 06137d45 authored by David Woodhouse's avatar David Woodhouse

OpenSSL: Free BIO leak in reload_pem_cert()

Signed-off-by: default avatarDavid Woodhouse <>
parent 0a9919b5
......@@ -588,6 +588,7 @@ static int reload_pem_cert(struct openconnect_info *vpninfo)
return -EIO;
vpninfo->cert_x509 = PEM_read_bio_X509_AUX(b, NULL, NULL, NULL);
if (!vpninfo->cert_x509)
goto err;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment