* pinentry/pinentry.c: New variable THIS_PGMNAME.
authorWerner Koch <wk@gnupg.org>
Mon, 22 Dec 2003 10:48:33 +0000 (10:48 +0000)
committerWerner Koch <wk@gnupg.org>
Mon, 22 Dec 2003 10:48:33 +0000 (10:48 +0000)
commit47d0e50e65d963c93e4cf88c4eee5a832b629bca
tree50fbe0b236797e5205e6fe2fd08f129689957951
parent8c723afe4ce208f0d3633b9e55ebfa7d410b5246
* pinentry/pinentry.c: New variable THIS_PGMNAME.
(pinentry_init): Add arg PGMNAME and store it.  Use it at all
marked placed instead of the constant "pinentry".
(usage): Use it here too.
* curses/pinentry-curses.c (main): Call pinentry_init wity our name.
* qt/main.cpp (main): Ditto.
* gtk/pinentry-gtk.c (main): Ditto.

* configure.ac: Check for mmap.

* secmem/util.h (wipememory2,wipememory,wipe): New.
* secmem/util.c (wipe): Removed.
* secmem/util.c (lower_privs, raise_privs): Commented out.

* pinentry/pinentry.c (pinentry_loop): Add paranoia check for
dropped privs.

* secmem/secmem.c (lock_pool): Cleanup syntax of cpp directives.

* gtk/pinentry-gtk.c (main): Print package name in the version line.
* curses/pinentry-curses.c (main): Ditto.
* qt/main.cpp (main): Ditto. Fixed typo.

* gtk/pinentry-gtk.c: Include memory.h.
12 files changed:
AUTHORS
ChangeLog
NEWS
configure.ac
curses/pinentry-curses.c
gtk/pinentry-gtk.c
pinentry/pinentry.c
pinentry/pinentry.h
qt/main.cpp
secmem/secmem.c
secmem/util.c
secmem/util.h