Searched refs:tls_server_ctx (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/ |
| H A D | rtmp_sys.h | 80 typedef struct tls_server_ctx { struct 86 } tls_server_ctx; typedef 96 ssl_set_rng(s, havege_random, ((tls_server_ctx*)ctx)->hs);\ 98 SSL_SET_SESSION(s, 1, 600, &((tls_server_ctx*)ctx)->ssn);\ 99 ssl_set_own_cert(s, &((tls_server_ctx*)ctx)->cert, &((tls_server_ctx*)ctx)->key);\ 100 ssl_set_dh_param(s, ((tls_server_ctx*)ctx)->dhm_P, ((tls_server_ctx*)ctx)->dhm_G)
|
| H A D | rtmp.c | 266 tls_server_ctx *tc = ctx = calloc(1, sizeof(struct tls_server_ctx)); in RTMP_TLS_AllocServerContext() 305 x509_free(&((tls_server_ctx*)ctx)->cert); in RTMP_TLS_FreeServerContext() 306 rsa_free(&((tls_server_ctx*)ctx)->key); in RTMP_TLS_FreeServerContext()
|