restored some style

This commit is contained in:
fpeters 2005-04-01 17:22:47 +00:00
parent b544b2329f
commit 354f3b99b2
1 changed files with 3 additions and 3 deletions

View File

@ -262,7 +262,7 @@ char* http_auth()
struct authentication authentications[] = {
{"certificate", certificate_auth,
LASSO_SAML_AUTHENTICATION_METHOD_SOFTWARE_PKI},
LASSO_SAML_AUTHENTICATION_METHOD_SOFTWARE_PKI},
{"http", http_auth, LASSO_SAML_AUTHENTICATION_METHOD_PASSWORD},
{ NULL, NULL, NULL}
};
@ -272,8 +272,8 @@ struct authentication* get_authentication(char *auth_method)
{
int i;
for (i=0; authentications[i].name && \
strcmp(authentications[i].name, auth_method) != 0; i++) ;
for (i=0; authentications[i].name &&
strcmp(authentications[i].name, auth_method) != 0; i++) ;
if (authentications[i].name == NULL ) {
fprintf(stderr, "no auth by that name\n");