From b024193102a01a61e94d0d1dd575554ef89d9396 Mon Sep 17 00:00:00 2001
From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
Date: Sat, 13 Sep 2025 07:30:33 +0200
Subject: [PATCH 4/4] Drop usage of ssh.c and ssh2.c for now

---
 Makefile | 3 ++-
 key.c    | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 65eff25..b8b7345 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,8 @@
 # $OpenBSD: Makefile,v 1.2 2005/05/29 02:41:42 marius Exp $
 
 PROG	= gzsig
-SRCS	= gzsig.c key.c pemrsa.c sign.c ssh.c ssh2.c util.c verify.c x509.c
+#SRCS	= gzsig.c key.c pemrsa.c sign.c ssh.c ssh2.c util.c verify.c x509.c
+SRCS	= gzsig.c key.c pemrsa.c sign.c util.c verify.c x509.c
 
 LDADD	= -lcrypto -lm
 
diff --git a/key.c b/key.c
index 19ff6a5..9508945 100644
--- a/key.c
+++ b/key.c
@@ -56,15 +56,15 @@
 typedef int (*key_loader)(struct key *, struct iovec *);
 
 static key_loader pubkey_loaders[] = {
-	ssh_load_public,
-	ssh2_load_public,
+	//ssh_load_public,
+	//ssh2_load_public,
 	x509_load_public,
 	pemrsa_load_public,
 	NULL
 };
 
 static key_loader privkey_loaders[] = {
-	ssh_load_private,
+	//ssh_load_private,
 	x509_load_private,
 	NULL
 };
-- 
2.49.1

