mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
ITS#8294 avoid symbol clash with other crypto libs
This commit is contained in:
parent
597ce61000
commit
01c27e1342
@ -144,6 +144,24 @@ typedef SHA512_CTX SHA384_CTX;
|
||||
|
||||
|
||||
/*** SHA-256/384/512 Function Prototypes ******************************/
|
||||
#define SHA256_Init pw_SHA256_Init
|
||||
#define SHA256_Update pw_SHA256_Update
|
||||
#define SHA256_Final pw_SHA256_Final
|
||||
#define SHA256_End pw_SHA256_End
|
||||
#define SHA256_Data pw_SHA256_Data
|
||||
|
||||
#define SHA384_Init pw_SHA384_Init
|
||||
#define SHA384_Update pw_SHA384_Update
|
||||
#define SHA384_Final pw_SHA384_Final
|
||||
#define SHA384_End pw_SHA384_End
|
||||
#define SHA384_Data pw_SHA384_Data
|
||||
|
||||
#define SHA512_Init pw_SHA512_Init
|
||||
#define SHA512_Update pw_SHA512_Update
|
||||
#define SHA512_Final pw_SHA512_Final
|
||||
#define SHA512_End pw_SHA512_End
|
||||
#define SHA512_Data pw_SHA512_Data
|
||||
|
||||
#ifndef NOPROTO
|
||||
#ifdef SHA2_USE_INTTYPES_H
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user