aboutsummaryrefslogtreecommitdiff
path: root/src/crc32.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-09-17 18:48:55 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-09-18 21:37:17 +0200
commite7009fe8f3928db009f5d03ff47bd159599e5440 (patch)
treeee24085b00f84a9d1310468719d8d5194cfeaf67 /src/crc32.c
parentffb827b539635236c2c46804a899999949c07187 (diff)
downloadlibssh-e7009fe8f3928db009f5d03ff47bd159599e5440.tar.gz
libssh-e7009fe8f3928db009f5d03ff47bd159599e5440.tar.xz
libssh-e7009fe8f3928db009f5d03ff47bd159599e5440.zip
priv: Create crc32.h.
As crc32 is only needed by SSHv1, build it only with SSHv1.
Diffstat (limited to 'src/crc32.c')
-rw-r--r--src/crc32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crc32.c b/src/crc32.c
index 94d3020c..cb4e931d 100644
--- a/src/crc32.c
+++ b/src/crc32.c
@@ -21,7 +21,10 @@
* MA 02111-1307, USA.
*/
+#include "config.h"
+
#include "libssh/priv.h"
+#include "libssh/crc32.h"
static uint32_t crc_table[] = {
0x00000000UL, 0x77073096UL, 0xee0e612cUL, 0x990951baUL, 0x076dc419UL,