Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/
H A Dhashswf.c67 extern TLS_CTX RTMP_TLS_ctx;
109 if (!RTMP_TLS_ctx) in HTTP_get()
167 TLS_client(RTMP_TLS_ctx, sb.sb_ssl); in HTTP_get()
H A Drtmp.c66 TLS_CTX RTMP_TLS_ctx; variable
233 RTMP_TLS_ctx = calloc(1,sizeof(struct tls_ctx)); in RTMP_TLS_Init()
234 havege_init(&RTMP_TLS_ctx->hs); in RTMP_TLS_Init()
241 RTMP_TLS_ctx = malloc(sizeof(struct tls_ctx)); in RTMP_TLS_Init()
242 gnutls_certificate_allocate_credentials(&RTMP_TLS_ctx->cred); in RTMP_TLS_Init()
243 gnutls_priority_init(&RTMP_TLS_ctx->prios, "NORMAL", NULL); in RTMP_TLS_Init()
244 gnutls_certificate_set_x509_trust_file(RTMP_TLS_ctx->cred, in RTMP_TLS_Init()
251 RTMP_TLS_ctx = SSL_CTX_new(SSLv23_method()); in RTMP_TLS_Init()
252 SSL_CTX_set_options(RTMP_TLS_ctx, SSL_OP_ALL); in RTMP_TLS_Init()
253 SSL_CTX_set_default_verify_paths(RTMP_TLS_ctx); in RTMP_TLS_Init()
[all …]
H A Ddh.h64 dhm_make_public(&dh->ctx, 1024, out, 1, havege_random, &RTMP_TLS_ctx->hs); in MDH_generate_key()