- Timestamp:
- 01/05/10 17:57:00 (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/globals.h
r1030 r1074 388 388 int nagra_native; 389 389 uchar aes_key[16]; 390 uchar rsa_mod[ 64]; //rsa modulus for nagra cards390 uchar rsa_mod[120]; //rsa modulus for nagra cards. 391 391 ulong sidtabok; // positiv services 392 392 ulong sidtabno; // negative services -
trunk/oscam-config.c
r1048 r1074 1117 1117 if (key_atob_l(value, rdr->rsa_mod, 128)) 1118 1118 { 1119 fprintf(stderr, "Configuration reader: Error in RSA Key\n");1119 fprintf(stderr, "Configuration reader: Error in n3_rsakey\n"); 1120 1120 exit(1); 1121 1121 } 1122 1122 return; 1123 1123 } 1124 if (!strcmp(token, "n3_boxkey")) 1124 if (!strcmp(token, "tiger_rsakey")) 1125 { 1126 rdr->nagra_native=1; 1127 if (key_atob_l(value, rdr->rsa_mod, 240)) 1128 { 1129 fprintf(stderr, "Configuration reader: Error in tiger_rsakey\n"); 1130 exit(1); 1131 } 1132 return; 1133 } 1134 if (!strcmp(token, "n3_boxkey") || !strcmp(token, "tiger_ideakey")) 1125 1135 { 1126 1136 if (key_atob_l(value, rdr->nagra_boxkey, 16))
Note:
See TracChangeset
for help on using the changeset viewer.