mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 12:50:30 +00:00
components/openssl: SSL low-level reload cert when user add new cert
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
set_fd, get_fd, \
|
||||
set_bufflen, \
|
||||
get_verify_result, \
|
||||
ssl_reload_crt, \
|
||||
get_state) \
|
||||
static const SSL_METHOD_FUNC func_name LOCAL_ATRR = { \
|
||||
new, \
|
||||
@@ -36,6 +37,7 @@
|
||||
get_fd, \
|
||||
set_bufflen, \
|
||||
get_verify_result, \
|
||||
ssl_reload_crt, \
|
||||
get_state \
|
||||
};
|
||||
|
||||
|
||||
@@ -259,6 +259,8 @@ struct ssl_method_func_st {
|
||||
|
||||
long (*ssl_get_verify_result)(const SSL *ssl);
|
||||
|
||||
int (*ssl_reload_crt)(SSL *ssl);
|
||||
|
||||
OSSL_HANDSHAKE_STATE (*ssl_get_state)(const SSL *ssl);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user