The function "X509_REQ_verify" return -1 because The digest table must be
initialized using, for example, OpenSSL_add_all_digests().
You can use the function ERR_print_errors(BIO *) to know the OPENSSL
function which has returned the error. 




-----Message d'origine-----
De : manjunath gv [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 29 mars 2001 09:06
À : [EMAIL PROTECTED]
Objet : problem in verifying the request


hello

  i have to generate a request and sign it and
then verify the same. i have written code for it
and the result code for verification is -1 which
implies it is a error. i cannot understand why is
it so.
 
  im attaching the code with mail so please find 
time execute it 

the code does the following
1. generate the keys
2. generate request object
3. fill request structure
4. sign the request
5. verify the sign

find the code in attachment

thanx in advance





____________________________________________________________
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to