Differences From Artifact [a7290cba5e]:
- Executable file gen_dh_params — part of check-in [3d5e70d1d5] at 2016-12-01 21:36:04 on branch tls-1-7 — Updated to generate DH parameters more dynamically (user: rkeene, size: 2595) [annotate] [blame] [check-ins using]
To Artifact [121b16da7e]:
- Executable file gen_dh_params — part of check-in [bf7f82b5e8] at 2016-12-01 21:51:55 on branch tls-1-7 — Updated to support a deterministic mode (user: rkeene, size: 2730) [annotate] [blame] [check-ins using]
︙ | |||
76 77 78 79 80 81 82 83 84 85 86 87 88 | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | + + + + + + + | dh->g=BN_bin2bn(dh2048_g,sizeof(dh2048_g),NULL); if ((dh->p == NULL) || (dh->g == NULL)) { DH_free(dh); return(NULL); } return(dh); } _EOF_ } # Enable support for giving the same DH params each time if [ "$1" = 'fallback' ]; then gen_dh_params_fallback && exit 0 exit 1 fi gen_dh_params_openssl && exit 0 gen_dh_params_remote && exit 0 gen_dh_params_fallback && exit 0 exit 1 |