diff options
Diffstat (limited to 'test/namemap_internal_test.c')
-rw-r--r-- | test/namemap_internal_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/namemap_internal_test.c b/test/namemap_internal_test.c index b3f498004fb1..fdfc782539d6 100644 --- a/test/namemap_internal_test.c +++ b/test/namemap_internal_test.c @@ -1,5 +1,5 @@ /* - * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2019-2024 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -22,7 +22,7 @@ static int test_namemap_empty(void) int ok; ok = TEST_int_eq(ossl_namemap_empty(NULL), 1) - && TEST_ptr(nm = ossl_namemap_new()) + && TEST_ptr(nm = ossl_namemap_new(NULL)) && TEST_int_eq(ossl_namemap_empty(nm), 1) && TEST_int_ne(ossl_namemap_add_name(nm, 0, NAME1), 0) && TEST_int_eq(ossl_namemap_empty(nm), 0); @@ -55,7 +55,7 @@ static int test_namemap(OSSL_NAMEMAP *nm) static int test_namemap_independent(void) { - OSSL_NAMEMAP *nm = ossl_namemap_new(); + OSSL_NAMEMAP *nm = ossl_namemap_new(NULL); int ok = TEST_ptr(nm) && test_namemap(nm); ossl_namemap_free(nm); |