diff options
author | Damien Miller <djm@mindrot.org> | 2019-11-01 13:34:49 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-11-01 13:35:34 +1100 |
commit | 764d51e04460ec0da12e05e4777bc90c116accb9 (patch) | |
tree | 7bd6cd697ffcf62cea723059bebd1968cef8cb32 /ssh-ecdsa-sk.c | |
parent | 45f17a159acfc5a8e450bfbcc2cffe72950ed7a3 (diff) | |
download | openssh-git-764d51e04460ec0da12e05e4777bc90c116accb9.tar.gz |
autoconf pieces for U2F support
Mostly following existing logic for PKCS#11 - turning off support
when either libcrypto or dlopen(3) are unavailable.
Diffstat (limited to 'ssh-ecdsa-sk.c')
-rw-r--r-- | ssh-ecdsa-sk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssh-ecdsa-sk.c b/ssh-ecdsa-sk.c index 6441cd7f..35592465 100644 --- a/ssh-ecdsa-sk.c +++ b/ssh-ecdsa-sk.c @@ -29,6 +29,8 @@ #include "includes.h" +#ifdef ENABLE_SK + #include <sys/types.h> #include <openssl/bn.h> @@ -178,3 +180,4 @@ ssh_ecdsa_sk_verify(const struct sshkey *key, free(ktype); return ret; } +#endif /* ENABLE_SK */ |