diff options
author | steve <steve> | 2011-09-25 22:04:43 +0000 |
---|---|---|
committer | steve <steve> | 2011-09-25 22:04:43 +0000 |
commit | 578f1ae1a89e82e57f5f1808e8e4edec446d3099 (patch) | |
tree | f3d0ba3bd0501c8218af4338eb1e46fb3241bd9e /fips | |
parent | 425af3da4f739133300a2e37e271c7dafd5a0104 (diff) | |
download | openssl-578f1ae1a89e82e57f5f1808e8e4edec446d3099.tar.gz |
Handle provable prime parameters for canonical g generation which are
sometimes erroneously included.
Diffstat (limited to 'fips')
-rw-r--r-- | fips/dsa/fips_dssvs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fips/dsa/fips_dssvs.c b/fips/dsa/fips_dssvs.c index d355fcb6f..3362a33e6 100644 --- a/fips/dsa/fips_dssvs.c +++ b/fips/dsa/fips_dssvs.c @@ -202,6 +202,12 @@ static void pqg(FILE *in, FILE *out) q=hex2bn(value); else if(!strcmp(keyword,"domain_parameter_seed")) seedlen = hex2bin(value, seed); + else if(!strcmp(keyword,"firstseed")) + seedlen = hex2bin(value, seed); + else if(!strcmp(keyword,"pseed")) + seedlen += hex2bin(value, seed + seedlen); + else if(!strcmp(keyword,"qseed")) + seedlen += hex2bin(value, seed + seedlen); else if(!strcmp(keyword,"index")) { idxlen = hex2bin(value, idtmp); |