MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / SSL_CTX_set_tmp_dh

Function SSL_CTX_set_tmp_dh

extra/yassl/src/ssl.cpp:709–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707
708
709long SSL_CTX_set_tmp_dh(SSL_CTX* ctx, DH* dh)
710{
711 if (ctx->SetDH(*dh))
712 return SSL_SUCCESS;
713 else
714 return SSL_FAILURE;
715}
716
717
718int SSL_CTX_use_certificate_file(SSL_CTX* ctx, const char* file, int format)

Callers 2

SetDHFunction · 0.85
set_tmpDHFunction · 0.85

Calls 1

SetDHMethod · 0.80

Tested by 1

set_tmpDHFunction · 0.68