logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://anongit.hacktivis.me/git/overlay.git/

gzsig-20060130-Drop-usage-of-ssh.c-and-ssh2.c-for-now.patch (1209B)


  1. From b024193102a01a61e94d0d1dd575554ef89d9396 Mon Sep 17 00:00:00 2001
  2. From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
  3. Date: Sat, 13 Sep 2025 07:30:33 +0200
  4. Subject: [PATCH 4/4] Drop usage of ssh.c and ssh2.c for now
  5. ---
  6. Makefile | 3 ++-
  7. key.c | 6 +++---
  8. 2 files changed, 5 insertions(+), 4 deletions(-)
  9. diff --git a/Makefile b/Makefile
  10. index 65eff25..b8b7345 100644
  11. --- a/Makefile
  12. +++ b/Makefile
  13. @@ -2,7 +2,8 @@
  14. # $OpenBSD: Makefile,v 1.2 2005/05/29 02:41:42 marius Exp $
  15. PROG = gzsig
  16. -SRCS = gzsig.c key.c pemrsa.c sign.c ssh.c ssh2.c util.c verify.c x509.c
  17. +#SRCS = gzsig.c key.c pemrsa.c sign.c ssh.c ssh2.c util.c verify.c x509.c
  18. +SRCS = gzsig.c key.c pemrsa.c sign.c util.c verify.c x509.c
  19. LDADD = -lcrypto -lm
  20. diff --git a/key.c b/key.c
  21. index 19ff6a5..9508945 100644
  22. --- a/key.c
  23. +++ b/key.c
  24. @@ -56,15 +56,15 @@
  25. typedef int (*key_loader)(struct key *, struct iovec *);
  26. static key_loader pubkey_loaders[] = {
  27. - ssh_load_public,
  28. - ssh2_load_public,
  29. + //ssh_load_public,
  30. + //ssh2_load_public,
  31. x509_load_public,
  32. pemrsa_load_public,
  33. NULL
  34. };
  35. static key_loader privkey_loaders[] = {
  36. - ssh_load_private,
  37. + //ssh_load_private,
  38. x509_load_private,
  39. NULL
  40. };
  41. --
  42. 2.49.1