mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Issue #8321: Give access to OpenSSL version numbers from the ssl module,
				
					
				
			using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO` and `ssl.OPENSSL_VERSION_NUMBER`.
This commit is contained in:
		
							parent
							
								
									fce1d31d47
								
							
						
					
					
						commit
						f9de534c21
					
				
					 5 changed files with 92 additions and 1 deletions
				
			
		|  | @ -59,6 +59,7 @@ | |||
| 
 | ||||
| import _ssl             # if we can't import it, let the error propagate | ||||
| 
 | ||||
| from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, OPENSSL_VERSION | ||||
| from _ssl import SSLError | ||||
| from _ssl import CERT_NONE, CERT_OPTIONAL, CERT_REQUIRED | ||||
| from _ssl import PROTOCOL_SSLv2, PROTOCOL_SSLv3, PROTOCOL_SSLv23, PROTOCOL_TLSv1 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Antoine Pitrou
						Antoine Pitrou