aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-01-02 16:20:43 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2012-01-02 16:41:52 +0100
commit89733e697fafaaf295928b148073fe5b3c191de7 (patch)
tree0b98d509b1f237df863b4e4b4b0d9109d67d484b
parent2ffbdb0492d3ceae6943eff1a8fd39076808c175 (diff)
downloadlibssh-89733e697fafaaf295928b148073fe5b3c191de7.tar.gz
libssh-89733e697fafaaf295928b148073fe5b3c191de7.tar.xz
libssh-89733e697fafaaf295928b148073fe5b3c191de7.zip
patch pki_gcrypt.c to be compilable without CMake
-rw-r--r--src/pki_gcrypt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pki_gcrypt.c b/src/pki_gcrypt.c
index 6a3a9c6..27c5eed 100644
--- a/src/pki_gcrypt.c
+++ b/src/pki_gcrypt.c
@@ -24,6 +24,8 @@
#include "config.h"
+#ifdef HAVE_LIBGCRYPT
+
#include <string.h>
#include <stdlib.h>
#include <gcrypt.h>
@@ -1672,4 +1674,6 @@ ssh_signature pki_do_sign_sessionid(const ssh_key key,
}
#endif /* WITH_SERVER */
+#endif /* HAVE_LIBGCRYPT */
+
/* vim: set ts=4 sw=4 et cindent: */