nss: change initialization back to read-only
commitad57b555c9763f22f82e869abd752bb98259e696
authorStefan Becker <chemobejk@gmail.com>
Fri, 11 Nov 2011 20:48:26 +0000 (11 22:48 +0200)
committerStefan Becker <chemobejk@gmail.com>
Fri, 11 Nov 2011 20:48:26 +0000 (11 22:48 +0200)
tree3fd4b931ea7600e07452e9def672c5efb81c866a
parentc98ac9cc6760e1b3c1eb42418005714039fe6954
nss: change initialization back to read-only

This reverts commit ef9fb4220947844b0d8c619f563427bd274d778c.

As it turns out NSS doesn't force us to use permanent keys and
certificates. So we can switch back to read-only mode without any
database and keep all the stuff in memory.

As the TLS-DSK certificates only have a validity time of a day, it
doesn't make sense to store them anyway and instead request a new one
for each reauthentication.
src/api/sipe-backend.h
src/core/sipe-crypt-nss.c
src/purple/purple-user.c