diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2021-06-30 18:11:48 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2021-06-30 18:11:48 +0000 |
commit | 86a2725d6a6ee7b6f9d29e7c3dadc1620668108c (patch) | |
tree | 318e4312ecbb515080ba4a72500550f885be6563 | |
parent | 580397842eee6de74442bc203b3c301250c8ce3a (diff) |
Disable some code that reaches into libssl internals.
This should be moved to a dedicated regress test.
-rw-r--r-- | regress/lib/libssl/ssl/ssltest.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/regress/lib/libssl/ssl/ssltest.c b/regress/lib/libssl/ssl/ssltest.c index f405741887a..9d64cfbada5 100644 --- a/regress/lib/libssl/ssl/ssltest.c +++ b/regress/lib/libssl/ssl/ssltest.c @@ -326,7 +326,10 @@ static int debug = 0; int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time, clock_t *c_time); int doit(SSL *s_ssl, SSL *c_ssl, long bytes); + +#if 0 static int do_test_cipherlist(void); +#endif static void sv_usage(void) @@ -574,6 +577,7 @@ bad: goto end; } +#if 0 if (test_cipherlist == 1) { /* ensure that the cipher list are correctly sorted and exit */ if (do_test_cipherlist() == 0) @@ -581,6 +585,7 @@ bad: ret = 0; goto end; } +#endif if (!dtls1 && !tls1 && !tls1_2 && number > 1 && !reuse && !force) { fprintf(stderr, @@ -1923,6 +1928,7 @@ get_dh1024dsa() return (dh); } +#if 0 static int do_test_cipherlist(void) { @@ -1947,3 +1953,4 @@ do_test_cipherlist(void) return 1; } +#endif |