Hi,

well there is a specific reason I am not using SSL :-). Anyway, I have already 
solved the problem without using the BIOs.

Best regards,
Jernej Kos.

On Friday 29 of June 2007, David Schwartz wrote:
> > i am trying to use the BIO_f_cipher to encrypt/decrypt data
> > coming/going over
> > a socket BIO. Everything works fine, just the last message that is sent
> > blocks the receiving side until a socket timeout ocurrs - at that
> > time the
> > last block is properly decrypted. Is there something that should
> > be used to
> > signal an end-of-message to the cipher BIO ?
> >
> > Best regards,
> > Jernej Kos.
>
> BIO_flush. Note that you can only call itonce at the very end of data. If
> you are trying to send multiple logical messages, you should use SSL and
> not a cipher BIO.
>
> SSL has a way to flush without ending the connection, cipher BIOs don't. So
> you can't be sure the other side gets the end of messsage X until you send
> enough data past it to give the cipher a full chunk.
>
> DS
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]



-- 
Jernej Kos <[EMAIL PROTECTED]>
Unimatrix-One
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to