Rij:
> > If you get SSL_ERROR_WANT_READ, you need to epoll/select for
? > readability. If
> > you get SSL_ERROR_WANT_WRITE, you need to epoll/select for readability.
> I am assuming the above was a typo and you meant writeability for
> SSL_ERROR_WRITE.
Correct.
> Ok. That's interesting. I actu
Greetings community,
Alright, I'm trying to serialise a RSA public key and then
deserialise it again; Later the key will be serialised and
then deserialised on the other end of a TCP connection.
For now, I'm just serialising and then deserialising the
key. I've read the other posts to the list on
On Sat, Aug 01, 2009, Conor wrote:
> Greetings community,
>
> Alright, I'm trying to serialise a RSA public key and then
> deserialise it again; Later the key will be serialised and
> then deserialised on the other end of a TCP connection.
> For now, I'm just serialising and then deserialising th
> Well memcmp certainly wont work with an RSA structure, it contains pointers
> which will differ even for the same key.
>
> You can check the values by calling BN_cmp() on rsa->n and rsa->e .
Marvelous. That's solved my problem.
Thank you for your time and input Dr. Henson.
_
Hi,
I have been trying to figure out why this is crashing with a
'Segmentation fault', as far as I can see all the buffers etc. are
getting setup and passed around correctly.
If I comment out line 51 with the call to RSA_private_decrypt() I
don't get the 'Segmentation fault'.
Help Please.