Re: 1.0.0e decryption failed or bad record mac

2013-08-15 Thread Mark Pietras
I take that back, there was a modification... we recently switched cipher preferences due to security concerns... might this have an impact on the issue?? SSL_CTX_set_options( ssl_ctx_server, SSL_OP_CIPHER_SERVER_PREFERENCE ); Mark. - Original Message - From: Mark Pietras To

1.0.0e decryption failed or bad record mac

2013-08-15 Thread Mark Pietras
Recently (within last month or so but can't pinpoint it to a specific change of ours in the OpenSSL version), we started getting this error: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac We haven't changed our application in a way that changes the utilization o

occasional initialization hang

2009-04-09 Thread Mark Pietras
I've got a win32 exe that occasionally (~2% of the time) hangs during initialization of the process' usage of openssl. I've seen this for a long time (and through several versions), so I'm assuming it's something I'm doing. I'm currently working against openssl-0.9.8j. Anyway, code of interest lo

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: BIO_read() error 0 -- long post

2003-09-18 Thread Mark Pietras
#x27;m not entirely sure if the ssl read calls have a minimum > amount of data they need to receive before they return. If they do, > then an indication from select() that data is ready to read doesn't mean > that a blocking ssl read call won't block waiting for more data. >

Re: BIO_read() error 0 -- long post

2003-08-27 Thread Mark Pietras
all to either a BIO_read() or a BIO_write()? From the sounds of your comment, I feel like I should be looking for a "BIO_should_retry_RW()" (or the like) call...? Thanks again, Mark. --- "Dr. Stephen Henson" <[EMAIL PROTECTED]> wrote: > On Wed, Aug 27, 2003,

BIO_read() error 0 -- long post

2003-08-27 Thread Mark Pietras
I’ve been using OpenSSL for some time now but I’ve run into a problem I just can’t track down... first time post here... hoping someone has some insight. Sorry about the length; I'm just trying to provide all information I have... The basics of the problem: I’ve got a solution (clients and serve