X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=src%2Fsrc%2Fhash.c;fp=src%2Fsrc%2Fpdkim%2Fhash.c;h=628df5b4b6d8bb7bef7bd195bc6e2d776f6d0d9a;hp=0f7d0f6d4f9016ea54e57409aa55b0a7485ca2fe;hb=63af6f3a15c5c4779761761bd4d6185e4679eafc;hpb=1a6230a33e235e2b008caabd112f8bc6cb1bcc60 diff --git a/src/src/pdkim/hash.c b/src/src/hash.c similarity index 93% rename from src/src/pdkim/hash.c rename to src/src/hash.c index 0f7d0f6..628df5b 100644 --- a/src/src/pdkim/hash.c +++ b/src/src/hash.c @@ -1,21 +1,22 @@ /* - * PDKIM - a RFC4871 (DKIM) implementation + * Exim - an Internet mail transport agent * * Copyright (C) 2016 Exim maintainers * * Hash interface functions */ -#include "../exim.h" - -#ifndef DISABLE_DKIM /* entire file */ +#include "exim.h" #ifndef SUPPORT_TLS # error Need SUPPORT_TLS for DKIM #endif -#include "crypt_ver.h" +#include "sha_ver.h" +#include "hash.h" + +#ifdef notdef #ifdef RSA_OPENSSL # include # include @@ -27,13 +28,8 @@ # include # endif #endif - -#ifdef SHA_GNUTLS -# include #endif -#include "hash.h" - /******************************************************************************/ #ifdef SHA_OPENSSL @@ -177,5 +173,4 @@ return h->sha1 ? 20 : 32; } -#endif /*DISABLE_DKIM*/ /* End of File */