diff options
Diffstat (limited to '')
-rw-r--r-- | libhashsum_init_md5_hasher.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libhashsum_init_md5_hasher.c b/libhashsum_init_md5_hasher.c index 7bf19af..8c06527 100644 --- a/libhashsum_init_md5_hasher.c +++ b/libhashsum_init_md5_hasher.c @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include "common.h" +#ifdef SUPPORT_MD5 static const uint32_t S[64] = { @@ -205,3 +206,14 @@ libhashsum_init_md5_hasher(struct libhashsum_hasher *this) this->state.md5.h.h32[3] = UINT32_C(0x10325476); return 0; } + + +#else +int +libhashsum_init_md5_hasher(struct libhashsum_hasher *this) +{ + (void) this; + errno = ENOSYS; + return -1; +} +#endif |