Bug 798860: Generate 1024-bit RSA keys for dtls mtransport streams r=bsmith

This commit is contained in:
EKR 2012-10-06 23:55:23 -07:00
Родитель d5fcd6cbaa
Коммит c521582f07
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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;