| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/OpenSSL/__pycache__/ |
Upload File : |
o
��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� ZerDdd� Zndd� Ze� Zejd Zdd� ZdS )� N)�PY2� text_type)�BindingF)�should_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)�charp� r �//usr/lib/python3/dist-packages/OpenSSL/_util.py�text s r
c C sP g } t �� }|dkr | |��|�tt �|��tt �|��tt �|��f� q)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.
Tr )�lib�
ERR_get_error�appendr
�ERR_lib_error_string�ERR_func_error_string�ERR_reason_error_string)�exception_type�errors�errorr r r �exception_from_error_queue"