Merge pull request #5571 from julek-wolfssl/sk-cmp-param-fix

Set correct types in wolfSSL_sk_*_new functions
This commit is contained in:
David Garske
2022-09-08 08:47:20 -07:00
committed by GitHub
7 changed files with 28 additions and 62 deletions

View File

@@ -46674,7 +46674,7 @@ static int test_wolfSSL_TXT_DB(void)
/* Test index */
AssertIntEQ(TXT_DB_create_index(db, 3, NULL, (wolf_sk_hash_cb)TXT_DB_hash,
(wolf_sk_compare_cb)TXT_DB_cmp), 1);
(wolf_lh_compare_cb)TXT_DB_cmp), 1);
AssertNotNull(TXT_DB_get_by_index(db, 3, (WOLFSSL_STRING*)fields));
fields[3] = "12DA";
AssertNotNull(TXT_DB_get_by_index(db, 3, (WOLFSSL_STRING*)fields));