![]() ![]() | ![]() |
version 1.2, 2014/08/28 14:23:52 | version 1.3, 2015/02/08 10:22:45 | ||
---|---|---|---|
|
|
||
} | } | ||
if (text) { | if (text) { | ||
DHparams_print(out, dh); | DHparams_print(out, dh); | ||
#ifdef undef | |||
printf("p="); | |||
BN_print(stdout, dh->p); | |||
printf("\ng="); | |||
BN_print(stdout, dh->g); | |||
printf("\n"); | |||
if (dh->length != 0) | |||
printf("recommended private length=%ld\n", dh->length); | |||
#endif | |||
} | } | ||
if (check) { | if (check) { | ||
if (!DH_check(dh, &i)) { | if (!DH_check(dh, &i)) { |