From 4f5e2b429ccdba2239e44515ca1b94749f6f8cba Mon Sep 17 00:00:00 2001 From: "isabel@lotus" Date: Thu, 6 Sep 2018 14:24:51 -0700 Subject: [PATCH] fussing with openssl in hopes that build will pass --- utils/crypto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/crypto.cpp b/utils/crypto.cpp index 8826ff8d..9e7a160d 100644 --- a/utils/crypto.cpp +++ b/utils/crypto.cpp @@ -131,7 +131,7 @@ namespace RSA_verify_signature(const RSA* rsa, const std::vector& signature, const std::string& uuid, bool& is_authentic) { std::unique_ptr> public_key{EVP_PKEY_new(), EVP_PKEY_free}; - std::unique_ptr> RSA_verification_context{EVP_MD_CTX_create(), EVP_MD_CTX_free}; + std::unique_ptr> RSA_verification_context{EVP_MD_CTX_create(), EVP_MD_CTX_destroy}; // I could find no guidance in the OpenSSL documentation that suggests that the EVP_MD // pointer needs to be released after use, though in the same page the documentation