summaryrefslogtreecommitdiffstats
path: root/include/libssh/crypto.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-11-05 16:08:49 +0100
committerAndreas Schneider <mail@cynapses.org>2009-11-05 16:08:49 +0100
commitf52bc064e9a2d6ce09eaf1ab91090e8d785a88c1 (patch)
tree377b62441500a904a9331e4327d47a659125cebc /include/libssh/crypto.h
parent8ab0f8e51f9b39205e22c9ecf83f21d19442b200 (diff)
parent75f066dfcd530914fad6b69890b5b4c454d1d1e7 (diff)
downloadlibssh-f52bc064e9a2d6ce09eaf1ab91090e8d785a88c1.tar.gz
libssh-f52bc064e9a2d6ce09eaf1ab91090e8d785a88c1.tar.xz
libssh-f52bc064e9a2d6ce09eaf1ab91090e8d785a88c1.zip
Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh
Diffstat (limited to 'include/libssh/crypto.h')
-rw-r--r--include/libssh/crypto.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index d838f245..00bb1c97 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -27,6 +27,12 @@
#define _CRYPTO_H_
#include "config.h"
+
+#ifdef HAVE_LIBGCRYPT
+#include <gcrypt.h>
+#endif
+#include "libssh/wrapper.h"
+
#ifdef cbc_encrypt
#undef cbc_encrypt
#endif
@@ -34,11 +40,6 @@
#undef cbc_decrypt
#endif
-#ifdef HAVE_LIBGCRYPT
-#include <gcrypt.h>
-#endif
-#include "libssh/wrapper.h"
-
struct ssh_crypto_struct {
bignum e,f,x,k,y;
unsigned char session_id[SHA_DIGEST_LEN];