libnetbsd: improve sha1.h compat with FreeBSD
Map SHA1_CTX to SHA_CTX and SHA1Final to SHA1_Final
This commit is contained in:
parent
9a62e988b3
commit
59754238a2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user