Home
last modified time | relevance | path

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

/openssl/demos/guide/
H A Dquic-hq-interop.c73 static BIO *session_bio = NULL; variable
373 if (!PEM_write_bio_SSL_SESSION(session_bio, sess)) in cache_new_session()
376 (void)BIO_flush(session_bio); in cache_new_session()
420 session_bio = BIO_new_file(filename, "r+"); in setup_session_cache()
421 if (session_bio == NULL) { in setup_session_cache()
423 session_bio = BIO_new_file(filename, "w+"); in setup_session_cache()
424 if (session_bio == NULL) in setup_session_cache()
431 if (PEM_read_bio_SSL_SESSION(session_bio, &sess, NULL, NULL)) { in setup_session_cache()
445 BIO_free(session_bio); in setup_session_cache()
1029 BIO_free(session_bio); in main()

Completed in 5 milliseconds