summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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: */