Home | History | Annotate | Download | only in crypto

Lines Matching refs:dh_file

2141 static int tls_connection_dh(struct tls_connection *conn, const char *dh_file)
2144 if (dh_file == NULL)
2147 "dh_file specified");
2154 if (dh_file == NULL)
2159 bio = BIO_new_file(dh_file, "r");
2162 dh_file, ERR_error_string(ERR_get_error(), NULL));
2171 " trying to parse as DSA params", dh_file,
2173 bio = BIO_new_file(dh_file, "r");
2180 "'%s': %s", dh_file,
2198 "'%s'", dh_file);
2204 "%s", dh_file,
2215 static int tls_global_dh(SSL_CTX *ssl_ctx, const char *dh_file)
2218 if (dh_file == NULL)
2221 "dh_file specified");
2228 if (dh_file == NULL)
2233 bio = BIO_new_file(dh_file, "r");
2236 dh_file, ERR_error_string(ERR_get_error(), NULL));
2245 " trying to parse as DSA params", dh_file,
2247 bio = BIO_new_file(dh_file, "r");
2254 "'%s': %s", dh_file,
2272 "'%s'", dh_file);
2278 "%s", dh_file,
2742 if (tls_connection_dh(conn, params->dh_file)) {
2744 params->dh_file);
2777 if (tls_global_dh(ssl_ctx, params->dh_file)) {
2779 params->dh_file);