Changeset 78066 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkReply.cpp
- Timestamp:
- Apr 9, 2019 4:02:32 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129919
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkReply.cpp
r76606 r78066 777 777 NOREF(pStaticErrInfo); 778 778 int rc; 779 780 /* 781 * Must disable SSL certification verification here as we cannot use the 782 * SSL certificates before we've downloaded them. We must also enable 783 * redirections in case the certificates moves around. 784 */ 785 bool const fSavedVerifyPeer = RTHttpGetVerifyPeer(hHttp); 786 uint32_t const cSavedMaxRedirects = RTHttpGetFollowRedirects(hHttp); 787 RTHttpSetVerifyPeer(hHttp, false); 788 RTHttpSetFollowRedirects(hHttp, 8); 779 789 780 790 /* … … 810 820 { 811 821 RTHttpFreeResponse(pvRootsZip); 822 RTHttpSetVerifyPeer(hHttp, fSavedVerifyPeer); 823 RTHttpSetFollowRedirects(hHttp, cSavedMaxRedirects); 812 824 return; 813 825 } … … 845 857 } 846 858 } 859 860 RTHttpSetVerifyPeer(hHttp, fSavedVerifyPeer); 861 RTHttpSetFollowRedirects(hHttp, cSavedMaxRedirects); 847 862 } 848 863
Note:
See TracChangeset
for help on using the changeset viewer.