Changed how "GETCONFIG ITERATIONS" works. If there is a file specified,
commit89822cfaee52165a35637e3b09aa8de76187a08c
authorBen Kibbey <bjk@luxsci.net>
Sun, 19 Apr 2009 19:34:30 +0000 (19 15:34 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sun, 19 Apr 2009 19:34:30 +0000 (19 15:34 -0400)
tree49c58074296fdb027881b4a16dc457bb09a106d5
parent85ab3b266912a1ee26aa2d8e9b40482d401502e8
Changed how "GETCONFIG ITERATIONS" works. If there is a file specified,
and not the currently opened file, read the file header of the specified
file and return the result. Otherwise, use the current setting of the
opened file or the global setting if no file has been opened yet. This
allows a client to determine if a pinentry is needed or not (the file is
not encrypted: iterations=0).
src/commands.c
src/common.h
src/pwmd.c