summaryrefslogtreecommitdiff
path: root/auth-skey.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-21 00:41:51 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-21 00:41:51 +0000
commitcb72e4f6d2cf63cda22484ec90142689fed288f6 (patch)
tree3bc1bb95abd19df05ee0b3e78bad6cdba987837f /auth-skey.c
parent115422f918d86e007cb3c050e9c4d09102580089 (diff)
- deraadt@cvs.openbsd.org 2002/06/19 00:27:55
[auth-bsdauth.c auth-skey.c auth1.c auth2-chall.c auth2-none.c authfd.c authfd.h monitor_wrap.c msg.c nchan.c radix.c readconf.c scp.c sftp.1 ssh-add.1 ssh-add.c ssh-agent.1 ssh-agent.c ssh-keygen.1 ssh-keygen.c ssh-keysign.c ssh.1 sshconnect.c sshconnect.h sshconnect2.c ttymodes.c xmalloc.h] KNF done automatically while reading....
Diffstat (limited to 'auth-skey.c')
-rw-r--r--auth-skey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-skey.c b/auth-skey.c
index b64550443..eb13c5cc5 100644
--- a/auth-skey.c
+++ b/auth-skey.c
@@ -22,7 +22,7 @@
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24#include "includes.h" 24#include "includes.h"
25RCSID("$OpenBSD: auth-skey.c,v 1.18 2002/05/13 02:37:39 itojun Exp $"); 25RCSID("$OpenBSD: auth-skey.c,v 1.19 2002/06/19 00:27:55 deraadt Exp $");
26 26
27#ifdef SKEY 27#ifdef SKEY
28 28
@@ -50,8 +50,8 @@ skey_query(void *ctx, char **name, char **infotxt,
50 if (skeychallenge(&skey, authctxt->user, challenge) == -1) 50 if (skeychallenge(&skey, authctxt->user, challenge) == -1)
51 return -1; 51 return -1;
52 52
53 *name = xstrdup(""); 53 *name = xstrdup("");
54 *infotxt = xstrdup(""); 54 *infotxt = xstrdup("");
55 *numprompts = 1; 55 *numprompts = 1;
56 *prompts = xmalloc(*numprompts * sizeof(char*)); 56 *prompts = xmalloc(*numprompts * sizeof(char*));
57 *echo_on = xmalloc(*numprompts * sizeof(u_int)); 57 *echo_on = xmalloc(*numprompts * sizeof(u_int));