diff options
| author | Anton <anton@picapica> | 2019-02-17 20:47:17 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2019-02-17 20:47:17 +0400 |
| commit | 79163a1044d1f65ca0fce561e5dd60b6cf879e53 (patch) | |
| tree | 2624fd4258e3eb03bd28cf42d9cc0e776129a049 | |
| parent | 230671dba44ef2a1c00e2730f1f94597f5244ab1 (diff) | |
| download | pica-pica-79163a1044d1f65ca0fce561e5dd60b6cf879e53.tar.gz pica-pica-79163a1044d1f65ca0fce561e5dd60b6cf879e53.zip | |
free EVP_PKEY
| -rw-r--r-- | PICA_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PICA_client.c b/PICA_client.c index 1b2c94a..fd73071 100644 --- a/PICA_client.c +++ b/PICA_client.c @@ -384,6 +384,7 @@ static int verify_peer_cert_common(X509 **peer_cert, SSL *ssl, const unsigned ch return PICA_ERRNOPEERCERT; RSA_free(rsa); + EVP_PKEY_free(pubkey); if (PICA_id_from_X509(*peer_cert, idbuf) == 0) { |
