mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue