summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-09-07 17:36:13 +0100
committerTomas Mraz <tomas@openssl.org>2023-09-12 15:29:00 +0200
commit1e4fc0b2e57d08a90a6d8e30981fce2007d21109 (patch)
tree7d6b0033b4d7bf5cdd0715ce00bc31fd9b7d9444 /include
parent4ee8c1fb51687ea811fc2abf87e173c70d018bc2 (diff)
Add a test for using a PSK with QUIC
Check that we can set and use a PSK when establishing a QUIC connection. Fixes openssl/project#83 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22011)
Diffstat (limited to 'include')
-rw-r--r--include/internal/quic_tserver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/quic_tserver.h b/include/internal/quic_tserver.h
index 9213f60666..4f358dd4e8 100644
--- a/include/internal/quic_tserver.h
+++ b/include/internal/quic_tserver.h
@@ -211,6 +211,10 @@ int ossl_quic_tserver_new_ticket(QUIC_TSERVER *srv);
int ossl_quic_tserver_set_max_early_data(QUIC_TSERVER *srv,
uint32_t max_early_data);
+/* Set the find session callback for getting a server PSK */
+void ossl_quic_tserver_set_psk_find_session_cb(QUIC_TSERVER *srv,
+ SSL_psk_find_session_cb_func cb);
+
# endif
#endif