summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2024-07-17 15:01:22 +0000
committerjsing <>2024-07-17 15:01:22 +0000
commitc20aed4502691ecf89604379bc7c4a2e3283ae5d (patch)
tree326f0a09ce3c51fd7357f5ef6ad51ca9e4c38846 /src
parent7c9ff0880d54e2d06bcd4edfe89f798ee6213e2f (diff)
downloadopenbsd-c20aed4502691ecf89604379bc7c4a2e3283ae5d.tar.gz
openbsd-c20aed4502691ecf89604379bc7c4a2e3283ae5d.tar.bz2
openbsd-c20aed4502691ecf89604379bc7c4a2e3283ae5d.zip
Enable regress for SSL_CIPHER_get_handshake_digest()
Turns out this is already linked statically.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libssl/ciphers/cipherstest.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/regress/lib/libssl/ciphers/cipherstest.c b/src/regress/lib/libssl/ciphers/cipherstest.c
index 79f1325aef..5991fcc708 100644
--- a/src/regress/lib/libssl/ciphers/cipherstest.c
+++ b/src/regress/lib/libssl/ciphers/cipherstest.c
@@ -729,9 +729,7 @@ test_ssl_ciphers(void)
729 const struct ssl_cipher_test *sct; 729 const struct ssl_cipher_test *sct;
730 STACK_OF(SSL_CIPHER) *ciphers; 730 STACK_OF(SSL_CIPHER) *ciphers;
731 const SSL_CIPHER *cipher; 731 const SSL_CIPHER *cipher;
732#if 0
733 const EVP_MD *digest; 732 const EVP_MD *digest;
734#endif
735 unsigned char buf[2]; 733 unsigned char buf[2];
736 const char *description; 734 const char *description;
737 char desc_buf[256]; 735 char desc_buf[256];
@@ -827,7 +825,6 @@ test_ssl_ciphers(void)
827 goto failure; 825 goto failure;
828 } 826 }
829 827
830#if 0
831 /* Having API consistency is a wonderful thing... */ 828 /* Having API consistency is a wonderful thing... */
832 digest = SSL_CIPHER_get_handshake_digest(cipher); 829 digest = SSL_CIPHER_get_handshake_digest(cipher);
833 if (EVP_MD_nid(digest) != sct->handshake_digest_nid) { 830 if (EVP_MD_nid(digest) != sct->handshake_digest_nid) {
@@ -836,7 +833,6 @@ test_ssl_ciphers(void)
836 cipher_value, EVP_MD_nid(digest), sct->handshake_digest_nid); 833 cipher_value, EVP_MD_nid(digest), sct->handshake_digest_nid);
837 goto failure; 834 goto failure;
838 } 835 }
839#endif
840 836
841 strength_bits = SSL_CIPHER_get_bits(cipher, &symmetric_bits); 837 strength_bits = SSL_CIPHER_get_bits(cipher, &symmetric_bits);
842 if (strength_bits != sct->strength_bits) { 838 if (strength_bits != sct->strength_bits) {