]> granicus.if.org Git - neomutt/commit
Allow larger passphrase timeout values
authorEike Rathke <erack@erack.de>
Mon, 18 Jun 2018 20:04:47 +0000 (22:04 +0200)
committerRichard Russon <rich@flatcap.org>
Wed, 20 Jun 2018 15:18:41 +0000 (16:18 +0100)
commitb8466bf029ea6ec1c409c65b75e6b7a1820b9635
treeac26eeb0d9f82efc3db12d08093ff3ceaf7162ec
parente32254b497008738ab15938978ba587a765726a9
Allow larger passphrase timeout values

This came up in the comp.mail.mutt newsgroup where a user wasn't
satisfied with the SHORT_MAX seconds ~9 hours limit on passphrase
timeouts.

For the first time made it necessary for the options parser to be
able to parse numbers as long values. Also, introduced
mutt_add_timeout() to detect possible overflow before adding a
timeout to a time_t value and truncate to TIME_T_MAX instead.
doc/makedoc.c
doc/manual.xml.head
globals.h
init.c
init.h
mutt/date.c
mutt/date.h
mutt_options.h
ncrypt/pgp.c
ncrypt/smime.c