X-Git-Url: https://git.eyrie.org/?a=blobdiff_plain;f=tests%2Fplugin%2Fmit-t.c;h=427e937b9df359a2e71cdb34a55242c114a36aeb;hb=399c639c92b4c5f125ba09f47400f8ae39061a3c;hp=485ff75d686b0916a8475aedb4d66aba4ede31e4;hpb=743bbb08453a40326e0a2f737562d66a07cbaf66;p=kerberos%2Fkrb5-strength.git diff --git a/tests/plugin/mit-t.c b/tests/plugin/mit-t.c index 485ff75..427e937 100644 --- a/tests/plugin/mit-t.c +++ b/tests/plugin/mit-t.c @@ -2,7 +2,7 @@ * Test for the MIT Kerberos shared module API. * * Written by Russ Allbery - * Copyright 2017, 2020 Russ Allbery + * Copyright 2017, 2020, 2023 Russ Allbery * 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);