ok

Mini Shell

Direktori : /usr/lib64/python2.7/site-packages/M2Crypto/SSL/
Upload File :
Current File : //usr/lib64/python2.7/site-packages/M2Crypto/SSL/cb.pyo

�

�1Mc@s�dZdddddgZddlZddlZddlmZd	�Zejejej	ej
gZd
�Zd�Z
d�ZdS(
sKSSL callbacks

Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved.tunknown_issuertssl_verify_callback_stubtssl_verify_callbackt$ssl_verify_callback_allow_unknown_catssl_info_callbacki����N(tm2cCs|S(N((tssl_ctx_ptrtx509_ptrterrnumterrdepthtok((s5/usr/lib64/python2.7/site-packages/M2Crypto/SSL/cb.pyRscCs�tj�t|�}|tkrd|j�rdtjjdtj	|��tjj
�d}qdn|r�|j�|kr�d}q�d}n|S(Nspolicy: %s: permitted...
ii(tContexttmaptlongRtget_allow_unknown_catsyststderrtwriteRtx509_get_verify_errortflushtget_verify_depth(RRRR	R
tssl_ctx((s5/usr/lib64/python2.7/site-packages/M2Crypto/SSL/cb.pyRs
		cCs%|j�}|tkr!d}n|S(Ni(t	get_errorR(R
tstoreR((s5/usr/lib64/python2.7/site-packages/M2Crypto/SSL/cb.pyR*s	cCsh|tj@}|tj@r$d}n|tj@r:d}nd}|tj@r�tjjd|tj|�f�tjj	�dS|tj
@r�|s�tjjd|tj|�f�tjj	�n0tjjd|tj|�f�tjj	�dS|tj@rd|tj@rd}nd}tjjd	|tj
|�tj|�f�tjj	�dSdS(
NsSSL connects
SSL acceptsSSL state unknowns
LOOP: %s: %s
sFAILED: %s: %s
s
INFO: %s: %s
treadRsALERT: %s: %s: %s
(RtSSL_ST_MASKtSSL_ST_CONNECTt
SSL_ST_ACCEPTtSSL_CB_LOOPRRRtssl_get_state_vRtSSL_CB_EXITtSSL_CB_ALERTtSSL_CB_READtssl_get_alert_type_vtssl_get_alert_desc_v(twheretrettssl_ptrtwtstate((s5/usr/lib64/python2.7/site-packages/M2Crypto/SSL/cb.pyR1s2
	
	
#

##


	#
(t__doc__t__all__RRtM2CryptoRRt&X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERTt,X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLYt*X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATUREtX509_V_ERR_CERT_UNTRUSTEDRRRR(((s5/usr/lib64/python2.7/site-packages/M2Crypto/SSL/cb.pyt<module>s				

Zerion Mini Shell 1.0