先帝创业未半而中道崩殂,今天下三分,益州疲弊,此诚危急存亡之秋也。然侍卫之臣不懈于内,忠志之士忘身于外者,盖追先帝之殊遇,欲报之于陛下也。诚宜开张圣听,以光先帝遗德,恢弘志士之气,不宜妄自菲薄,引喻失义,以塞忠谏之路也先帝は天下を興す志半ばにして志半ばにして崩御されました。今、天下は三つに分かれ、益州は疲弊しており、まさに存亡の危機に瀕しております。しかしながら、宮中で職務に励む臣下や、外地で身を顧みず尽力する志士たちがいるのは、ひとえに先帝から受けた格別な恩義を思い、陛下に報いようとする志があるからです。今こそ陛下には広く臣下の意見に耳を傾け、先帝の遺徳を輝かせ、志士たちの士気を高めるべきです。決して自らを卑下したり、不適切な例えを用いて忠言の道を閉ざしたりしてはなりません。鍏堝笣鍒涗笟鏈崐鑰屼腑閬撳穿娈傦紝浠婂ぉ涓嬩笁鍒嗭紝鐩婂窞鐤插紛锛屾璇氬嵄鎬ュ瓨浜′箣绉嬩篃銆傜劧渚嶅崼涔嬭嚕涓嶆噲浜庡唴锛屽繝蹇椾箣澹繕韬簬澶栬€咃紝鐩栬拷鍏堝笣涔嬫畩閬囷紝娆叉姤涔嬩簬闄涗笅涔熴€傝瘹瀹滃紑寮犲湥鍚紝浠ュ厜鍏堝笣閬楀痉锛屾仮寮樺織澹箣姘旓紝涓嶅疁濡勮嚜鑿茶杽锛屽紩鍠诲け涔夛紝浠ュ蹇犺皬涔嬭矾涔
Current path: usr/lib64/python3.6/asyncio/__pycache__/
⬆️ Go up: /usr/lib64/python3.6/asyncio
3
\�e �
@ s� d dl Z d dlZyd dlZW n ek
r4 dZY nX ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
dd � Zd
d� ZdZ
d
ZdZdZG dd� de�ZG dd� dejej�ZG dd� dej�ZdS )� N� )�base_events)�compat)� protocols)�
transports)�loggerc C sj | rt d��ttd�r*tj� }|sfd|_n<tjtj�}| jtjO _| jtj O _|j
� tj|_|S )Nz(Server side SSL needs a valid SSLContext�create_default_contextF)
�
ValueError�hasattr�sslr �check_hostnameZ
SSLContextZPROTOCOL_SSLv23ZoptionsZOP_NO_SSLv2ZOP_NO_SSLv3Zset_default_verify_pathsZ
CERT_REQUIRED�verify_mode)�server_side�server_hostname�
sslcontext� r �(/usr/lib64/python3.6/asyncio/sslproto.py�_create_transport_context s
r c C s
t td�S )N� MemoryBIO)r
r r r r r �_is_sslproto_available% s r Z UNWRAPPEDZDO_HANDSHAKEZWRAPPEDZSHUTDOWNc @ s~ e Zd ZdZdZddd�Zedd� �Zed d
� �Zedd� �Z ed
d� �Z
ddd�Zddd�Zdd� Z
ddd�Zd dd�ZdS )!�_SSLPipea An SSL "Pipe".
An SSL pipe allows you to communicate with an SSL/TLS protocol instance
through memory buffers. It can be used to implement a security layer for an
existing connection where you don't have access to the connection's file
descriptor, or for some reason you don't want to use it.
An SSL pipe can be in "wrapped" and "unwrapped" mode. In unwrapped mode,
data is passed through untransformed. In wrapped mode, application level
data is encrypted to SSL record level data and vice versa. The SSL record
level is the lowest level in the SSL protocol suite and is what travels
as-is over the wire.
An SslPipe initially is in "unwrapped" mode. To start SSL, call
do_handshake(). To shutdown SSL again, call unwrap().
� i Nc C sH || _ || _|| _t| _tj� | _tj� | _d| _ d| _
d| _d| _dS )a�
The *context* argument specifies the ssl.SSLContext to use.
The *server_side* argument indicates whether this is a server side or
client side transport.
The optional *server_hostname* argument can be used to specify the
hostname you are connecting to. You may only specify this parameter if
the _ssl module supports Server Name Indication (SNI).
NF)
�_context�_server_side�_server_hostname�
_UNWRAPPED�_stater r � _incoming� _outgoing�_sslobj�
_need_ssldata�
_handshake_cb�_shutdown_cb)�self�contextr r r r r �__init__D s
z_SSLPipe.__init__c C s | j S )z*The SSL context passed to the constructor.)r )r# r r r r$ Z s z_SSLPipe.contextc C s | j S )z^The internal ssl.SSLObject instance.
Return None if the pipe is not wrapped.
)r )r# r r r �
ssl_object_ s z_SSLPipe.ssl_objectc C s | j S )zgWhether more record level data is needed to complete a handshake
that is currently in progress.)r )r# r r r �need_ssldatag s z_SSLPipe.need_ssldatac C s
| j tkS )zj
Whether a security layer is currently in effect.
Return False during handshake.
)r �_WRAPPED)r# r r r �wrappedm s z_SSLPipe.wrappedc C sb | j tkrtd��| jj| j| j| j| jd�| _ t
| _ || _| jddd�\}}t
|�dks^t�|S )aL Start the SSL handshake.
Return a list of ssldata. A ssldata element is a list of buffers
The optional *callback* argument can be used to install a callback that
will be called when the handshake is complete. The callback will be
called with None if successful, else an exception instance.
z"handshake in progress or completed)r r � T)�only_handshaker )r r �RuntimeErrorr Zwrap_bior r r r r �
_DO_HANDSHAKEr! �feed_ssldata�len�AssertionError)r# �callback�ssldata�appdatar r r �do_handshakev s
z_SSLPipe.do_handshakec C sj | j tkrtd��| j tkr$td��| j ttfks6t�t| _ || _| jd�\}}|g ksf|dgksft�|S )a1 Start the SSL shutdown sequence.
Return a list of ssldata. A ssldata element is a list of buffers
The optional *callback* argument can be used to install a callback that
will be called when the shutdown is complete. The callback will be
called without arguments.
zno security layer presentzshutdown in progressr* ) r r r, � _SHUTDOWNr( r- r0 r"