Re: Question regarding lock of the master drbg during the fork

2019-08-28 Thread Dr Paul Dale
Сергей , We are aware that we do not handle the fork(2) system call perfectly. My advice would be to not hold a lock while calling fork(2). OpenSSL, as of 1.1.0, does hold per-process locks itself. The locking callbacks were present in 1.0.2 and before but are now obsolete. Even if it

Question regarding lock of the master drbg during the fork

2019-08-28 Thread Сергей Юнаковский
Hello, I have a question regarding the usage of the master DRBG during the fork operation. As far as I understand from the source code and articles, during the fork the library will perform the lock of the master DRBG to obtain the entropy for public and private DRBG. However, the library does not