[openssl] master update

Matt Caswell matt at openssl.org
Fri Jan 22 09:59:57 UTC 2021


The branch master has been updated
       via  8a9394c1eddbac210d4a2dceab521efa7518fa1f (commit)
      from  fc52ae8c4b4a00c7158549510ace0e5beef2306b (commit)


- Log -----------------------------------------------------------------
commit 8a9394c1eddbac210d4a2dceab521efa7518fa1f
Author: Matt Caswell <matt at openssl.org>
Date:   Thu Jan 21 09:19:16 2021 +0000

    Fix no-dh and no-dsa
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/13915)

-----------------------------------------------------------------------

Summary of changes:
 test/evp_extra_test.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c
index 37efbd42e2..4358fbe5c5 100644
--- a/test/evp_extra_test.c
+++ b/test/evp_extra_test.c
@@ -485,9 +485,9 @@ err:
     return res;
 }
 
-#if !defined(OPENSSL_NO_DH) && !defined(OPENSSL_NO_DSA)
+#if !defined(OPENSSL_NO_DH) || !defined(OPENSSL_NO_DSA)
 /*
- * Test combinations of private, public, missing and private + public key 
+ * Test combinations of private, public, missing and private + public key
  * params to ensure they are all accepted
  */
 static int test_EVP_PKEY_ffc_priv_pub(char *keytype)
@@ -612,7 +612,7 @@ static int test_EVP_PKEY_ffc_priv_pub(char *keytype)
 
     return ret;
 }
-#endif /* !OPENSSL_NO_DH && !OPENSSL_NO_DSA */
+#endif /* !OPENSSL_NO_DH || !OPENSSL_NO_DSA */
 
 static int test_EVP_Enveloped(void)
 {
@@ -1854,7 +1854,7 @@ static int test_DSA_get_set_params(void)
 }
 
 /*
- * Test combinations of private, public, missing and private + public key 
+ * Test combinations of private, public, missing and private + public key
  * params to ensure they are all accepted
  */
 static int test_DSA_priv_pub(void)
@@ -1979,7 +1979,7 @@ static int test_decrypt_null_chunks(void)
 
 #ifndef OPENSSL_NO_DH
 /*
- * Test combinations of private, public, missing and private + public key 
+ * Test combinations of private, public, missing and private + public key
  * params to ensure they are all accepted
  */
 static int test_DH_priv_pub(void)


More information about the openssl-commits mailing list