if (!tl) {
fprintf(stderr, "Couldn't open mail file (%s).\n", filename);
} else {
- while((fscanf(tl, "%s", data)) != EOF) {
+ while((fscanf(tl, "%1023s", data)) != EOF) {
if(!strcmp(data, "From:"))
num++;
}
SilcPrivateKey prv_key;
SilcRng rng;
unsigned char *key;
- uint32 key_len;
+ SilcUInt32 key_len;
char line[256];
char *pkfile = NULL, *prvfile = NULL;
}
if (!silc_pkcs_is_supported(pkcs_name)) {
- fprintf(stderr, "Unsupported PKCS `%s'", pkcs_name);
+ fprintf(stderr, "Unknown PKCS `%s'", pkcs_name);
return FALSE;
}
SilcPublicKeyIdentifier ident;
char *fingerprint;
unsigned char *pk;
- uint32 pk_len;
+ SilcUInt32 pk_len;
SilcPKCS pkcs;
int key_len = 0;