Switch out the key/cert in a critical section (mutex wrapped). This will prevent...
authorArt Cancro <ajc@citadel.org>
Mon, 10 Jan 2022 16:59:07 +0000 (11:59 -0500)
committerArt Cancro <ajc@citadel.org>
Mon, 10 Jan 2022 16:59:07 +0000 (11:59 -0500)
commit3ebf6cfccebc68f252a46e68b9c94a1cc09c6fd3
tree38eddb07fd1b64eeace04155497f3635a7bc91ec
parent41a68e93ee5d46eec3cf12f4614e53c1bac84e43
Switch out the key/cert in a critical section (mutex wrapped).  This will prevent multiple threads from doing it at once and leaking memory (thanks zcw159357)
citadel/modules/crypto/serv_crypto.c
citadel/modules/crypto/serv_crypto.h