diff options
Diffstat (limited to 'sk-usbhid.c')
-rw-r--r-- | sk-usbhid.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sk-usbhid.c b/sk-usbhid.c index 2fdf3d94..01412b69 100644 --- a/sk-usbhid.c +++ b/sk-usbhid.c @@ -31,6 +31,15 @@ #include <sha2.h> #endif +/* + * Almost every use of OpenSSL in this file is for ECDSA-NISTP256. + * This is strictly a larger hammer than necessary, but it reduces changes + * with upstream. + */ +#ifndef OPENSSL_HAS_ECC +# undef WITH_OPENSSL +#endif + #ifdef WITH_OPENSSL #include <openssl/opensslv.h> #include <openssl/crypto.h> |