TT#172650 don't double free RSA key in case of failure

Change-Id: I9f314c5af3ce58020bdc092a52f03f76e22a9896
pull/1487/head
Richard Fuchs 4 years ago
parent 4ce91f52d0
commit b171029ccf

@ -216,6 +216,7 @@ static int cert_init(void) {
if (!EVP_PKEY_assign_RSA(pkey, rsa))
goto err;
rsa = NULL;
/* x509 cert */

Loading…
Cancel
Save