⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
OpenSSL
/
__pycache__
/
View File Name :
_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)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` )nativeffistring)Zcharp 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 )libZ ERR_get_errorappendr ZERR_lib_error_stringZERR_func_error_stringZERR_reason_error_string)Zexception_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<