Hello, .... > to decrypt the signature (looking at the RSA_verify() > code): > i = RSA_public_decrypt(128, cert1->signature->data, s, > rsa_priv, > RSA_PKCS1_PADDING); > p=s; > sig=d2i_X509_SIG(NULL,&p,(long)i); Signature should be decrypted with RSA public key. Private key is used to create signature.
Best regards, -- Marek Marcola <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]