summaryrefslogtreecommitdiff
path: root/ssh-ecdsa-sk.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-11-01 13:34:49 +1100
committerDamien Miller <djm@mindrot.org>2019-11-01 13:35:34 +1100
commit764d51e04460ec0da12e05e4777bc90c116accb9 (patch)
tree7bd6cd697ffcf62cea723059bebd1968cef8cb32 /ssh-ecdsa-sk.c
parent45f17a159acfc5a8e450bfbcc2cffe72950ed7a3 (diff)
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssh-ecdsa-sk.c b/ssh-ecdsa-sk.c
index 6441cd7fa..355924657 100644
--- a/ssh-ecdsa-sk.c
+++ b/ssh-ecdsa-sk.c
@@ -29,6 +29,8 @@
29 29
30#include "includes.h" 30#include "includes.h"
31 31
32#ifdef ENABLE_SK
33
32#include <sys/types.h> 34#include <sys/types.h>
33 35
34#include <openssl/bn.h> 36#include <openssl/bn.h>
@@ -178,3 +180,4 @@ ssh_ecdsa_sk_verify(const struct sshkey *key,
178 free(ktype); 180 free(ktype);
179 return ret; 181 return ret;
180} 182}
183#endif /* ENABLE_SK */