Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1653202 - Fix issue disabling other mechanisms when SEED is depre…
…cated in cmd/bltest/blapitest.c. r=kjacobs

Differential Revision: https://phabricator.services.mozilla.com/D83758

--HG--
extra : moz-landing-system : lando
  • Loading branch information
beurdouche committed Jul 21, 2020
1 parent f874c3e commit 47348c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/bltest/blapitest.c
Expand Up @@ -2961,9 +2961,9 @@ get_params(PLArenaPool *arena, bltestParams *params,
case bltestCAMELLIA_CBC:
#ifndef NSS_DISABLE_DEPRECATED_SEED
case bltestSEED_CBC:
#endif
sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "iv", j);
load_file_data(arena, &params->sk.iv, filename, bltestBinary);
#endif
case bltestDES_ECB:
case bltestDES_EDE_ECB:
case bltestRC2_ECB:
Expand All @@ -2972,10 +2972,10 @@ get_params(PLArenaPool *arena, bltestParams *params,
case bltestCAMELLIA_ECB:
#ifndef NSS_DISABLE_DEPRECATED_SEED
case bltestSEED_ECB:
#endif
sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "key", j);
load_file_data(arena, &params->sk.key, filename, bltestBinary);
break;
#endif
#ifdef NSS_SOFTOKEN_DOES_RC5
case bltestRC5_ECB:
case bltestRC5_CBC:
Expand Down

0 comments on commit 47348c6

Please sign in to comment.