[Bug 232218] sysutils/ori: Fix OpenSSL build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 13 06:53:45 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232218
Tobias Kortkamp <tobik at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobik at freebsd.org
--- Comment #1 from Tobias Kortkamp <tobik at freebsd.org> ---
+- EVP_MD_CTX ctx;
++ EVP_MD_CTX *ctx = NULL;
+
+ assert(x509 != NULL && key != NULL);
+
+- EVP_VerifyInit(&ctx, EVP_sha256());
+- EVP_VerifyUpdate(&ctx, blob.data(), blob.size());
+- err = EVP_VerifyFinal(&ctx, (const unsigned char *)digest.data(),
++ EVP_VerifyInit(ctx, EVP_sha256());
++ EVP_VerifyUpdate(ctx, blob.data(), blob.size());
++ err = EVP_VerifyFinal(ctx, (const unsigned char *)digest.data(),
+ digest.length(), key);
No. No memory was allocated here prior to calling EVP_VerifyInit().
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list