summaryrefslogtreecommitdiff
path: root/crypto/openssh/auth2-pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/auth2-pam.c')
-rw-r--r--crypto/openssh/auth2-pam.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/openssh/auth2-pam.c b/crypto/openssh/auth2-pam.c
index a2daf96b71aa..ac28fb2451c9 100644
--- a/crypto/openssh/auth2-pam.c
+++ b/crypto/openssh/auth2-pam.c
@@ -1,5 +1,5 @@
#include "includes.h"
-RCSID("$Id: auth2-pam.c,v 1.14 2002/06/28 16:48:12 mouring Exp $");
+RCSID("$Id: auth2-pam.c,v 1.15 2003/01/08 01:37:03 djm Exp $");
#ifdef USE_PAM
#include <security/pam_appl.h>
@@ -154,8 +154,7 @@ input_userauth_info_response_pam(int type, u_int32_t seqnr, void *ctxt)
resp = packet_get_string(&rlen);
context_pam2.responses[j].resp_retcode = PAM_SUCCESS;
- context_pam2.responses[j].resp = xstrdup(resp);
- xfree(resp);
+ context_pam2.responses[j].resp = resp;
context_pam2.num_received++;
}