]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Zero out LIBFIDO2 when SK support not usable.
authorDarren Tucker <dtucker@dtucker.net>
Sat, 25 Jun 2022 02:16:15 +0000 (12:16 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Sat, 25 Jun 2022 02:16:15 +0000 (12:16 +1000)
Prevents us from trying to link them into ssh-sk-helper and failing to
build.

configure.ac

index 016ff843567ba647ce5d440cec25d890e3f2fd81..1f9d23a30abb3720a45ddb939143208976b3b00a 100644 (file)
@@ -3255,7 +3255,7 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" != "xno" ; then
                if test "x$enable_sk_internal" = "xyes" ; then
                        AC_MSG_ERROR([No usable libfido2 library/headers found])
                fi
-               enable_sk=no
+               LIBFIDO2=""
        else
                AC_MSG_RESULT([yes])
                AC_SUBST([LIBFIDO2])