diff options
author | jsing <> | 2021-06-30 18:11:47 +0000 |
---|---|---|
committer | jsing <> | 2021-06-30 18:11:47 +0000 |
commit | bd1a6cca8085312ddc750a73ac51cba9231bfcf6 (patch) | |
tree | 453253dd560e1a820fab5a354516f3bfcc808663 | |
parent | a6d179ffa493a1c4c5ee4d7c55c3d9a9825d2954 (diff) | |
download | openbsd-bd1a6cca8085312ddc750a73ac51cba9231bfcf6.tar.gz openbsd-bd1a6cca8085312ddc750a73ac51cba9231bfcf6.tar.bz2 openbsd-bd1a6cca8085312ddc750a73ac51cba9231bfcf6.zip |
Disable some code that reaches into libssl internals.
This should be moved to a dedicated regress test.
-rw-r--r-- | src/regress/lib/libssl/ssl/ssltest.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/regress/lib/libssl/ssl/ssltest.c b/src/regress/lib/libssl/ssl/ssltest.c index f405741887..9d64cfbada 100644 --- a/src/regress/lib/libssl/ssl/ssltest.c +++ b/src/regress/lib/libssl/ssl/ssltest.c | |||
@@ -326,7 +326,10 @@ static int debug = 0; | |||
326 | int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time, | 326 | int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time, |
327 | clock_t *c_time); | 327 | clock_t *c_time); |
328 | int doit(SSL *s_ssl, SSL *c_ssl, long bytes); | 328 | int doit(SSL *s_ssl, SSL *c_ssl, long bytes); |
329 | |||
330 | #if 0 | ||
329 | static int do_test_cipherlist(void); | 331 | static int do_test_cipherlist(void); |
332 | #endif | ||
330 | 333 | ||
331 | static void | 334 | static void |
332 | sv_usage(void) | 335 | sv_usage(void) |
@@ -574,6 +577,7 @@ bad: | |||
574 | goto end; | 577 | goto end; |
575 | } | 578 | } |
576 | 579 | ||
580 | #if 0 | ||
577 | if (test_cipherlist == 1) { | 581 | if (test_cipherlist == 1) { |
578 | /* ensure that the cipher list are correctly sorted and exit */ | 582 | /* ensure that the cipher list are correctly sorted and exit */ |
579 | if (do_test_cipherlist() == 0) | 583 | if (do_test_cipherlist() == 0) |
@@ -581,6 +585,7 @@ bad: | |||
581 | ret = 0; | 585 | ret = 0; |
582 | goto end; | 586 | goto end; |
583 | } | 587 | } |
588 | #endif | ||
584 | 589 | ||
585 | if (!dtls1 && !tls1 && !tls1_2 && number > 1 && !reuse && !force) { | 590 | if (!dtls1 && !tls1 && !tls1_2 && number > 1 && !reuse && !force) { |
586 | fprintf(stderr, | 591 | fprintf(stderr, |
@@ -1923,6 +1928,7 @@ get_dh1024dsa() | |||
1923 | return (dh); | 1928 | return (dh); |
1924 | } | 1929 | } |
1925 | 1930 | ||
1931 | #if 0 | ||
1926 | static int | 1932 | static int |
1927 | do_test_cipherlist(void) | 1933 | do_test_cipherlist(void) |
1928 | { | 1934 | { |
@@ -1947,3 +1953,4 @@ do_test_cipherlist(void) | |||
1947 | 1953 | ||
1948 | return 1; | 1954 | return 1; |
1949 | } | 1955 | } |
1956 | #endif | ||