Browse Source

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

Change-Id: I9f314c5af3ce58020bdc092a52f03f76e22a9896
pull/1487/head
Richard Fuchs 4 years ago
parent
commit
b171029ccf
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      daemon/dtls.c

+ 1
- 0
daemon/dtls.c View File

@ -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