Lines Matching refs:dh_file
1882 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file)
1885 if (dh_file == NULL)
1888 "dh_file specified");
1895 if (dh_file == NULL)
1900 bio = BIO_new_file(dh_file, "r");
1903 dh_file, ERR_error_string(ERR_get_error(), NULL));
1912 " trying to parse as DSA params", dh_file,
1914 bio = BIO_new_file(dh_file, "r");
1921 "'%s': %s", dh_file,
1939 "'%s'", dh_file);
1945 "%s", dh_file,
1956 static int tls_global_dh(SSL_CTX *ssl_ctx, const char *dh_file)
1959 if (dh_file == NULL)
1962 "dh_file specified");
1969 if (dh_file == NULL)
1974 bio = BIO_new_file(dh_file, "r");
1977 dh_file, ERR_error_string(ERR_get_error(), NULL));
1986 " trying to parse as DSA params", dh_file,
1988 bio = BIO_new_file(dh_file, "r");
1995 "'%s': %s", dh_file,
2013 "'%s'", dh_file);
2019 "%s", dh_file,
2483 if (tls_connection_dh(conn, params->dh_file)) {
2485 params->dh_file);
2516 if (tls_global_dh(ssl_ctx, params->dh_file)) {
2518 params->dh_file);