stroke: Atomically replace CA and AA certificates when reloading them
authorTobias Brunner <tobias@strongswan.org>
Thu, 20 Aug 2015 08:08:08 +0000 (10:08 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 20 Aug 2015 17:19:37 +0000 (19:19 +0200)
commit99610f406dea1dbdb3a37fca07d36d2168e99bd7
tree06b45b43186f291f31ee7f2d4ac827a4b808df3e
parent58db4edb2c15ca800dbab8d51caf3390dad6cd1c
stroke: Atomically replace CA and AA certificates when reloading them

Previously it was possible that certificates were not found between the
time the credential sets were cleared and the certificates got readded.
src/libcharon/plugins/stroke/stroke_cred.c