test BUGFIX wrong dereference
diff --git a/tests/test_server_thread.c b/tests/test_server_thread.c
index 5532c08..92a998d 100644
--- a/tests/test_server_thread.c
+++ b/tests/test_server_thread.c
@@ -386,7 +386,7 @@
         *cert_data_count = 1;
         return 0;
     } else if (!strcmp(name, "client_cert_list")) {
-        *cert_paths = malloc(sizeof *cert_paths);
+        *cert_paths = malloc(sizeof **cert_paths);
         (*cert_paths)[0] = strdup(TESTS_DIR"/data/client.crt");
         *cert_path_count = 1;
         return 0;