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-sk.c | |
parent | 45f17a159acfc5a8e450bfbcc2cffe72950ed7a3 (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-sk.c')
-rw-r--r-- | ssh-sk.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -19,6 +19,8 @@ | |||
19 | 19 | ||
20 | #include "includes.h" | 20 | #include "includes.h" |
21 | 21 | ||
22 | #ifdef ENABLE_SK | ||
23 | |||
22 | #include <dlfcn.h> | 24 | #include <dlfcn.h> |
23 | #include <stddef.h> | 25 | #include <stddef.h> |
24 | #include <stdint.h> | 26 | #include <stdint.h> |
@@ -375,3 +377,4 @@ sshsk_ecdsa_sign(const char *provider_path, const struct sshkey *key, | |||
375 | sshbuf_free(inner_sig); | 377 | sshbuf_free(inner_sig); |
376 | return r; | 378 | return r; |
377 | } | 379 | } |
380 | #endif /* ENABLE_SK */ | ||