ngtcp2_crypto_get_path_challenge_data_cb¶
Synopsis¶
#include <ngtcp2/ngtcp2_crypto.h>
-
int
ngtcp2_crypto_get_path_challenge_data_cb(ngtcp2_conn *conn, uint8_t *data, void *user_data)¶ ngtcp2_crypto_get_path_challenge_data_cb()writes unpredictable sequence ofNGTCP2_PATH_CHALLENGE_DATALENbytes to data which is sent with PATH_CHALLENGE frame.This function can be directly passed to
ngtcp2_callbacks.get_path_challenge_datafield.Deprecated since v1.22.0. Use
ngtcp2_crypto_get_path_challenge_data2_cb()instead.