diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-09-17 20:00:13 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-09-18 21:37:17 +0200 |
commit | acfc8ea83fcaa424f2800acda627f919a45e6bb2 (patch) | |
tree | 32b23cb7583cdfa9a72baad39ffbfeaf4d3e7581 /include | |
parent | c2686b8febf2c57761cfa9e47c8dc533f84d1cb2 (diff) | |
download | libssh-acfc8ea83fcaa424f2800acda627f919a45e6bb2.tar.gz libssh-acfc8ea83fcaa424f2800acda627f919a45e6bb2.tar.xz libssh-acfc8ea83fcaa424f2800acda627f919a45e6bb2.zip |
priv: Remove crypto.h and add correct includes to src files.
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/dh.h | 2 | ||||
-rw-r--r-- | include/libssh/pki.h | 2 | ||||
-rw-r--r-- | include/libssh/priv.h | 1 | ||||
-rw-r--r-- | include/libssh/wrapper.h | 1 |
4 files changed, 4 insertions, 2 deletions
diff --git a/include/libssh/dh.h b/include/libssh/dh.h index c82cba79..fcdaaf46 100644 --- a/include/libssh/dh.h +++ b/include/libssh/dh.h @@ -24,6 +24,8 @@ #include "config.h" +#include "libssh/crypto.h" + void ssh_print_bignum(const char *which,bignum num); int dh_generate_e(ssh_session session); int dh_generate_f(ssh_session session); diff --git a/include/libssh/pki.h b/include/libssh/pki.h index d4cc8503..ad8bdb0e 100644 --- a/include/libssh/pki.h +++ b/include/libssh/pki.h @@ -22,6 +22,8 @@ #ifndef PKI_H_ #define PKI_H_ +#include "libssh/crypto.h" + #define SSH_KEY_FLAG_EMPTY 0x0 #define SSH_KEY_FLAG_PUBLIC 0x0001 #define SSH_KEY_FLAG_PRIVATE 0x0002 diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 6d8eeb43..522f56bf 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -105,7 +105,6 @@ int gettimeofday(struct timeval *__p, void *__t); #include "libssh/libssh.h" #include "libssh/callbacks.h" -#include "libssh/crypto.h" /* some constants */ #define MAX_PACKET_LEN 262144 diff --git a/include/libssh/wrapper.h b/include/libssh/wrapper.h index 7fe6f8ad..c08ab22a 100644 --- a/include/libssh/wrapper.h +++ b/include/libssh/wrapper.h @@ -25,7 +25,6 @@ #include "config.h" #include "libssh/libcrypto.h" #include "libssh/libgcrypt.h" -#include "libssh/crypto.h" enum ssh_mac_e { SSH_MAC_SHA1=1, |