diff options
author | des <des@FreeBSD.org> | 2002-11-28 20:11:31 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-11-28 20:11:31 +0000 |
commit | c88eb4583ea118f08c3bd5ca7b197674c80f0120 (patch) | |
tree | aa2a620315db40905cea4a073f6fd05f92a34e25 /lib/libpam | |
parent | 29b2e3446cc55055c283a297532fada30cb6c615 (diff) | |
download | FreeBSD-src-c88eb4583ea118f08c3bd5ca7b197674c80f0120.zip FreeBSD-src-c88eb4583ea118f08c3bd5ca7b197674c80f0120.tar.gz |
Whitespace nits.
Approved by: re (bmah)
Diffstat (limited to 'lib/libpam')
-rw-r--r-- | lib/libpam/modules/pam_ksu/pam_ksu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpam/modules/pam_ksu/pam_ksu.c b/lib/libpam/modules/pam_ksu/pam_ksu.c index ab413a9..a2ffe61 100644 --- a/lib/libpam/modules/pam_ksu/pam_ksu.c +++ b/lib/libpam/modules/pam_ksu/pam_ksu.c @@ -58,7 +58,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, char *su_principal_name; long rv; int pamret; - + pamret = pam_get_user(pamh, &user, NULL); if (pamret != PAM_SUCCESS) return (pamret); @@ -238,7 +238,7 @@ get_su_principal(krb5_context context, const char *target_user, const char *curr *su_principal_name = NULL; (void)asprintf(su_principal_name, "%s/%s@%s", principal_name, superuser, p); free(principal_name); - } else + } else *su_principal_name = principal_name; if (*su_principal_name == NULL) |