X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sha1.h;h=304beb93b2e21e1ebbfc4ec2096e8edbe60c73b6;hp=838195587c989dba20fa71d47556e891ce18400c;hb=2709e0121568c93bd012a57dedb15456271ef025;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/sha1.h b/sha1.h index 8381955..304beb9 100644 --- a/sha1.h +++ b/sha1.h @@ -9,24 +9,7 @@ #ifndef _SHA1_H # define _SHA1_H -#include "config.h" - -#include -#if HAVE_INTTYPES_H -# include -#else -# if HAVE_STDINT_H -# include -# 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]; @@ -47,4 +30,3 @@ void SHA1Final(unsigned char digest[20], SHA1_CTX* context); # define SHA_DIGEST_LENGTH 20 #endif -