mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Fixes for fips compatibility
This commit is contained in:
@@ -85,6 +85,13 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* For FIPS keep the function names the same */
|
||||||
|
#ifdef HAVE_FIPS
|
||||||
|
#define wc_InitMutex InitMutex
|
||||||
|
#define wc_FreeMutex FreeMutex
|
||||||
|
#define wc_LockMutex LockMutex
|
||||||
|
#define wc_UnLockMutex UnLockMutex
|
||||||
|
#endif /* HAVE_FIPS */
|
||||||
|
|
||||||
#ifdef SINGLE_THREADED
|
#ifdef SINGLE_THREADED
|
||||||
typedef int wolfSSL_Mutex;
|
typedef int wolfSSL_Mutex;
|
||||||
|
Reference in New Issue
Block a user