On Wed, Jan 12, 2011 at 3:40 PM, Mark H. Wood <[email protected]> wrote:
> On Tue, Jan 11, 2011 at 05:39:19PM +0100, Fredrik Strömberg wrote:
>> Hello Patrick,
>>
>> Thank you for your email. I somehow managed to miss the word
>> "mandatory" in the manual. I guess there´s nothing else for me to do
>> than code a file lock. I need to run multiple openssl instances, and
>> openssl doesn´t lock the serial and index files. That´s why I figured
>> I´d avoid the problem by not using the serial or index file at all,
>> and maybe supply a unique serial from the command line.
>
> That sounds like a problem with OpenSSL that should be fixed.  Perhaps
> you could develop and share a patch that provides locking?
>
> --
> Mark H. Wood, Lead System Programmer   [email protected]
> Asking whether markets are efficient is like asking whether people are smart.
>

I solved the problem by making a file lock in my customized wrapper,
in Python, with the fcntl module. No C code involved. My skills in C
are not enough to code a patch suited for production use,
unfortunately.

Kind regards,
Fredrik Strömberg
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to