> From: owner-openssl-us...@openssl.org On Behalf Of Carolin Latze > Sent: Tuesday, 04 September, 2012 08:03
> I went on reading about this error and figured out that the socket bio > does not support the BIO_gets method. Is it possible that > PEM_read_bio_RSA_PUBKEY uses BIO_gets internally and is therefore not > really compatible with a socket bio? > I'd expect PEM_read* uses BIO_gets, since PEM format is line-oriented. And the error report you got indicated it did. > In order to verify that I created a buffer BIO > (BIO_f_buffer()) on top of > the socket bio for the read function. And this just works. Is this the > desired way to do this? I can live with it, but since it was not > documented (or maybe I just missed it), I did not expect it. > Guess so. One major goal of the BIO architecture is to allow plugging together components like that, so it seems quite reasonable. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org