Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ptls_export() prototype to picotls.h #480

Merged
merged 1 commit into from
Aug 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions include/picotls.h
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,10 @@ static ptls_t *ptls_new(ptls_context_t *ctx, int is_server);
int ptls_build_tls12_export_params(ptls_context_t *ctx, ptls_buffer_t *output, int is_server, int session_reused,
ptls_cipher_suite_t *cipher, const void *master_secret, const void *hello_randoms,
uint64_t next_send_record_iv, const char *server_name, ptls_iovec_t negotiated_protocol);
/**
* store the parameters of a post-handshake TLS connection so that it can be reconstructed later
*/
int ptls_export(ptls_t *tls, ptls_buffer_t *output);
/**
* create a post-handshake TLS connection object using given parameters
*/
Expand Down
Loading