libnetbsd: improve sha1.h compat with FreeBSD

Map SHA1_CTX to SHA_CTX and SHA1Final to SHA1_Final
This commit is contained in:
Enji Cooper 2017-01-14 07:57:34 +00:00
parent 9a62e988b3
commit 59754238a2

View File

@ -35,8 +35,11 @@
#include <sha.h>
#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