From: jsing Date: Wed, 17 Jul 2024 15:01:22 +0000 (+0000) Subject: Enable regress for SSL_CIPHER_get_handshake_digest() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6bbe7482548abcf93e2bfaec247b89a8d8022695;p=openbsd Enable regress for SSL_CIPHER_get_handshake_digest() Turns out this is already linked statically. --- diff --git a/regress/lib/libssl/ciphers/cipherstest.c b/regress/lib/libssl/ciphers/cipherstest.c index 79f1325aefb..5991fcc7084 100644 --- a/regress/lib/libssl/ciphers/cipherstest.c +++ b/regress/lib/libssl/ciphers/cipherstest.c @@ -729,9 +729,7 @@ test_ssl_ciphers(void) const struct ssl_cipher_test *sct; STACK_OF(SSL_CIPHER) *ciphers; const SSL_CIPHER *cipher; -#if 0 const EVP_MD *digest; -#endif unsigned char buf[2]; const char *description; char desc_buf[256]; @@ -827,7 +825,6 @@ test_ssl_ciphers(void) goto failure; } -#if 0 /* Having API consistency is a wonderful thing... */ digest = SSL_CIPHER_get_handshake_digest(cipher); if (EVP_MD_nid(digest) != sct->handshake_digest_nid) { @@ -836,7 +833,6 @@ test_ssl_ciphers(void) cipher_value, EVP_MD_nid(digest), sct->handshake_digest_nid); goto failure; } -#endif strength_bits = SSL_CIPHER_get_bits(cipher, &symmetric_bits); if (strength_bits != sct->strength_bits) {