Home
last modified time | relevance | path

Searched refs:keylog_bio (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/_ssl/
Ddebughelpers.c130 if (ssl_obj->ctx->keylog_bio == NULL) { in _PySSL_keylog_callback()
152 res = BIO_printf(ssl_obj->ctx->keylog_bio, "%s\n", line); in _PySSL_keylog_callback()
154 (void)BIO_flush(ssl_obj->ctx->keylog_bio); in _PySSL_keylog_callback()
183 if (self->keylog_bio != NULL) { in _PySSLContext_set_keylog_filename()
184 BIO *bio = self->keylog_bio; in _PySSLContext_set_keylog_filename()
185 self->keylog_bio = NULL; in _PySSLContext_set_keylog_filename()
201 self->keylog_bio = BIO_new_fp(fp, BIO_CLOSE | BIO_FP_TEXT); in _PySSLContext_set_keylog_filename()
202 if (self->keylog_bio == NULL) { in _PySSLContext_set_keylog_filename()
212 if (BIO_tell(self->keylog_bio) == 0) { in _PySSLContext_set_keylog_filename()
213 BIO_puts(self->keylog_bio, in _PySSLContext_set_keylog_filename()
[all …]
/external/python/cpython3/Modules/
D_ssl.c447 BIO *keylog_bio; member
3166 self->keylog_bio = NULL; in _ssl__SSLContext_impl()
3306 if (self->keylog_bio != NULL) { in context_clear()
3308 BIO_free_all(self->keylog_bio); in context_clear()
3310 self->keylog_bio = NULL; in context_clear()