aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/crypto.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-26 00:29:53 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-26 00:29:53 +0200
commit3a8d839e8604bf66c04ad0b46e51402428a88b1a (patch)
treed4b3e09a967ebd723bec679311c29399dc58636a /include/libssh/crypto.h
parent358647f5d9df24fc55f670a343152fd277416266 (diff)
downloadlibssh-3a8d839e8604bf66c04ad0b46e51402428a88b1a.tar.gz
libssh-3a8d839e8604bf66c04ad0b46e51402428a88b1a.tar.xz
libssh-3a8d839e8604bf66c04ad0b46e51402428a88b1a.zip
More include file movings
Diffstat (limited to 'include/libssh/crypto.h')
-rw-r--r--include/libssh/crypto.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index 51805393..33d01144 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -1,7 +1,7 @@
/*
* This file is part of the SSH Library
*
- * Copyright (c) 2003 by Aris Adamantiadis
+ * Copyright (c) 2003,2009 by Aris Adamantiadis
*
* The SSH Library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -20,11 +20,13 @@
*/
/*
- * crypto.h is an include file for internal structures of libssh
- * It hasn't to be into the final development set of files (and btw
- * the filename would cause problems on most systems).
+ * crypto.h is an include file for internal cryptographic structures of libssh
*/
+#ifndef _CRYPTO_H_
+#define _CRYPTO_H_
+
+#include "config.h"
#ifdef cbc_encrypt
#undef cbc_encrypt
#endif
@@ -32,7 +34,7 @@
#undef cbc_decrypt
#endif
-#ifdef GCRYPT
+#ifdef HAVE_LIBGCRYPT
#include <gcrypt.h>
#endif
@@ -66,3 +68,4 @@ struct crypto_struct {
};
/* vim: set ts=2 sw=2 et cindent: */
+#endif /* _CRYPTO_H_ */