You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by mi...@apache.org on 2005/08/21 16:47:25 UTC

cvs commit: xml-security/c/src/enc/NSS NSSCryptoX509.cpp

milan       2005/08/21 07:47:25

  Modified:    c/src/enc/NSS NSSCryptoX509.cpp
  Log:
  Instructions for "fixing" compiler error.
  
  Revision  Changes    Path
  1.4       +4 -2      xml-security/c/src/enc/NSS/NSSCryptoX509.cpp
  
  Index: NSSCryptoX509.cpp
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/enc/NSS/NSSCryptoX509.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- NSSCryptoX509.cpp	21 Aug 2005 14:25:00 -0000	1.3
  +++ NSSCryptoX509.cpp	21 Aug 2005 14:47:25 -0000	1.4
  @@ -120,8 +120,10 @@
     i.len = rawCertLen;
   
   	mp_cert = __CERT_DecodeDERCertificate(&i, PR_TRUE, NULL);
  -  // Since __CERT_DecodeDERCertificate is a private function we might consider using
  -  // __CERT_NewTempCertificate() or CERT_ImportCerts() instead
  +  // 1. If you got an compiler error here add into "nss/cert.h" delacarion for
  +  // CERT_DecodeDERCertificate() (the same parameters as for __CERT_DecodeDERCertificate())
  +  // 2. Since __CERT_DecodeDERCertificate is a private function we might consider using
  +  // __CERT_NewTempCertificate() or CERT_ImportCerts() instead.
   
     if (mp_cert == 0) {