[openssl] master update

patrick.steuer at de.ibm.com patrick.steuer at de.ibm.com
Sun Aug 18 20:13:05 UTC 2019


The branch master has been updated
       via  e0249827b3fa81ff6c59fb14ef85d38361dd5e31 (commit)
      from  3ce46435e6ebed69bec0fa3454cc195ced426d42 (commit)


- Log -----------------------------------------------------------------
commit e0249827b3fa81ff6c59fb14ef85d38361dd5e31
Author: Patrick Steuer <patrick.steuer at de.ibm.com>
Date:   Thu Aug 15 23:13:53 2019 +0200

    Fix --strict-warnings build
    
    Appease -Wstring-plus-int.
    
    Signed-off-by: Patrick Steuer <patrick.steuer at de.ibm.com>
    
    Reviewed-by: Kurt Roeckx <kurt at roeckx.be>
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/9608)

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

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

diff --git a/test/test_test.c b/test/test_test.c
index ba66a158ad..35c612726f 100644
--- a/test/test_test.c
+++ b/test/test_test.c
@@ -491,7 +491,7 @@ static int test_single_eval(void)
            && TEST_ptr_eq(p, buf + 1)
            && TEST_ptr_null(p = NULL)
            /* strings */
-           && TEST_str_eq(p = "123456" + 1, "23456")
+           && TEST_str_eq(p = &("123456"[1]), "23456")
            && TEST_str_eq("3456", ++p)
            && TEST_str_ne(p++, "456")
            /* memory */


More information about the openssl-commits mailing list