mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-02-27 06:54:15 +01:00
tests: only run mysql tests if HAVE_MYSQL is defined
This commit is contained in:
parent
dbecea7ba2
commit
fd86d9596b
@ -447,7 +447,7 @@ int main(void) {
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef RUN_MYSQL_TESTS
|
#if defined(RUN_MYSQL_TESTS) && defined(HAVE_MYSQL)
|
||||||
if(test_authenticate_mysql1() != PAM_SUCCESS) {
|
if(test_authenticate_mysql1() != PAM_SUCCESS) {
|
||||||
ret = 2001;
|
ret = 2001;
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user