chiark / gitweb /
key.c (key_pynew): Make `exptime' arg (a) optional, and (b) unsigned.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 1 Jan 2014 17:32:08 +0000 (17:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 4 Jan 2014 01:40:12 +0000 (01:40 +0000)
commitb048ac9d6e0caa90f7e892f4f2c96c9003c47932
tree6bb09322c739e0048f3dca5ed693064b033a8ac0
parentf72dbe4cf57bcf84dd85b685f514b37bff3c8001
key.c (key_pynew): Make `exptime' arg (a) optional, and (b) unsigned.

Otherwise (a) it was pointless trying to set a default, and (b) you get
an error when you try to set KEXP_FOREVER explicitly.  Effectively it
was impossible to make keys which never expire.
key.c