Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
mozilla-nss.15194
nss-unit-test-fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nss-unit-test-fixes.patch of Package mozilla-nss.15194
commit 108aafd8a614c5e748fac7734d82e68cea1d8d4a Author: Hans Petter Jansson <hpj@cl.no> Date: Sun Mar 8 19:23:24 2020 +0100 tests: Fix lowhashtest diff --git a/nss/cmd/lowhashtest/lowhashtest.c b/nss/cmd/lowhashtest/lowhashtest.c index fcc06a8..95c23f3 100644 --- a/nss/cmd/lowhashtest/lowhashtest.c +++ b/nss/cmd/lowhashtest/lowhashtest.c @@ -415,7 +415,7 @@ main(int argc, char **argv) return 1; } - if (argc || !argv[1] || strlen(argv[1]) == 0) { + if (argc < 2 || !argv[1] || strlen(argv[1]) == 0) { rv += testMD5(initCtx); rv += testSHA1(initCtx); rv += testSHA224(initCtx); @@ -428,7 +428,7 @@ main(int argc, char **argv) rv += testSHA1(initCtx); } else if (strcmp(argv[1], "SHA224") == 0) { rv += testSHA224(initCtx); - } else if (strcmp(argv[1], "SHA226") == 0) { + } else if (strcmp(argv[1], "SHA256") == 0) { rv += testSHA256(initCtx); } else if (strcmp(argv[1], "SHA384") == 0) { rv += testSHA384(initCtx);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor