restored some style
This commit is contained in:
parent
b544b2329f
commit
354f3b99b2
|
@ -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");
|
||||
|
|
Reference in New Issue