From 25999cbbc8c0d9d2803105dcc42199bd8a10b57d Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 8 Apr 2003 16:01:37 +0000 Subject: [w3m] local cookie string is too easy to guess. * fm.h (Local_cookie): deleted * local.c (Local_cookie): static (writeLocalCookie): localCookie() (setLocalCookie): deleted (localCookie): added * main.c (main): delete srand48(), setLocalCookie() (adBmark): s/Local_cookie/localCookie()/ * proto.h (setLocalCookie): deleted (localCookie): added * rc.c (load_option_panel): s/Local_cookie/localCookie()/ From: Hironori SAKAMOTO --- proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto.h') diff --git a/proto.h b/proto.h index 30487b0..6c51ed5 100644 --- a/proto.h +++ b/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.91 2003/02/18 15:43:25 ukai Exp $ */ +/* $Id: proto.h,v 1.92 2003/04/08 16:01:40 ukai Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -581,7 +581,7 @@ extern char *etcFile(char *base); extern char *auxbinFile(char *base); extern char *libFile(char *base); extern char *helpFile(char *base); -extern void setLocalCookie(void); +extern Str localCookie(void); extern Str loadLocalDir(char *dirname); extern void set_environ(char *var, char *value); extern FILE *localcgi_post(char *, char *, FormList *, char *); -- cgit v1.2.3