ngtcp2_crypto_ossl_init

Synopsis

#include <ngtcp2/ngtcp2_crypto_ossl.h>

int ngtcp2_crypto_ossl_init(void)

ngtcp2_crypto_ossl_init() initializes libngtcp2_crypto_ossl library. This initialization is optional. It is highly recommended to call this function before any use of libngtcp2_crypto library API to workaround the performance regression.

This function returns 0 if it succeeds, or -1.