| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/OpenSSL/__pycache__/ |
Upload File : |
a
�Sae � @ s� d dl Z d dlZd dlmZmZ d dlmZ e� Ze�� ej Z ej
Z
e jdd�Zdd� Z
dd � Zd
d� Zdd
� Zdd� Zer�dd� Zndd� Ze� Zejd Zdd� ZdS )� N)�PY2� text_type)�BindingF)Zshould_clear_after_allocc C s | sdS t t�| ��S )z�
Get a native string type representing of the given CFFI ``char*`` object.
:param charp: A C-style string represented using CFFI.
:return: :class:`str`
� )�native�ffi�string)Zcharp� r �1/usr/lib/python3.9/site-packages/OpenSSL/_util.py�text s r c C sR g }t �� }|dkrqF|�tt �|��tt �|��tt �|��f� q| |��dS )ac
Convert an OpenSSL library failure into a Python exception.
When a call to the native OpenSSL library fails, this is usually signalled
by the return value, and an error code is stored in an error queue
associated with the current thread. The err library provides functions to
obtain these error codes and textual error messages.
r N)�libZ
ERR_get_error�appendr ZERR_lib_error_stringZERR_func_error_stringZERR_reason_error_string)Zexception_type�errors�errorr r r
�exception_from_error_queue"