ngtcp2_crypto_ossl_ctx_new ========================== Synopsis -------- *#include * .. function:: int ngtcp2_crypto_ossl_ctx_new(ngtcp2_crypto_ossl_ctx **pctx, SSL *ssl) `ngtcp2_crypto_ossl_ctx_new` creates new :type:`ngtcp2_crypto_ossl_ctx` object, and sets it to *\*pctx* if it succeeds. *ssl* is set to *\*pctx*. It may be NULL, and in that case, call `ngtcp2_crypto_ossl_ctx_set_ssl` later to set ``SSL`` object. This function returns 0 if it succeeds, or one of the following negative error codes: :enum:`NGTCP2_CRYPTO_ERR_NOMEM` Out of memory