diff options
| author | christos <christos@NetBSD.org> | 2005-03-17 01:14:40 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-03-17 01:14:40 +0000 |
| commit | dbf71d82fbf046b8b8bf0b2d32147fcf8dcd93f4 (patch) | |
| tree | b0cd7e69f1005d79f0aa1a1688e3d586ff507c04 /lib/libpam/modules | |
| parent | 99186ebfc824f472e6bc02c68d164896b2b74306 (diff) | |
remove debugging printf's
Diffstat (limited to 'lib/libpam/modules')
| -rw-r--r-- | lib/libpam/modules/pam_ssh/pam_ssh.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libpam/modules/pam_ssh/pam_ssh.c b/lib/libpam/modules/pam_ssh/pam_ssh.c index 513a4420854..254b2e09a6f 100644 --- a/lib/libpam/modules/pam_ssh/pam_ssh.c +++ b/lib/libpam/modules/pam_ssh/pam_ssh.c @@ -1,4 +1,4 @@ -/* $NetBSD: pam_ssh.c,v 1.8 2005/03/14 23:39:26 christos Exp $ */ +/* $NetBSD: pam_ssh.c,v 1.9 2005/03/17 01:14:40 christos Exp $ */ /*- * Copyright (c) 2003 Networks Associates Technology, Inc. @@ -38,7 +38,7 @@ #ifdef __FreeBSD__ __FBSDID("$FreeBSD: src/lib/libpam/modules/pam_ssh/pam_ssh.c,v 1.40 2004/02/10 10:13:21 des Exp $"); #else -__RCSID("$NetBSD: pam_ssh.c,v 1.8 2005/03/14 23:39:26 christos Exp $"); +__RCSID("$NetBSD: pam_ssh.c,v 1.9 2005/03/17 01:14:40 christos Exp $"); #endif #include <sys/param.h> @@ -179,12 +179,10 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, pass = (pam_get_item(pamh, PAM_AUTHTOK, (const void **)__UNCONST(&passphrase)) == PAM_SUCCESS); - printf("pass = %d %s\n", pass, passphrase); load_keys: /* get passphrase */ pam_err = pam_get_authtok(pamh, PAM_AUTHTOK, &passphrase, pam_ssh_prompt); - printf("passphrase %s\n", passphrase); if (pam_err != PAM_SUCCESS) { openpam_restore_cred(pamh); return (pam_err); @@ -209,7 +207,6 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, openpam_get_option(pamh, "try_first_pass") != NULL) { pam_set_item(pamh, PAM_AUTHTOK, NULL); pass = 0; - printf("goto again\n"); goto load_keys; } |
