ngtcp2_crypto_get_path_challenge_data2_cb
Synopsis
#include <ngtcp2/ngtcp2_crypto.h>
-
int ngtcp2_crypto_get_path_challenge_data2_cb(ngtcp2_conn *conn, ngtcp2_path_challenge_data *data, void *user_data)
ngtcp2_crypto_get_path_challenge_data2_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_data2field.This function has been available since v1.22.0.