summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/ssl_ciph.c13
-rw-r--r--src/lib/libssl/ssl_lib.c12
2 files changed, 0 insertions, 25 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 */
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index 694bc900a0..deef714be1 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1442,9 +1442,6 @@ ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *sk, unsigned char *p,
1442 j = put_cb ? put_cb(&scsv, p) : 1442 j = put_cb ? put_cb(&scsv, p) :
1443 ssl_put_cipher_by_char(s, &scsv, p); 1443 ssl_put_cipher_by_char(s, &scsv, p);
1444 p += j; 1444 p += j;
1445#ifdef OPENSSL_RI_DEBUG
1446 fprintf(stderr, "SCSV sent by client\n");
1447#endif
1448 } 1445 }
1449 1446
1450 return (p - q); 1447 return (p - q);
@@ -1490,9 +1487,6 @@ ssl_bytes_to_cipher_list(SSL *s, unsigned char *p, int num,
1490 } 1487 }
1491 s->s3->send_connection_binding = 1; 1488 s->s3->send_connection_binding = 1;
1492 p += n; 1489 p += n;
1493#ifdef OPENSSL_RI_DEBUG
1494 fprintf(stderr, "SCSV received by server\n");
1495#endif
1496 continue; 1490 continue;
1497 } 1491 }
1498 1492
@@ -2066,12 +2060,6 @@ ssl_set_cert_masks(CERT *c, const SSL_CIPHER *cipher)
2066 2060
2067 2061
2068 2062
2069#ifdef CIPHER_DEBUG
2070 printf("rt=%d rte=%d dht=%d ecdht=%d re=%d ree=%d "
2071 "rs=%d ds=%d dhr=%d dhd=%d\n",
2072 rsa_tmp, rsa_tmp_export, dh_tmp, have_ecdh_tmp,
2073 rsa_enc, rsa_enc_export, rsa_sign, dsa_sign, dh_rsa, dh_dsa);
2074#endif
2075 2063
2076 cpk = &(c->pkeys[SSL_PKEY_GOST01]); 2064 cpk = &(c->pkeys[SSL_PKEY_GOST01]);
2077 if (cpk->x509 != NULL && cpk->privatekey !=NULL) { 2065 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {