[BACK]Return to crypto_openssl.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / crypto / dist / ipsec-tools / src / racoon

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c between version 1.11.6.4 and 1.11.6.5

version 1.11.6.4, 2008/07/15 00:55:48 version 1.11.6.5, 2009/04/20 13:33:30
Line 901  eay_check_x509sign(source, sig, cert)
Line 901  eay_check_x509sign(source, sig, cert)
         evp = X509_get_pubkey(x509);          evp = X509_get_pubkey(x509);
         if (! evp) {          if (! evp) {
                 plog(LLV_ERROR, LOCATION, NULL, "X509_get_pubkey(): %s\n", eay_strerror());                  plog(LLV_ERROR, LOCATION, NULL, "X509_get_pubkey(): %s\n", eay_strerror());
                   X509_free(x509);
                 return -1;                  return -1;
         }          }
   
         res = eay_rsa_verify(source, sig, evp->pkey.rsa);          res = eay_rsa_verify(source, sig, evp->pkey.rsa);
   
         EVP_PKEY_free(evp);          EVP_PKEY_free(evp);
           X509_free(x509);
   
         return res;          return res;
 }  }

Legend:
Removed from v.1.11.6.4  
changed lines
  Added in v.1.11.6.5

CVSweb <webmaster@jp.NetBSD.org>