| Server IP : 77.68.64.21 / Your IP : 216.73.217.145 Web Server : Apache System : Linux hp3-wp-1011352.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64 User : csh2516497 ( 2094697) PHP Version : 8.3.30 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/python2.7/site-packages/M2Crypto/SSL/ |
Upload File : |
�
��NVc @ s� d Z d d d d d g Z d d l m Z m Z m Z d d l Z d d l Z d e f d � � YZ d e f d
� � YZ
d e f d � � YZ d e f d � � YZ d d d
� � YZ
e d k r� d d l Z e j � n d S( s�
SSL peer certificate checking routines
Copyright (c) 2004-2007 Open Source Applications Foundation.
All rights reserved.
Copyright 2008 Heikki Toivonen. All rights reserved.
t SSLVerificationErrort
NoCertificatet WrongCertificatet WrongHostt Checkeri����( t utilt EVPt m2Nc B s e Z RS( ( t __name__t
__module__( ( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Checker.pyR s c B s e Z RS( ( R R ( ( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Checker.pyR s c B s e Z RS( ( R R ( ( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Checker.pyR s c B s e Z d d � Z d � Z RS( t
commonNamec C sG | d k r t d � � n t j | � | | _ | | _ | | _ d S( sz
This exception will be raised if the certificate returned by the
peer was issued for a different host than we tried to connect to.
This could be due to a server misconfiguration or an active attack.
@param expectedHost: The name of the host we expected to find in the
certificate.
@param actualHost: The name of the host we actually found in the
certificate.
@param fieldName: The field name where we noticed the error. This
should be either 'commonName' or 'subjectAltName'.
R
t subjectAltNames@ Unknown fieldName, should be either commonName or subjectAltNameN( s
commonNames subjectAltName( t
ValueErrorR t __init__t expectedHostt
actualHostt fieldName( t selfR R R ( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Checker.pyR
s
c C sA d | j | j | j f } t | t � r= | j d � } n | S( Ns<