summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/hostfile.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-03-18 10:09:43 +0000
committerdes <des@FreeBSD.org>2002-03-18 10:09:43 +0000
commit6534271ec8abc00a8016a575a8e7151d944ef5a8 (patch)
treea7d90beaf7fa4922f64c5a6eca7154fa082e43a1 /crypto/openssh/hostfile.c
parentd3e3318ac7d7a176fefa5849509c01442694b4c7 (diff)
downloadFreeBSD-src-6534271ec8abc00a8016a575a8e7151d944ef5a8.zip
FreeBSD-src-6534271ec8abc00a8016a575a8e7151d944ef5a8.tar.gz
Fix conflicts.
Diffstat (limited to 'crypto/openssh/hostfile.c')
-rw-r--r--crypto/openssh/hostfile.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/crypto/openssh/hostfile.c b/crypto/openssh/hostfile.c
index fa70d7e..5b2ee4b 100644
--- a/crypto/openssh/hostfile.c
+++ b/crypto/openssh/hostfile.c
@@ -11,7 +11,7 @@
* called by a name other than "ssh" or "Secure Shell".
*
*
- * Copyright (c) 1999,2000 Markus Friedl. All rights reserved.
+ * Copyright (c) 1999, 2000 Markus Friedl. All rights reserved.
* Copyright (c) 1999 Niels Provos. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,7 +36,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: hostfile.c,v 1.26 2001/04/12 19:15:24 markus Exp $");
+RCSID("$OpenBSD: hostfile.c,v 1.29 2001/12/18 10:04:21 jakob Exp $");
RCSID("$FreeBSD$");
#include "packet.h"
@@ -72,18 +72,7 @@ hostfile_read_key(char **cpp, u_int *bitsp, Key *ret)
return 1;
}
-int
-auth_rsa_read_key(char **cpp, u_int *bitsp, BIGNUM * e, BIGNUM * n)
-{
- Key *k = key_new(KEY_RSA1);
- int ret = hostfile_read_key(cpp, bitsp, k);
- BN_copy(e, k->rsa->e);
- BN_copy(n, k->rsa->n);
- key_free(k);
- return ret;
-}
-
-int
+static int
hostfile_check_key(int bits, Key *key, const char *host, const char *filename, int linenum)
{
if (key == NULL || key->type != KEY_RSA1 || key->rsa == NULL)
OpenPOWER on IntegriCloud