mirror of
https://github.com/curl/curl.git
synced 2026-07-23 08:37:16 +03:00
CyaSSL 2.0+ library initialization adjustment
This commit is contained in:
parent
0604b2fb90
commit
2d833852f6
1 changed files with 5 additions and 0 deletions
|
|
@ -404,7 +404,12 @@ size_t Curl_cyassl_version(char *buffer, size_t size)
|
|||
|
||||
int Curl_cyassl_init(void)
|
||||
{
|
||||
#if (LIBCYASSL_VERSION_HEX >= 0x02000000)
|
||||
if(SSL_library_init() != SSL_SUCCESS)
|
||||
return 0;
|
||||
#else
|
||||
InitCyaSSL();
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue