Title: X509_verify

Hi,
I have trying to solve very simple problem (unfortunately I  am not able to install debug Opnssl libraries) and  it looks like:

//k = OBJ_obj2nid(x509CheckingCert->sig_alg->algorithm);
test= X509_check_private_key(x509,publicKey);
test = X509_verify(x509CheckingCert, publicKey); 

I have created and filled with data x509 structure and  than store it  into pem files, print it etc. The X509 when printing was OK with signature and its type. When I run the above code the program crashed at some point indicating that it stops at a_verify.c at  the line 83,  from where I could see that it did not recognise the the type of digest algorithm. The number k is 18. So it should recognise md5(). Any suggestion?

Thank in advance.


Alex Cosic

Reply via email to