From cdb217b774e1099858c9df592e9236eee5c284e8 Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 29 Mar 2019 13:15:32 -0400 Subject: [PATCH] always initialize m_Pkey --- libi2pd/Signature.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libi2pd/Signature.cpp b/libi2pd/Signature.cpp index 986cd1ac..21d08f30 100644 --- a/libi2pd/Signature.cpp +++ b/libi2pd/Signature.cpp @@ -7,7 +7,8 @@ namespace i2p namespace crypto { #if OPENSSL_EDDSA - EDDSA25519Verifier::EDDSA25519Verifier () + EDDSA25519Verifier::EDDSA25519Verifier (): + m_Pkey (nullptr) { m_MDCtx = EVP_MD_CTX_create (); }