摘要:
初始化: struct tls_connection * tls_connection_init(void *ssl_ctx) { struct tls_data *data = ssl_ctx; SSL_CTX *ssl = data->ssl; struct tls_connection *co 阅读全文
posted @ 2024-07-16 22:47
codestacklinuxer
阅读(64)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2024-07-16 18:09
codestacklinuxer
阅读(846)
评论(0)
推荐(0)
摘要:
建立tls后copy数据到clean_in 然后写入到ssl加密,从from_ssl 读取加密后的数据然后发送 /* * Take cleartext user data, and encrypt it into the output buffer, * to send to the client 阅读全文
posted @ 2024-07-16 14:51
codestacklinuxer
阅读(93)
评论(0)
推荐(0)

浙公网安备 33010602011771号