mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	ENH: set ssl version to 1.2
Change-Id: I859d55b0b0adf04e79ae812fafb04dc310ca4587 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
		
							parent
							
								
									e9b9561f60
								
							
						
					
					
						commit
						efc761d794
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -164,7 +164,9 @@ Http::priv::priv(const std::string &url) | |||
| 	::curl_easy_setopt(curl, CURLOPT_URL, url.c_str());   // curl makes a copy internally
 | ||||
| 	::curl_easy_setopt(curl, CURLOPT_USERAGENT, SLIC3R_APP_NAME "/" SLIC3R_VERSION); | ||||
| 	::curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, &error_buffer.front()); | ||||
| 
 | ||||
| #ifdef __WINDOWS__ | ||||
| 	::curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_MAX_TLSv1_2); | ||||
| #endif | ||||
| 	::curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); | ||||
| 	::curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Stone Li
						Stone Li