2
security/manager/ssl/src/nsKeygenHandler.cpp | 19 +++++++++----------
3
1 file changed, 9 insertions(+), 10 deletions(-)
5
Index: seamonkey-1.1.4/security/manager/ssl/src/nsKeygenHandler.cpp
6
===================================================================
7
--- seamonkey-1.1.4.orig/security/manager/ssl/src/nsKeygenHandler.cpp
8
+++ seamonkey-1.1.4/security/manager/ssl/src/nsKeygenHandler.cpp
11
//All possible key size choices.
12
static SECKeySizeChoiceInfo SECKeySizeChoiceList[] = {
18
+DERTemplate SECAlgorithmIDTemplate[] = {
20
+ 0, NULL, sizeof(SECAlgorithmID) },
22
+ offsetof(SECAlgorithmID,algorithm), },
23
+ { DER_OPTIONAL | DER_ANY,
24
+ offsetof(SECAlgorithmID,parameters), },
28
DERTemplate CERTSubjectPublicKeyInfoTemplate[] = {
30
0, nsnull, sizeof(CERTSubjectPublicKeyInfo) },
32
offsetof(CERTSubjectPublicKeyInfo,algorithm),
33
SECAlgorithmIDTemplate, },
36
DERTemplate CERTPublicKeyAndChallengeTemplate[] =
38
{ DER_SEQUENCE, 0, nsnull, sizeof(CERTPublicKeyAndChallenge) },
39
{ DER_ANY, offsetof(CERTPublicKeyAndChallenge,spki), },
40
{ DER_IA5_STRING, offsetof(CERTPublicKeyAndChallenge,challenge), },
44
-DERTemplate SECAlgorithmIDTemplate[] = {
46
- 0, NULL, sizeof(SECAlgorithmID) },
48
- offsetof(SECAlgorithmID,algorithm), },
49
- { DER_OPTIONAL | DER_ANY,
50
- offsetof(SECAlgorithmID,parameters), },
54
const SEC_ASN1Template SECKEY_PQGParamsTemplate[] = {
55
{ SEC_ASN1_SEQUENCE, 0, NULL, sizeof(PQGParams) },
56
{ SEC_ASN1_INTEGER, offsetof(PQGParams,prime) },
57
{ SEC_ASN1_INTEGER, offsetof(PQGParams,subPrime) },
58
{ SEC_ASN1_INTEGER, offsetof(PQGParams,base) },