aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2022-03-01 21:42:13 +0000
committerEd Maste <emaste@FreeBSD.org>2022-03-02 14:35:12 +0000
commit92ef98b8fa9273049af3cf2fcb4f5e13a6775ff8 (patch)
treed19152afc58d3b58c5aa96cd1403abeed5ed7c12
parentd94d94e2c06b4331f706a3b4eca058041294ea05 (diff)
-rw-r--r--crypto/openssh/sk_config.h1
-rw-r--r--secure/ssh.mk3
2 files changed, 3 insertions, 1 deletions
diff --git a/crypto/openssh/sk_config.h b/crypto/openssh/sk_config.h
new file mode 100644
index 000000000000..b22487587dfc
--- /dev/null
+++ b/crypto/openssh/sk_config.h
@@ -0,0 +1 @@
+#define ENABLE_SK_INTERNAL /**/
diff --git a/secure/ssh.mk b/secure/ssh.mk
index 822946253263..9ee533c10eca 100644
--- a/secure/ssh.mk
+++ b/secure/ssh.mk
@@ -8,5 +8,6 @@ CFLAGS+= -I${SSHDIR} -include ssh_namespace.h
SRCS+= ssh_namespace.h
.if ${MK_USB} != "no"
-CFLAGS+= -DENABLE_SK_INTERNAL=1
+# Built-in security key support
+CFLAGS+= -include sk_config.h
.endif