]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Wrap #include <openssl/dsa.h> in #ifdef WITH_DSA
authortb@openbsd.org <tb@openbsd.org>
Wed, 2 Apr 2025 04:28:03 +0000 (04:28 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 7 Apr 2025 11:12:02 +0000 (21:12 +1000)
ok djm

OpenBSD-Commit-ID: ed01a7c102243f84e4a317aefb431916d98aab15

sshkey.h

index d0cdea0ce343f7bdbba31d58842eea019217843e..19bbbac7dc0f77f11c8671130e728c6ab032e005 100644 (file)
--- a/sshkey.h
+++ b/sshkey.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshkey.h,v 1.65 2024/09/04 05:33:34 djm Exp $ */
+/* $OpenBSD: sshkey.h,v 1.66 2025/04/02 04:28:03 tb Exp $ */
 
 /*
  * Copyright (c) 2000, 2001 Markus Friedl.  All rights reserved.
@@ -30,7 +30,9 @@
 
 #ifdef WITH_OPENSSL
 #include <openssl/rsa.h>
+#ifdef WITH_DSA
 #include <openssl/dsa.h>
+#endif
 #include <openssl/evp.h>
 # ifdef OPENSSL_HAS_ECC
 #  include <openssl/ec.h>