#ifndef _SHA1_H
# define _SHA1_H
-#include "config.h"
-
-#include <sys/types.h>
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#else
-# if HAVE_STDINT_H
-# include <stdint.h>
-# endif
-#endif
-
-#ifndef HAVE_UINT32_T
-# if SIZEOF_INT == 4
-typedef unsigned int uint32_t;
-# elif SIZEOF_LONG == 4
-typedef unsigned long uint32_t;
-# endif
-#endif
+#include "crypthash.h"
typedef struct {
uint32_t state[5];
# define SHA_DIGEST_LENGTH 20
#endif
-