diff options
Diffstat (limited to 'src/lib/libcrypto/des/destest.c')
-rw-r--r-- | src/lib/libcrypto/des/destest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/des/destest.c b/src/lib/libcrypto/des/destest.c index 687c00c792..3983ac8e5f 100644 --- a/src/lib/libcrypto/des/destest.c +++ b/src/lib/libcrypto/des/destest.c | |||
@@ -431,7 +431,7 @@ int main(int argc, char *argv[]) | |||
431 | 431 | ||
432 | #ifndef LIBDES_LIT | 432 | #ifndef LIBDES_LIT |
433 | printf("Doing ede ecb\n"); | 433 | printf("Doing ede ecb\n"); |
434 | for (i=0; i<(NUM_TESTS-1); i++) | 434 | for (i=0; i<(NUM_TESTS-2); i++) |
435 | { | 435 | { |
436 | DES_set_key_unchecked(&key_data[i],&ks); | 436 | DES_set_key_unchecked(&key_data[i],&ks); |
437 | DES_set_key_unchecked(&key_data[i+1],&ks2); | 437 | DES_set_key_unchecked(&key_data[i+1],&ks2); |