EVP_sha256 if present
- (djm) [includes.h] Restore accidentally dropped netinet/in.h
- (djm) [Makefile.in openbsd-compat/Makefile.in] Add added files
+ - (djm) [md-sha256.c configure.ac] md-sha256.c needs sha2.h if present
20060313
- (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
#ifndef HAVE_EVP_SHA256
+#include <string.h>
#include <openssl/evp.h>
+#if defined(HAVE_SHA2_H) && defined(HAVE_SHA256_UPDATE)
+# include <sha2.h>
+#endif
RCSID("$OpenBSD: md-sha256.c,v 1.1 2006/03/07 09:07:40 djm Exp $");