]> eyrie.org Git - kerberos/krb5-strength.git/blobdiff - tests/plugin/mit-t.c
Update to rra-c-util 10.5
[kerberos/krb5-strength.git] / tests / plugin / mit-t.c
index 485ff75d686b0916a8475aedb4d66aba4ede31e4..427e937b9df359a2e71cdb34a55242c114a36aeb 100644 (file)
@@ -2,7 +2,7 @@
  * Test for the MIT Kerberos shared module API.
  *
  * Written by Russ Allbery <eagle@eyrie.org>
- * Copyright 2017, 2020 Russ Allbery <eagle@eyrie.org>
+ * Copyright 2017, 2020, 2023 Russ Allbery <eagle@eyrie.org>
  * Copyright 2010, 2013-2014
  *     The Board of Trustees of the Leland Stanford Junior University
  *
@@ -413,7 +413,7 @@ main(void)
 
 #    endif /* !HAVE_CDB */
 
-#    ifdef HAVE_SQLITE
+#    ifdef HAVE_SQLITE3
 
     /*
      * If built with SQLite, set up krb5.conf to use a SQLite dictionary
@@ -447,13 +447,13 @@ main(void)
         is_password_test(ctx, vtable, data, &principal_tests[i]);
     vtable->close(ctx, data);
 
-#    else /* !HAVE_SQLITE */
+#    else /* !HAVE_SQLITE3 */
 
     /* Otherwise, mark the SQLite tests as skipped. */
     count = ARRAY_SIZE(sqlite_tests) + ARRAY_SIZE(principal_tests);
     skip_block(count * 2 + 1, "not built with SQLite support");
 
-#    endif /* !HAVE_SQLITE */
+#    endif /* !HAVE_SQLITE3 */
 
     /* Manually clean up after the results of make-krb5-conf. */
     basprintf(&path, "%s/krb5.conf", tmpdir);