📄 tls.h
字号:
#ifndef __TLS_H__#define __TLS_H__ 1#ifdef WITH_TLS# include <openssl/ssl.h># include <openssl/err.h># include <openssl/rand.h>int tls_init_library(void);void tls_free_library(void);int tls_init_new_session(void);# ifndef IN_TLS_Cextern# endif SSL_CTX *tls_ctx;# ifndef IN_TLS_Cextern# endif SSL *tls_cnx;/* If we really have to, use an insecure but exportable 512-bits key */# define RSA_EPHEMERAL_KEY_LEN 512/* The minimal number of bits we accept for a cipher */# define MINIMAL_CIPHER_KEY_LEN 40#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -