diff options
author | lloyd <[email protected]> | 2008-06-27 14:43:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-06-27 14:43:59 +0000 |
commit | 59865d69871bdd936cf77a7fde38aa7657d04c40 (patch) | |
tree | a87a74123db2a48e0d93ff968f33be4b16cce3e9 /src/pk_util.cpp | |
parent | 6b269c212d28d643fac99e0a5be221d9c63f0240 (diff) |
Previously if DL_Group was given a q value of zero, it would check to
see if (p-1)/2 was prime, and if so set q to that. This is to deal with
certain bogus DH formats (PKCS #3, specifically; the 'modern' ANSI formats
always provide the q subgroup value).
However this required access to the RNG. Rather than push RNG usage all
the way down into that part of DL group, simply remove the feature.
Since PKCS #3 format is only really used for DH keys, it will not much
affect anything functionally (that I can see).
Diffstat (limited to 'src/pk_util.cpp')
0 files changed, 0 insertions, 0 deletions