Commit a634df5b authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#8294 avoid symbol clash with other crypto libs

parent 48c2744c
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment