winpr/ssl: Call the winpr_enable_fips function only once
The `winpr_enable_fips` function is called twice from the `winpr_InitializeSSL` function after commit49936a7b
. I believe this is a bug, which might lead to some undesired behavior. Let's call that only once. (cherry picked from commit554952a0bc
)
This commit is contained in:
parent
34ddfc5348
commit
d6466ad0c4
@ -306,7 +306,7 @@ static BOOL CALLBACK _winpr_openssl_initialize(PINIT_ONCE once, PVOID param, PVO
|
||||
|
||||
#endif
|
||||
g_winpr_openssl_initialized_by_winpr = TRUE;
|
||||
return winpr_enable_fips(flags);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* exported functions */
|
||||
|
Loading…
Reference in New Issue
Block a user