ca: Make _renewCAIfNeeded threadsafe.
This is called from many places which make sense to call independently and should not conflict. So protect against parallel CA renewal. Result code will never block: a single thread will process renewal, concurrent threads will just use the still-valid latest CA.
Showing
Please register or sign in to comment