Skip to content

Typo in globus_gsi_system_config.c #204

@fscheiner

Description

@fscheiner

Detected by chance. There is a superfluous comma here:

if(user_key && !(*user_key))
{
GLOBUS_GSI_SYSCONFIG_ERROR_RESULT(
result,
GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_KEY_STRING,
(_GSSL("The user key could not be found in:\n,"
"1) env. var. X509_USER_KEY\n"
"2) $HOME/.globus/userkey.pem\n"
"3) $HOME/.globus/usercred.p12\n\n")));
goto done;

...that is not present for the case when the cert file is missing:

.globus/userkey.pem missing, .globus/usercert.pem present

$ grid-proxy-init -debug
Error: Couldn't find valid credentials to generate a proxy.
       grid_proxy_init.c:535: globus_sysconfig: Error with key filename: The user key could not be found in:
,1) env. var. X509_USER_KEY
2) $HOME/.globus/userkey.pem
3) $HOME/.globus/usercred.p12

.globus/userkey.pem present, .globus/usercert.pem missing

$ grid-proxy-init -debug
Error: Couldn't find valid credentials to generate a proxy.
       grid_proxy_init.c:535: globus_sysconfig: Error with certificate filename: The user cert could not be found in: 
1) env. var. X509_USER_CERT
2) $HOME/.globus/usercert.pem
3) $HOME/.globus/usercred.p12

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions