diff options
author | Nathan Neulinger <nneul@neulinger.org> | 2023-03-15 10:01:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 10:01:49 -0500 |
commit | dd810bc58e99fca73d93fb864a10ca658de86541 (patch) | |
tree | d1c85d64cf391c416d7520b8ec354f68520ab3ef /src | |
parent | ad7e7c2ec1c684a983a66e3f59bd5a2daa89713d (diff) | |
parent | 7a0917df2da4249b8be895ea16185c365a8d8792 (diff) | |
download | cracklib-dd810bc58e99fca73d93fb864a10ca658de86541.tar.gz |
Merge pull request #42 from kanavin/fix-test-pwopen
cracklib: fix testnum and teststr failures
Diffstat (limited to 'src')
-rw-r--r-- | src/util/testnum.c | 2 | ||||
-rw-r--r-- | src/util/teststr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/testnum.c b/src/util/testnum.c index ae2246d..ca210ff 100644 --- a/src/util/testnum.c +++ b/src/util/testnum.c @@ -20,7 +20,7 @@ main () PWDICT *pwp; char buffer[STRINGSIZE]; - if (!(pwp = PWOpen (NULL, "r"))) + if (!(pwp = PWOpen (DEFAULT_CRACKLIB_DICT, "r"))) { perror ("PWOpen"); return (-1); diff --git a/src/util/teststr.c b/src/util/teststr.c index 2a31fa4..9fb9cda 100644 --- a/src/util/teststr.c +++ b/src/util/teststr.c @@ -15,7 +15,7 @@ main () PWDICT *pwp; char buffer[STRINGSIZE]; - if (!(pwp = PWOpen (NULL, "r"))) + if (!(pwp = PWOpen (DEFAULT_CRACKLIB_DICT, "r"))) { perror ("PWOpen"); return (-1); |