diff options
Diffstat (limited to 'src/lib/libssl/ssl_ciph.c')
-rw-r--r-- | src/lib/libssl/ssl_ciph.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/libssl/ssl_ciph.c b/src/lib/libssl/ssl_ciph.c index 22ed70b30b..6b650ccea3 100644 --- a/src/lib/libssl/ssl_ciph.c +++ b/src/lib/libssl/ssl_ciph.c | |||
@@ -906,10 +906,6 @@ ssl_cipher_apply_rule(unsigned long cipher_id, unsigned long alg_mkey, | |||
906 | const SSL_CIPHER *cp; | 906 | const SSL_CIPHER *cp; |
907 | int reverse = 0; | 907 | int reverse = 0; |
908 | 908 | ||
909 | #ifdef CIPHER_DEBUG | ||
910 | printf("Applying rule %d with %08lx/%08lx/%08lx/%08lx/%08lx %08lx (%d)\n", | ||
911 | rule, alg_mkey, alg_auth, alg_enc, alg_mac, alg_ssl, algo_strength, strength_bits); | ||
912 | #endif | ||
913 | 909 | ||
914 | if (rule == CIPHER_DEL) | 910 | if (rule == CIPHER_DEL) |
915 | reverse = 1; /* needed to maintain sorting between currently deleted ciphers */ | 911 | 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, | |||
942 | if (strength_bits != cp->strength_bits) | 938 | if (strength_bits != cp->strength_bits) |
943 | continue; | 939 | continue; |
944 | } else { | 940 | } else { |
945 | #ifdef CIPHER_DEBUG | ||
946 | 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); | ||
947 | #endif | ||
948 | 941 | ||
949 | if (alg_mkey && !(alg_mkey & cp->algorithm_mkey)) | 942 | if (alg_mkey && !(alg_mkey & cp->algorithm_mkey)) |
950 | continue; | 943 | continue; |
@@ -962,9 +955,6 @@ ssl_cipher_apply_rule(unsigned long cipher_id, unsigned long alg_mkey, | |||
962 | continue; | 955 | continue; |
963 | } | 956 | } |
964 | 957 | ||
965 | #ifdef CIPHER_DEBUG | ||
966 | printf("Action = %d\n", rule); | ||
967 | #endif | ||
968 | 958 | ||
969 | /* add the cipher if it has not been added yet. */ | 959 | /* add the cipher if it has not been added yet. */ |
970 | if (rule == CIPHER_ADD) { | 960 | if (rule == CIPHER_ADD) { |
@@ -1439,9 +1429,6 @@ ssl_create_cipher_list(const SSL_METHOD *ssl_method, | |||
1439 | for (curr = head; curr != NULL; curr = curr->next) { | 1429 | for (curr = head; curr != NULL; curr = curr->next) { |
1440 | if (curr->active) { | 1430 | if (curr->active) { |
1441 | sk_SSL_CIPHER_push(cipherstack, curr->cipher); | 1431 | sk_SSL_CIPHER_push(cipherstack, curr->cipher); |
1442 | #ifdef CIPHER_DEBUG | ||
1443 | printf("<%s>\n", curr->cipher->name); | ||
1444 | #endif | ||
1445 | } | 1432 | } |
1446 | } | 1433 | } |
1447 | free(co_list); /* Not needed any longer */ | 1434 | free(co_list); /* Not needed any longer */ |