[sr-dev] git:master:433551f3: tls: init EVP_PKEY pointer when loading engine key
Daniel-Constantin Mierla
miconda at gmail.com
Tue Dec 10 12:47:46 CET 2019
Module: kamailio
Branch: master
Commit: 433551f3ea00e4151f2fa4e84d7c52422b6cefe3
URL: https://github.com/kamailio/kamailio/commit/433551f3ea00e4151f2fa4e84d7c52422b6cefe3
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-12-10T12:46:34+01:00
tls: init EVP_PKEY pointer when loading engine key
---
Modified: src/modules/tls/tls_domain.c
---
Diff: https://github.com/kamailio/kamailio/commit/433551f3ea00e4151f2fa4e84d7c52422b6cefe3.diff
Patch: https://github.com/kamailio/kamailio/commit/433551f3ea00e4151f2fa4e84d7c52422b6cefe3.patch
---
diff --git a/src/modules/tls/tls_domain.c b/src/modules/tls/tls_domain.c
index 2188345a1a..3bfe0b8f99 100644
--- a/src/modules/tls/tls_domain.c
+++ b/src/modules/tls/tls_domain.c
@@ -1194,7 +1194,7 @@ EVP_PKEY* tls_lookup_private_key(SSL_CTX* ctx)
static int load_engine_private_key(tls_domain_t* d)
{
int idx, ret_pwd, i;
- EVP_PKEY *pkey;
+ EVP_PKEY *pkey = 0;
int procs_no;
char ctx_str[64];
More information about the sr-dev
mailing list