]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix build in Linux.
authorMichael R Sweet <msweet@msweet.org>
Tue, 18 Jun 2024 15:28:56 +0000 (11:28 -0400)
committerMichael R Sweet <msweet@msweet.org>
Tue, 18 Jun 2024 15:28:56 +0000 (11:28 -0400)
cups/tls.c

index c02b73570e604c32f8ce68922a8afd759708b9e3..96ef1d8b50fedcb3ff51c36d17221007b0af71c1 100644 (file)
@@ -307,7 +307,7 @@ http_check_roots(const char *creds) // I - Credentials
   if (!tls_root_certs)
   {
     // Load root certificates...
-    tls_root_certs = cupsArrayNew(/*cb*/NULL, /*cb_data*/NULL, /*hash_cb*/NULL, /*hash_size*/0, /*copy_cb*/NULL, /*free_cb*/NULL);
+    tls_root_certs = cupsArrayNew3(/*cb*/NULL, /*cb_data*/NULL, /*hash_cb*/NULL, /*hash_size*/0, /*copy_cb*/NULL, /*free_cb*/NULL);
 
 #  ifdef _WIN32
     int                        i;              // Looping var