bool SetDH(DHParams& dh) { return (SSL_CTX_set_tmp_dh(ctx, dh.get()) >= 0); }
void SetDHParams(DHParams& dh) { mbedtls_ssl_conf_dh_param_ctx(&conf, dh.get()); }