diff options
author | Tomas Mraz <tm@t8m.info> | 2008-12-02 10:57:19 +0000 |
---|---|---|
committer | Tomas Mraz <tm@t8m.info> | 2008-12-02 10:57:19 +0000 |
commit | f9cde35ec82267c2fa3012276a35a6f1b2cf131f (patch) | |
tree | cd2d4e6d2b1e7b62308e984ee702fd0cb26f74bf /modules/pam_timestamp/hmacfile.c | |
parent | 703c640d3722f93b4e7fe14688efc15c9fb92e5f (diff) | |
download | pam-f9cde35ec82267c2fa3012276a35a6f1b2cf131f.tar.gz pam-f9cde35ec82267c2fa3012276a35a6f1b2cf131f.tar.bz2 pam-f9cde35ec82267c2fa3012276a35a6f1b2cf131f.zip |
Relevant BUGIDs:
Purpose of commit: cleanup
Commit summary:
---------------
2008-12-02 Tomas Mraz <t8m@centrum.cz>
* modules/pam_timestamp/Makefile.am: Add hmacfile to tests.
* modules/pam_timestamp/hmacfile.c: Do not try the short key
testvector.
Diffstat (limited to 'modules/pam_timestamp/hmacfile.c')
-rw-r--r-- | modules/pam_timestamp/hmacfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/pam_timestamp/hmacfile.c b/modules/pam_timestamp/hmacfile.c index 963f6f54..d2da5ff1 100644 --- a/modules/pam_timestamp/hmacfile.c +++ b/modules/pam_timestamp/hmacfile.c @@ -63,11 +63,13 @@ testvectors(void) "b617318655057264e28bc0b6fb378c8ef146be00", }, +#ifdef HMAC_ALLOW_SHORT_KEYS { "Jefe", 4, "what do ya want for nothing?", 28, "effcdf6ae5eb2fa2d27416d5f184df9c259a7c79", }, +#endif { "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa", 20, |