| Server IP : 74.91.139.10 / Your IP : 10.45.147.122 Web Server : Apache/2.4.62 (AlmaLinux) System : Linux prod-iad-shwpweb1001a 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : FAsyXTyKGY ( 3004) PHP Version : 8.2.32 Disable Function : passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/libexec/oracle-cloud-agent/plugins/osms/OpenSSL/ |
Upload File : |
a
L��f�
� @ s� d dl Z d dlZd dlZd dlmZmZmZmZmZ d dl m
Z
eeee j
f Ze
� ZejZejZejdd�Zeed�dd�Zee ed �d
d�Zee eegef d�d
d�Zeed�dd�Zeed�dd�Ze� ZdZeeed�dd�ZdS )� N)�Any�Callable�NoReturn�Type�Union)�BindingF)�should_clear_after_alloc)�charp�returnc C s | sdS t �| ��d�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`
� �utf-8)�ffi�string�decode)r � r �q/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/OpenSSL/_util.py�text s r )�exception_typer
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)�lib�
ERR_get_error�appendr �ERR_lib_error_string�ERR_func_error_string�ERR_reason_error_string)r �errors�errorr r r �exception_from_error_queue"