diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-05-08 15:46:25 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-05-08 15:46:25 +0000 |
commit | b06fe29bea2843895a66224aaddb675bcdb05a34 (patch) | |
tree | f3b931fee397b74aa94376e1a819e78ffabba57b | |
parent | d0a8748df20284b0fcb3b45b50dd801f488824f6 (diff) |
Remove KSSL debug code.
"fire bomb" tedu@
-rw-r--r-- | lib/libcrypto/evp/e_des3.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/libcrypto/evp/e_des3.c b/lib/libcrypto/evp/e_des3.c index 6463326a786..a6093c2ddb7 100644 --- a/lib/libcrypto/evp/e_des3.c +++ b/lib/libcrypto/evp/e_des3.c @@ -118,17 +118,6 @@ static int des_ede_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) { -#ifdef KSSL_DEBUG - { - int i; - char *cp; - printf("des_ede_cbc_cipher(ctx=%lx, buflen=%d)\n", ctx, ctx->buf_len); - printf("\t iv= "); - for (i = 0; i < 8; i++) - printf("%02X",ctx->iv[i]); - printf("\n"); - } -#endif /* KSSL_DEBUG */ while (inl >= EVP_MAXCHUNK) { DES_ede3_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3, @@ -257,16 +246,6 @@ des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, { DES_cblock *deskey = (DES_cblock *)key; -#ifdef KSSL_DEBUG - { - int i; - printf("des_ede3_init_key(ctx=%lx)\n", ctx); - printf("\tKEY= "); - for(i=0;i<24;i++) printf("%02X",key[i]); printf("\n"); - printf("\t IV= "); - for(i=0;i<8;i++) printf("%02X",iv[i]); printf("\n"); - } -#endif /* KSSL_DEBUG */ #ifdef EVP_CHECK_DES_KEY if (DES_set_key_checked(&deskey[0], &data(ctx)->ks1) || |