Changeset View
Changeset View
Standalone View
Standalone View
crypto/openssh/config.h
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | |||||
/* Enable for PKCS#11 support */ | /* Enable for PKCS#11 support */ | ||||
#define ENABLE_PKCS11 /**/ | #define ENABLE_PKCS11 /**/ | ||||
/* Enable for U2F/FIDO support */ | /* Enable for U2F/FIDO support */ | ||||
#define ENABLE_SK /**/ | #define ENABLE_SK /**/ | ||||
/* Enable for built-in U2F/FIDO support */ | /* Enable for built-in U2F/FIDO support */ | ||||
/* #undef ENABLE_SK_INTERNAL */ | #define ENABLE_SK_INTERNAL 1 | ||||
emaste: I accidentally uploaded this diff in D32529 and @des commented (https://reviews.freebsd. | |||||
/* define if fflush(NULL) does not work */ | /* define if fflush(NULL) does not work */ | ||||
/* #undef FFLUSH_NULL_BUG */ | /* #undef FFLUSH_NULL_BUG */ | ||||
/* File names may not contain backslash characters */ | /* File names may not contain backslash characters */ | ||||
/* #undef FILESYSTEM_NO_BACKSLASH */ | /* #undef FILESYSTEM_NO_BACKSLASH */ | ||||
/* fsid_t has member val */ | /* fsid_t has member val */ | ||||
▲ Show 20 Lines • Show All 1,936 Lines • Show Last 20 Lines |
I accidentally uploaded this diff in D32529 and @des commented (https://reviews.freebsd.org/D32529#733988)
This is what we want; ENABLE_SK_INTERNAL means ssh builds with its own sk support in ssh-sk-helper using libfido2/libcbor/libusb.
In /readconf.c/:
i.e., if ENABLE_SK_INTERNAL is not defined the user has to provide a path to the .so
Note that all code in sk-usbhid.c is inside #ifdef ENABLE_SK_INTERNAL.