This PR has improvements in checking X509 cert validity.
in get_proxy() combines cigetcert and k509 calls,
this to check we have valid cert on MyProxy server and that the local cert has enough lifetime.
Also in warn_proxy() this replaces exit 1 with return 1, here the exit 1 call would cause a logout.
This PR has improvements in checking X509 cert validity. in get_proxy() combines cigetcert and k509 calls, this to check we have valid cert on MyProxy server and that the local cert has enough lifetime. Also in warn_proxy() this replaces
exit 1
withreturn 1
, here theexit 1
call would cause a logout.