~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to lib/cyassl.c

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2012-03-23 16:24:51 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 59.
  • Revision ID: package-import@ubuntu.com-20120323162451-z4gstlabjkgnrh7h
Tags: upstream-7.25.0
ImportĀ upstreamĀ versionĀ 7.25.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
404
404
 
405
405
int Curl_cyassl_init(void)
406
406
{
407
 
#if (LIBCYASSL_VERSION_HEX >= 0x02000000)
408
 
  if(SSL_library_init() != SSL_SUCCESS)
409
 
    return 0;
410
 
#else
411
 
  InitCyaSSL();
412
 
#endif
 
407
  if(CyaSSL_Init() == 0)
 
408
    return 1;
413
409
 
414
 
  return 1;
 
410
  return -1;
415
411
}
416
412
 
417
413