⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.62
Server IP:
57.129.66.90
Server:
Linux vps-7f548908 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
OpenSSL
/
__pycache__
/
Edit File: _util.cpython-310.pyc
o Sae @ s d dl Z d dlZd dlmZmZ d dlmZ e Ze ej Z ej Z e jddZdd 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` )nativeffistring)charp r //usr/lib/python3/dist-packages/OpenSSL/_util.pytext 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_errorappendr ERR_lib_error_stringERR_func_error_stringERR_reason_error_string)exception_typeerrorserrorr r r exception_from_error_queue" s r c s fdd}|S )z~ Create an assert function that uses :func:`exception_from_error_queue` to raise an exception wrapped by *error*. c s | dur t dS dS )zT If *ok* is not True, retrieve the error from OpenSSL and raise it. TN)r )okr r r openssl_assertB s z#make_assert.
.openssl_assertr )r r r r r make_assert<