~ubuntu-branches/debian/wheezy/curl/wheezy

« back to all changes in this revision

Viewing changes to lib/ssluse.c

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2011-04-13 16:15:27 UTC
  • Revision ID: james.westby@ubuntu.com-20110413161527-u2oy2mcq0068gmae
Tags: 7.21.4-2
* debian/patches/{sslv2-disable, series}: Apply the
  upstream commit c66b0b32fba175d5f096c944d8ec8f9f06299f4a.
  (closes: #622016)
* debian/{rules, control}: enable rtmp. (closes: #622328)
* debian/control: removing hurd from dependencies. Hurd is
  an 'essential' package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1449
1449
    use_sni(TRUE);
1450
1450
    break;
1451
1451
  case CURL_SSLVERSION_SSLv2:
 
1452
#ifdef OPENSSL_NO_SSL2
 
1453
    failf(data, "OpenSSL was built without SSLv2 support");
 
1454
    return CURLE_NOT_BUILT_IN;
 
1455
#else
1452
1456
    req_method = SSLv2_client_method();
1453
1457
    use_sni(FALSE);
1454
1458
    break;
 
1459
#endif    
1455
1460
  case CURL_SSLVERSION_SSLv3:
1456
1461
    req_method = SSLv3_client_method();
1457
1462
    use_sni(FALSE);