From 59754238a2b87589ec52d3befb2989e448cef35d Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 14 Jan 2017 07:57:34 +0000 Subject: [PATCH] libnetbsd: improve sha1.h compat with FreeBSD Map SHA1_CTX to SHA_CTX and SHA1Final to SHA1_Final --- lib/libnetbsd/sha1.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libnetbsd/sha1.h b/lib/libnetbsd/sha1.h index 41280c58b076..9da870eacf6e 100644 --- a/lib/libnetbsd/sha1.h +++ b/lib/libnetbsd/sha1.h @@ -35,8 +35,11 @@ #include +#define SHA1_CTX SHA_CTX + #define SHA1End SHA1_End #define SHA1File SHA1_File +#define SHA1Final SHA1_Final #define SHA1Init SHA1_Init #define SHA1Update SHA1_Update