X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=t%2Flib%2FTestCommon.pm;h=195b76ca8364251e38c219b4265be4d0bb7624a9;hb=a88318ecb7f38a65fa1d6e68de001f4385d34fa7;hp=e499251a896679b00f7428228aaa806f228e976a;hpb=eb5adf956fc6b9285b43ce6965eea728573e7864;p=chaz%2Fp5-File-KDBX diff --git a/t/lib/TestCommon.pm b/t/lib/TestCommon.pm index e499251..195b76c 100644 --- a/t/lib/TestCommon.pm +++ b/t/lib/TestCommon.pm @@ -80,6 +80,7 @@ sub ok_magic { ], $note // 'KDBX magic numbers are correct'; } +# Returns parameters for a fast KDF so that running tests isn't pointlessly slow. sub fast_kdf { my $uuid = shift // KDF_UUID_AES; my $params = { @@ -98,4 +99,5 @@ sub fast_kdf { } return $params; } + 1;