Lines Matching defs:dh_file
89 const char *dh_file,
153 " -dh_file <path> (a PEM file containing DH parameters to use)\n"
172 "(2) Either dh_file or dh_special can be used to specify where DH parameters\n"
339 const char *dh_file = def_dh_file;
457 } else if (strcmp(*argv, "-dh_file") == 0) {
459 return usage("-dh_file requires an argument", 0);
461 return usage("cannot mix -dh_file with " "-dh_special", 0);
464 dh_file = *argv;
469 if (dh_file)
470 return usage("cannot mix -dh_file with " "-dh_special", 0);
541 cipher_list, dh_file, dh_special,
725 static int ctx_set_dh(SSL_CTX *ctx, const char *dh_file,
761 /* So, we're loading dh_file */
762 if ((fp = fopen(dh_file, "r")) == NULL) {
764 dh_file);
771 dh_file);
774 fprintf(stderr, "Info, using DH parameters from file '%s'\n", dh_file);
785 const char *dh_file,
852 /* dh_file & dh_special */
853 if ((dh_file || dh_special) && !ctx_set_dh(ctx, dh_file, dh_special))