зеркало из https://github.com/mozilla/gecko-dev.git
Bug 798860: Generate 1024-bit RSA keys for dtls mtransport streams r=bsmith
This commit is contained in:
Родитель
d5fcd6cbaa
Коммит
c521582f07
|
@ -53,7 +53,8 @@ TemporaryRef<DtlsIdentity> DtlsIdentity::Generate() {
|
|||
}
|
||||
|
||||
PK11RSAGenParams rsaparams;
|
||||
rsaparams.keySizeInBits = 2048; // Minimum value Mozilla recommends for TLS
|
||||
rsaparams.keySizeInBits = 1024; // TODO: make this stronger when we
|
||||
// pre-generate.
|
||||
rsaparams.pe = 65537; // We are too paranoid to use 3 as the exponent.
|
||||
|
||||
ScopedSECKEYPrivateKey private_key;
|
||||
|
|
Загрузка…
Ссылка в новой задаче