[openssl] master update

nic.tuv at gmail.com nic.tuv at gmail.com
Wed Jul 31 11:43:52 UTC 2019


The branch master has been updated
       via  f5b7f99e690b1875e6d047acc435f0029642bfeb (commit)
      from  189dbdd99416a481d49a43bd7f4a8ab90bef1e85 (commit)


- Log -----------------------------------------------------------------
commit f5b7f99e690b1875e6d047acc435f0029642bfeb
Author: Nicola Tuveri <nic.tuv at gmail.com>
Date:   Sun Jul 28 16:13:30 2019 +0300

    Temporary workaround for ectest.c for [extended tests]
    
    [extended tests]
    
    This is a temporary workaround for issue #9251, which contains a full
    discussion of the real problem.
    
    As a temporary workaround, we test `EC_GROUP_new_from_ecparameters()`
    against a curve that does not currently have alternative
    implementations.
    
    The proper fix is dependant on resolution of issue #8615
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/9474)

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

Summary of changes:
 test/ectest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/ectest.c b/test/ectest.c
index 50f8c63f0a..43ac905a64 100644
--- a/test/ectest.c
+++ b/test/ectest.c
@@ -1820,7 +1820,7 @@ static int parameter_test(void)
     unsigned char *buf = NULL;
     int r = 0, len;
 
-    if (!TEST_ptr(group = EC_GROUP_new_by_curve_name(NID_secp224r1))
+    if (!TEST_ptr(group = EC_GROUP_new_by_curve_name(NID_secp384r1))
         || !TEST_ptr(ecparameters = EC_GROUP_get_ecparameters(group, NULL))
         || !TEST_ptr(group2 = EC_GROUP_new_from_ecparameters(ecparameters))
         || !TEST_int_eq(EC_GROUP_cmp(group, group2, NULL), 0))


More information about the openssl-commits mailing list