From 9244990ecdcfa36bb9371058111685b05f201c1e Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sat, 14 Dec 2019 09:21:46 +1100 Subject: remove a bunch of ENABLE_SK #ifdefs The ssh-sk-helper client API gives us a nice place to disable security key support when it is wasn't enabled at compile time, so we don't need to check everywere. Also, verification of security key signatures can remain enabled all the time - it has no additional dependencies. So sshd can accept security key pubkeys in authorized_keys, etc regardless of the host's support for dlopen, etc. --- ssh-ecdsa-sk.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'ssh-ecdsa-sk.c') diff --git a/ssh-ecdsa-sk.c b/ssh-ecdsa-sk.c index 40f0dc8c..7a2355c1 100644 --- a/ssh-ecdsa-sk.c +++ b/ssh-ecdsa-sk.c @@ -29,8 +29,6 @@ #include "includes.h" -#ifdef ENABLE_SK - #include #include @@ -203,4 +201,3 @@ ssh_ecdsa_sk_verify(const struct sshkey *key, free(ktype); return ret; } -#endif /* ENABLE_SK */ -- cgit v1.2.1