Changeset 14227


Ignore:
Timestamp:
Jan 19, 2014, 1:53:07 AM (7 years ago)
Author:
jordan
Message:

(trunk, daemon) #5562: 'Discrepancy in curl SSL setup between tr-daemon and tr-remote' -- fix by mike.dld

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/remote.c

    r14225 r14227  
    17701770        curl_easy_setopt (curl, CURLOPT_USERPWD, auth);
    17711771    if (UseSSL)
     1772    {
     1773        curl_easy_setopt (curl, CURLOPT_SSL_VERIFYHOST, 0); /* do not verify subject/hostname */
    17721774        curl_easy_setopt (curl, CURLOPT_SSL_VERIFYPEER, 0); /* since most certs will be self-signed, do not verify against CA */               
     1775    }
    17731776    if (sessionId) {
    17741777        char * h = tr_strdup_printf ("%s: %s", TR_RPC_SESSION_ID_HEADER, sessionId);
Note: See TracChangeset for help on using the changeset viewer.