diff options
author | 2014-05-25 16:23:10 +0000 | |
---|---|---|
committer | 2014-05-25 16:23:10 +0000 | |
commit | 00d4d36db2681a130114ba0f725b4fb6fbee3d54 (patch) | |
tree | 52844f0f1af334957580efa2e3e6ec96960c0a4a /lib/libssl/ssl_ciph.c | |
parent | There is little interest in supporting Watt-32 TCP/IP debugging. For (diff) | |
download | wireguard-openbsd-00d4d36db2681a130114ba0f725b4fb6fbee3d54.tar.xz wireguard-openbsd-00d4d36db2681a130114ba0f725b4fb6fbee3d54.zip |
Remove TLS_DEBUG, SSL_DEBUG, CIPHER_DEBUG and OPENSSL_RI_DEBUG. Much of
this is sporadic, hacked up and can easily be put back in an improved form
should we ever need it.
ok miod@
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r-- | lib/libssl/ssl_ciph.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c index 22ed70b30b1..6b650ccea3b 100644 --- a/lib/libssl/ssl_ciph.c +++ b/lib/libssl/ssl_ciph.c @@ -906,10 +906,6 @@ ssl_cipher_apply_rule(unsigned long cipher_id, unsigned long alg_mkey, const SSL_CIPHER *cp; int reverse = 0; -#ifdef CIPHER_DEBUG - printf("Applying rule %d with %08lx/%08lx/%08lx/%08lx/%08lx %08lx (%d)\n", - rule, alg_mkey, alg_auth, alg_enc, alg_mac, alg_ssl, algo_strength, strength_bits); -#endif if (rule == CIPHER_DEL) reverse = 1; /* needed to maintain sorting between currently deleted ciphers */ @@ -942,9 +938,6 @@ ssl_cipher_apply_rule(unsigned long cipher_id, unsigned long alg_mkey, if (strength_bits != cp->strength_bits) continue; } else { -#ifdef CIPHER_DEBUG - printf("\nName: %s:\nAlgo = %08lx/%08lx/%08lx/%08lx/%08lx Algo_strength = %08lx\n", cp->name, cp->algorithm_mkey, cp->algorithm_auth, cp->algorithm_enc, cp->algorithm_mac, cp->algorithm_ssl, cp->algo_strength); -#endif if (alg_mkey && !(alg_mkey & cp->algorithm_mkey)) continue; @@ -962,9 +955,6 @@ ssl_cipher_apply_rule(unsigned long cipher_id, unsigned long alg_mkey, continue; } -#ifdef CIPHER_DEBUG - printf("Action = %d\n", rule); -#endif /* add the cipher if it has not been added yet. */ if (rule == CIPHER_ADD) { @@ -1439,9 +1429,6 @@ ssl_create_cipher_list(const SSL_METHOD *ssl_method, for (curr = head; curr != NULL; curr = curr->next) { if (curr->active) { sk_SSL_CIPHER_push(cipherstack, curr->cipher); -#ifdef CIPHER_DEBUG - printf("<%s>\n", curr->cipher->name); -#endif } } free(co_list); /* Not needed any longer */ |