diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vtls/cyassl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c index a8c1ba5f3..583930cf4 100644 --- a/lib/vtls/cyassl.c +++ b/lib/vtls/cyassl.c @@ -496,10 +496,7 @@ size_t Curl_cyassl_version(char *buffer, size_t size) int Curl_cyassl_init(void) { - if(CyaSSL_Init() == 0) - return 1; - - return -1; + return (CyaSSL_Init() == SSL_SUCCESS); } |