[maemo-commits] [maemo-commits] r16943 - projects/haf/trunk/apt/methods
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Dec 11 20:36:26 EET 2008
- Previous message: [maemo-commits] r16942 - projects/haf/tags/hildon-fm
- Next message: [maemo-commits] r16944 - projects/haf/trunk/apt/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: marivoll
Date: 2008-12-11 20:36:22 +0200 (Thu, 11 Dec 2008)
New Revision: 16943
Modified:
projects/haf/trunk/apt/methods/https.cc
Log:
* Read ~/.netrc in the https method.
Modified: projects/haf/trunk/apt/methods/https.cc
===================================================================
--- projects/haf/trunk/apt/methods/https.cc 2008-12-11 14:14:50 UTC (rev 16942)
+++ projects/haf/trunk/apt/methods/https.cc 2008-12-11 18:36:22 UTC (rev 16943)
@@ -197,6 +197,8 @@
curl_easy_setopt(curl, CURLOPT_FAILONERROR, true);
curl_easy_setopt(curl, CURLOPT_FILETIME, true);
+ curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
+
// FIXME: https: offer various options of verification
bool peer_verify = _config->FindB("Acquire::https::Verify-Peer", false);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, peer_verify);
- Previous message: [maemo-commits] r16942 - projects/haf/tags/hildon-fm
- Next message: [maemo-commits] r16944 - projects/haf/trunk/apt/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
