cvmfs/signature.cc
bool SignatureManager::LoadTrustedCaCrl(const string &path_list) {
  InitX509Store();

  /* TODO if (path_list == "") {
    return true;
  }*/
  const vector<string> paths = SplitString(path_list, ':');
  for (unsigned i = 0; i < paths.size(); ++i) {
    int retval = X509_LOOKUP_add_dir(x509_lookup_, paths[i].c_str(),
                                     X509_FILETYPE_PEM);
    if (!retval)
      return false;
  }
  return true;
}
/**
 * Loads CA certificates CRLs from a ":" separated list of paths.
 * The information is used for proper X509 verification.
 * The format of the certificates and CRLs has to be OpenSSL hashed certs.
 * The path can be something like /etc/grid-security/certificates.
 * If path_list is empty, the default path is taken.
 */
Loads CA certificates CRLs from a ":" separated list of paths.
The information is used for proper X509 verification.
The format of the certificates and CRLs has to be OpenSSL hashed certs.
The path can be something like /etc/grid-security/certificates.
If path_list is empty, the default path is taken.
Loads CA certificates CRLs from a " : " separated list of paths . The information is used for proper X509 verification . The format of the certificates and CRLs has to be OpenSSL hashed certs . The path can be something like / etc / grid - security / certificates . If path_list is empty the default path is taken .
bool SignatureManager::LoadTrustedCaCrl(const string &path_list) {
  InitX509Store();
  const vector<string> paths = SplitString(path_list, ':');
  for (unsigned i = 0; i < paths.size(); ++i) {
    int retval = X509_LOOKUP_add_dir(x509_lookup_, paths[i].c_str(),
                                     X509_FILETYPE_PEM);
    if (!retval)
      return false;
  }
  return true;
}
bool SignatureManager :: LoadTrustedCaCrl ( const string & path_list ) { InitX509Store ( ) ; const vector < string > paths = SplitString ( path_list , ' ' ) ; for ( unsigned i = 0 ; i < paths . size ( ) ; ++ i ) { int retval = X509_LOOKUP_add_dir ( x509_lookup_ , paths [ i ] . c_str ( ) , X509_FILETYPE_PEM ) ; if ( ! retval ) return false ; } return true ; }
Loads CA certificates CRLs from a ":" separated list of paths.
Loads CA certificates CRLs from a " : " separated list of paths .
/* TODO if (path_list == "") {
    return true;
  }*/