[Net] Rename StreamPeerSSL to StreamPeerTLS.
SSL has been deprectated almost 10 years ago.
This commit is contained in:
@ -31,17 +31,17 @@
|
||||
#ifndef STREAM_PEER_MBEDTLS_H
|
||||
#define STREAM_PEER_MBEDTLS_H
|
||||
|
||||
#include "core/io/stream_peer_ssl.h"
|
||||
#include "core/io/stream_peer_tls.h"
|
||||
#include "ssl_context_mbedtls.h"
|
||||
|
||||
class StreamPeerMbedTLS : public StreamPeerSSL {
|
||||
class StreamPeerMbedTLS : public StreamPeerTLS {
|
||||
private:
|
||||
Status status = STATUS_DISCONNECTED;
|
||||
String hostname;
|
||||
|
||||
Ref<StreamPeer> base;
|
||||
|
||||
static StreamPeerSSL *_create_func();
|
||||
static StreamPeerTLS *_create_func();
|
||||
|
||||
static int bio_recv(void *ctx, unsigned char *buf, size_t len);
|
||||
static int bio_send(void *ctx, const unsigned char *buf, size_t len);
|
||||
|
||||
Reference in New Issue
Block a user