摘要:
初始化: struct tls_connection * tls_connection_init(void *ssl_ctx) { struct tls_data *data = ssl_ctx; SSL_CTX *ssl = data->ssl; struct tls_connection *co 阅读全文
摘要:
SSL_read函数定义 SSL_read(3SSL) OpenSSL SSL_read(3SSL) NAME SSL_read - read bytes from a TLS/SSL connection. SYNOPSIS #include <openssl/ssl.h> int SSL_rea 阅读全文
摘要:
建立tls后copy数据到clean_in 然后写入到ssl加密,从from_ssl 读取加密后的数据然后发送 /* * Take cleartext user data, and encrypt it into the output buffer, * to send to the client 阅读全文