mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			381 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			381 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/src/mattermostdriver/websocket.py
 | |
| +++ b/src/mattermostdriver/websocket.py
 | |
| @@ -26,7 +26,7 @@
 | |
|  		:type event_handler: Function(message)
 | |
|  		:return:
 | |
|  		"""
 | |
| -		context = ssl.create_default_context(purpose=ssl.Purpose.CLIENT_AUTH)
 | |
| +		context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH)
 | |
|  		if not self.options['verify']:
 | |
|  			context.verify_mode = ssl.CERT_NONE
 | |
|  
 |