summaryrefslogtreecommitdiff
path: root/md-sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'md-sha256.c')
-rw-r--r--md-sha256.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/md-sha256.c b/md-sha256.c
index 82c526d33..ff7f38157 100644
--- a/md-sha256.c
+++ b/md-sha256.c
@@ -20,7 +20,11 @@
20 20
21#ifndef HAVE_EVP_SHA256 21#ifndef HAVE_EVP_SHA256
22 22
23#include <string.h>
23#include <openssl/evp.h> 24#include <openssl/evp.h>
25#if defined(HAVE_SHA2_H) && defined(HAVE_SHA256_UPDATE)
26# include <sha2.h>
27#endif
24 28
25RCSID("$OpenBSD: md-sha256.c,v 1.1 2006/03/07 09:07:40 djm Exp $"); 29RCSID("$OpenBSD: md-sha256.c,v 1.1 2006/03/07 09:07:40 djm Exp $");
26 30