/[smecontribs]/rpms/openssl3/contribs10/0035-speed-skip-unavailable-dgst.patch
ViewVC logotype

Contents of /rpms/openssl3/contribs10/0035-speed-skip-unavailable-dgst.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Jan 31 17:24:37 2024 UTC (4 months ago) by jpp
Branch: MAIN
CVS Tags: openssl3-3_0_7-5_el7_sme_1, HEAD
Initial import

1 diff -up openssl-3.0.0/apps/speed.c.beldmit openssl-3.0.0/apps/speed.c
2 --- openssl-3.0.0/apps/speed.c.beldmit 2021-12-21 15:14:04.210431584 +0100
3 +++ openssl-3.0.0/apps/speed.c 2021-12-21 15:46:05.554085125 +0100
4 @@ -547,6 +547,9 @@ static int EVP_MAC_loop(int algindex, vo
5 for (count = 0; COND(c[algindex][testnum]); count++) {
6 size_t outl;
7
8 + if (mctx == NULL)
9 + return -1;
10 +
11 if (!EVP_MAC_init(mctx, NULL, 0, NULL)
12 || !EVP_MAC_update(mctx, buf, lengths[testnum])
13 || !EVP_MAC_final(mctx, mac, &outl, sizeof(mac)))

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed