#include <openssl/base.h>
#include <stdio.h>
#include <sys/select.h>
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/ssl.h>
#include "../crypto/internal.h"
#include "internal.h"
#include "transport_common.h"
Go to the source code of this file.
|
bool | Client (const std::vector< std::string > &args) |
|
static bool | DoConnection (SSL_CTX *ctx, std::map< std::string, std::string > args_map, bool(*cb)(SSL *ssl, int sock)) |
|
static void | InfoCallback (const SSL *ssl, int type, int value) |
|
static void | KeyLogCallback (const SSL *ssl, const char *line) |
|
static bssl::UniquePtr< EVP_PKEY > | LoadPrivateKey (const std::string &file) |
|
static int | NewSessionCallback (SSL *ssl, SSL_SESSION *session) |
|
static int | NextProtoSelectCallback (SSL *ssl, uint8_t **out, uint8_t *outlen, const uint8_t *in, unsigned inlen, void *arg) |
|
static bool | WaitForSession (SSL *ssl, int sock) |
|
◆ Client()
bool Client |
( |
const std::vector< std::string > & |
args | ) |
|
◆ DoConnection()
◆ InfoCallback()
◆ KeyLogCallback()
static void KeyLogCallback |
( |
const SSL * |
ssl, |
|
|
const char * |
line |
|
) |
| |
|
static |
◆ LoadPrivateKey()
static bssl::UniquePtr<EVP_PKEY> LoadPrivateKey |
( |
const std::string & |
file | ) |
|
|
static |
◆ NewSessionCallback()
◆ NextProtoSelectCallback()
◆ WaitForSession()
static bool WaitForSession |
( |
SSL * |
ssl, |
|
|
int |
sock |
|
) |
| |
|
static |
◆ g_keylog_file
FILE* g_keylog_file = nullptr |
|
static |
◆ kArguments
◆ resume_session
◆ session_out
bssl::UniquePtr<BIO> session_out |
|
static |