Option to clear (set to midnight) the time part of notBefore and notAfter fields

2007-08-21 Thread Eric Deplagne
Hi. Annoyed by having the time part of notBefore and notAfter fields set to the time I run the command, I hacked a "-cleartime" option to "openssl x509" and "openssl req -x509". I attach the patch against the files from debian etch's openssl 0.9.8c-4. Cheers. -- Eric Deplagne -

BIO_ctrl_get_write_guarantee()==0

2007-08-21 Thread Mark Pietras
Anybody know why BIO_ctrl_get_write_guarantee() might always returns zero on a valid connected TLS session? A small BIO_write() immediately following it works fine, so I'm wondering how I can get the actual buffer space available for a write... Thanks. ___

Re: Memeory leak in PEM_read_bio_X509

2007-08-21 Thread Kaushalye Kapuruge
Yeah thanks.. It's my bad to miss such a simple thingy... The problem was actually my program(more complex than the test case) is giving the same memory leak. Seems I have to look at my code more carefully. Cheers, Kaushalye Nick Hudson wrote: Kaushalye Kapuruge wrote: Hi, Somebody please r

Re: Memeory leak in PEM_read_bio_X509

2007-08-21 Thread Nick Hudson
Kaushalye Kapuruge wrote: Hi, Somebody please reply to my question... :) Cheers, Kaushalye Kaushalye Kapuruge wrote: Hi, I found that there is a memory leak in the function PEM_read_bio_X509(); Herewith I've attached the valgrind trace(with flags --tool=memcheck --leak-check=full --show-reacha