Hi Folks,

I hope someone could help me with this.

I am receiving a public key from a server on a windows machine, and I am trying to 
import
it using d2i_RSAPublicKey.  This fails with the following error:

"error:0D118071:asn1 encoding routines:d2i_ASN1_UINTEGER:expecting an integer"

Does anyone know what the problem could be?  I am reading the public key as unsigned
chars from the server through the socket api.  I have also tried reading the key from a
file that was previously created by dumping the chars into that file.

I am assuming this could be the reason why I am having the other issues that I had 
posted
earlier, regarding the session key encryption using the public key.

Any help would greatly appreciated.

Thanx in advance!!



=====
- J
  | 
  -> [EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to