X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/63af6f3a15c5c4779761761bd4d6185e4679eafc..5fb822fc4839e253d2f839ba7966bc25a5329ac1:/src/src/hash.h diff --git a/src/src/hash.h b/src/src/hash.h index d3531ccd9..89bedb926 100644 --- a/src/src/hash.h +++ b/src/src/hash.h @@ -30,7 +30,7 @@ /* Hash context for the exim_sha_* routines */ typedef struct { - int sha1; + BOOL is_sha1; int hashlen; #ifdef SHA_OPENSSL @@ -50,6 +50,9 @@ typedef struct { sha1_context sha1; /* SHA1 block */ sha2_context sha2; /* SHA256 block */ } u; + +#elif defined(SHA_NATIVE) + sha1 sha1; #endif } hctx;