X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=crypt.c;h=54d60fe82eccea567c413d9c9dced6e39807e87e;hp=402a497dea615ed70386aaf3327775ef543c3450;hb=4eaac5c4a87b84ea9ec0668b4e088ac27e2d1106;hpb=f5b0e714a215eddd4d9f8084b434b713f0a580b4 diff --git a/crypt.c b/crypt.c index 402a497..54d60fe 100644 --- a/crypt.c +++ b/crypt.c @@ -51,7 +51,7 @@ /* print the current time to avoid spoofing of the signature output */ -void crypt_current_time (STATE * s, char *app_name) +void crypt_current_time (STATE * s, const char *app_name) { time_t t; char p[STRING], tmp[STRING]; @@ -487,7 +487,7 @@ int crypt_write_signed (BODY * a, STATE * s, const char *tempfile) return -1; } - fseek (s->fpin, a->hdr_offset, 0); + fseeko (s->fpin, a->hdr_offset, 0); bytes = a->length + a->offset - a->hdr_offset; hadcr = 0; while (bytes > 0) {