return ret;
}
+static int test_store_delete_null_uri(void)
+{
+ /* Passing NULL uri must return 0, not crash */
+ return TEST_int_eq(OSSL_STORE_delete(NULL, NULL, NULL, NULL, NULL, NULL), 0);
+}
+
const OPTIONS *test_get_options(void)
{
static const OPTIONS test_options[] = {
ADD_TEST(test_store_open_winstore);
#endif
ADD_TEST(test_store_search_by_key_fingerprint_fail);
+ ADD_TEST(test_store_delete_null_uri);
ADD_ALL_TESTS(test_store_get_params, 3);
if (sm2file != NULL)
ADD_TEST(test_store_attach_unregistered_scheme);