forked from wolfSSL/wolfssl
staub: SSL_get_server_random
This commit is contained in:
committed by
Jacob Barthelmeh
parent
3946931320
commit
d8d3cd5269
38
src/ssl.c
38
src/ssl.c
@@ -13380,6 +13380,14 @@ WOLFSSL_API long wolfSSL_SSL_set_tlsext_status_type(WOLFSSL *s, int type)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*** TBD ***/
|
||||||
|
WOLFSSL_API long wolfSSL_SSL_get_tlsext_status_exts(WOLFSSL *s, void *arg)
|
||||||
|
{
|
||||||
|
(void)s;
|
||||||
|
(void)arg;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/*** TBD ***/
|
/*** TBD ***/
|
||||||
WOLFSSL_API long wolfSSL_SSL_set_tlsext_status_exts(WOLFSSL *s, void *arg)
|
WOLFSSL_API long wolfSSL_SSL_set_tlsext_status_exts(WOLFSSL *s, void *arg)
|
||||||
{
|
{
|
||||||
@@ -13421,6 +13429,35 @@ WOLFSSL_API long wolfSSL_SSL_set_tlsext_status_ocsp_resp(WOLFSSL *s, unsigned ch
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WOLFSSL_API unsigned long wolfSSL_SSL_get_server_random(const WOLFSSL *ssl, unsigned char *out,
|
||||||
|
unsigned long outlen)
|
||||||
|
{
|
||||||
|
(void)ssl;
|
||||||
|
(void)out;
|
||||||
|
(void)outlen;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** TBD ***/
|
||||||
|
WOLFSSL_API unsigned long wolfSSL_SSL_get_verify_result(const WOLFSSL *ssl)
|
||||||
|
{
|
||||||
|
(void)ssl;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** TBD ***/
|
||||||
|
WOLFSSL_API WOLFSSL_SESSION *wolfSSL_SSL_get1_session(WOLFSSL *ssl)
|
||||||
|
{
|
||||||
|
(void)ssl;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** TBD ***/
|
||||||
|
WOLFSSL_API void wolfSSL_SSL_set_accept_state(WOLFSSL *s)
|
||||||
|
{
|
||||||
|
(void)s;
|
||||||
|
}
|
||||||
|
|
||||||
long wolfSSL_CTX_sess_accept(WOLFSSL_CTX* ctx)
|
long wolfSSL_CTX_sess_accept(WOLFSSL_CTX* ctx)
|
||||||
{
|
{
|
||||||
(void)ctx;
|
(void)ctx;
|
||||||
@@ -16703,6 +16740,7 @@ int wolfSSL_PEM_write_RSAPrivateKey(FILE *fp, WOLFSSL_RSA *rsa,
|
|||||||
#endif /* NO_FILESYSTEM */
|
#endif /* NO_FILESYSTEM */
|
||||||
|
|
||||||
/*** TBD ***/
|
/*** TBD ***/
|
||||||
|
WOLFSSL_API
|
||||||
int wolfSSL_PEM_write_bio_PrivateKey(WOLFSSL_BIO* bio, RSA* rsa,
|
int wolfSSL_PEM_write_bio_PrivateKey(WOLFSSL_BIO* bio, RSA* rsa,
|
||||||
const EVP_CIPHER* cipher,
|
const EVP_CIPHER* cipher,
|
||||||
unsigned char* passwd, int len,
|
unsigned char* passwd, int len,
|
||||||
|
@@ -525,6 +525,10 @@ typedef WOLFSSL_X509_NAME_ENTRY X509_NAME_ENTRY;
|
|||||||
#define SSL_CTX_set_tlsext_status_arg wolfSSL_SSL_CTX_set_tlsext_status_arg
|
#define SSL_CTX_set_tlsext_status_arg wolfSSL_SSL_CTX_set_tlsext_status_arg
|
||||||
#define SSL_CTX_set_tlsext_opaque_prf_input_callback_arg \
|
#define SSL_CTX_set_tlsext_opaque_prf_input_callback_arg \
|
||||||
wolfSSL_SSL_CTX_set_tlsext_opaque_prf_input_callback_arg
|
wolfSSL_SSL_CTX_set_tlsext_opaque_prf_input_callback_arg
|
||||||
|
#define SSL_get_server_random wolfSSL_SSL_get_server_random
|
||||||
|
|
||||||
|
#define SSL_get_server_random wolfSSL_SSL_get_server_random
|
||||||
|
#define SSL_get_tlsext_status_exts wolfSSL_SSL_get_tlsext_status_exts
|
||||||
|
|
||||||
#define BIO_C_SET_FILE_PTR 106
|
#define BIO_C_SET_FILE_PTR 106
|
||||||
#define BIO_C_GET_FILE_PTR 107
|
#define BIO_C_GET_FILE_PTR 107
|
||||||
|
@@ -713,6 +713,12 @@ WOLFSSL_API long wolfSSL_SSL_get_tlsext_status_ocsp_resp(WOLFSSL *s, unsigned ch
|
|||||||
WOLFSSL_API long wolfSSL_SSL_set_tlsext_status_ocsp_resp(WOLFSSL *s, unsigned char *resp, int len);
|
WOLFSSL_API long wolfSSL_SSL_set_tlsext_status_ocsp_resp(WOLFSSL *s, unsigned char *resp, int len);
|
||||||
|
|
||||||
WOLFSSL_API void wolfSSL_CONF_modules_unload(int all);
|
WOLFSSL_API void wolfSSL_CONF_modules_unload(int all);
|
||||||
|
WOLFSSL_API unsigned long wolfSSL_SSL_get_server_random(const WOLFSSL *ssl, unsigned char *out,
|
||||||
|
unsigned long outlen);
|
||||||
|
WOLFSSL_API long wolfSSL_SSL_get_tlsext_status_exts(WOLFSSL *s, void *arg);
|
||||||
|
WOLFSSL_API unsigned long wolfSSL_SSL_get_verify_result(const WOLFSSL *ssl);
|
||||||
|
WOLFSSL_API void wolfSSL_SSL_set_accept_state(WOLFSSL *s);
|
||||||
|
WOLFSSL_API WOLFSSL_SESSION *wolfSSL_SSL_get1_session(WOLFSSL *ssl);
|
||||||
|
|
||||||
#define WOLFSSL_DEFAULT_CIPHER_LIST "" /* default all */
|
#define WOLFSSL_DEFAULT_CIPHER_LIST "" /* default all */
|
||||||
#define WOLFSSL_RSA_F4 0x10001L
|
#define WOLFSSL_RSA_F4 0x10001L
|
||||||
|
Reference in New Issue
Block a user