Skip to content
Snippets Groups Projects
Commit b5232409 authored by Andrea Manzi's avatar Andrea Manzi
Browse files

FTS-1311: add a check for voms_lifetime , cause =0 means no voms_extensions

parent f04fba2f
No related branches found
No related tags found
2 merge requests!23Develop,!19Develop
......@@ -189,7 +189,7 @@ bool DelegCred::isValidProxy(const std::string& filename, std::string& message)
return false;
}
else if(minValidityTime() >= (unsigned long)voms_lifetime)
else if( (voms_lifetime > 0) && (minValidityTime() >= (unsigned long)voms_lifetime))
{
message = " VO extensions for certificate ";
message += filename;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment