Changeset 3195
- Timestamp:
- 09/23/10 14:30:13 (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-serial.c
r3193 r3195 908 908 } 909 909 910 if ( (!sdevice) || (!sdevice[0])) return;910 if (!sdevice[0]) return; 911 911 if (!oscam_ser_parse_url(sdevice)) return; 912 912 -
trunk/oscam-config.c
r3181 r3195 2416 2416 2417 2417 if (reader[i].aes_key[0] && isphysical) 2418 fprintf_conf(f, CONFVARWIDTH, "aeskey", "%s\n", key_btoa(NULL, reader[i].aes_key));2418 fprintf_conf(f, CONFVARWIDTH, "aeskey", "%s\n", cs_hexdump(0, reader[i].aes_key, 16)); 2419 2419 2420 2420 -
trunk/oscam-log.c
r3181 r3195 1 // FIXME Not checked on threadsafety yet; after checking please remove this line1 //oscam-log runs in master thread so doesnt need to be threadsafe 2 2 #include "globals.h" 3 3 #include <syslog.h> -
trunk/oscam-simples.c
r3188 r3195 476 476 } 477 477 478 char *key_btoa(char *asc, uchar *bin)479 {480 int i;//, n1, n2, rc;481 static char buf[33];482 if (!asc)483 asc=buf;484 for (i=0; i<16; i++)485 sprintf(asc+(i<<1), "%02X", bin[i]);486 return(asc);487 }488 489 478 char *cs_hexdump(int m, const uchar *buf, int n) 490 479 {
Note:
See TracChangeset
for help on using the changeset viewer.