projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20040d2
)
add some comments
author
Ken Raeburn
<raeburn@mit.edu>
Sat, 20 Jan 2001 13:10:34 +0000
(13:10 +0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Sat, 20 Jan 2001 13:10:34 +0000
(13:10 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12925
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/crypto/des/t_afss2k.c
patch
|
blob
|
history
diff --git
a/src/lib/crypto/des/t_afss2k.c
b/src/lib/crypto/des/t_afss2k.c
index 23546c75fd4343880355c09175f4ccb1c9f2f385..8c967f996e47b6ca7e145d94b6c94a58f2c98e12 100644
(file)
--- a/
src/lib/crypto/des/t_afss2k.c
+++ b/
src/lib/crypto/des/t_afss2k.c
@@
-63,6
+63,11
@@
do_it (struct test_case *tcase)
else
salt.length = tcase->saltlen;
+ /*
+ * Try passwords with lengths equal to, greater than, and less
+ * than 8 characters, since the AFS s2k algorithm does
+ * interesting stuff depending on the length.
+ */
passwd.data = "My Password";
for (i = 0; i < 12; i++) {
passwd.length = i;