]> andersk Git - openssh.git/commitdiff
- jakob@cvs.openbsd.org 2001/12/18 10:04:21
authordjm <djm>
Fri, 21 Dec 2001 01:47:09 +0000 (01:47 +0000)
committerdjm <djm>
Fri, 21 Dec 2001 01:47:09 +0000 (01:47 +0000)
     [auth.h hostfile.c hostfile.h]
     remove auth_rsa_read_key, make hostfile_ready_key non static; ok markus@

ChangeLog
auth.h
hostfile.c
hostfile.h

index c8291525633161d94e9612213c422fb126488282..e7f54212151437dff198821d16afb60855a6f5cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,9 @@
    - markus@cvs.openbsd.org 2001/12/10 20:34:31
      [ssh-keyscan.c]
      check that server supports v1 for -t rsa1, report from wirth@dfki.de
+   - jakob@cvs.openbsd.org 2001/12/18 10:04:21
+     [auth.h hostfile.c hostfile.h]
+     remove auth_rsa_read_key, make hostfile_ready_key non static; ok markus@
 
 20011219
  - (stevesk) OpenBSD CVS sync X11 localhost display
diff --git a/auth.h b/auth.h
index 30a635d7af145a62bb6f6333db3efa969bbae31c..f1bc9db6cfb30388f1129dfd64918ed00565c52f 100644 (file)
--- a/auth.h
+++ b/auth.h
@@ -21,7 +21,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $OpenBSD: auth.h,v 1.23 2001/12/09 18:45:56 markus Exp $
+ * $OpenBSD: auth.h,v 1.24 2001/12/18 10:04:21 jakob Exp $
  */
 #ifndef AUTH_H
 #define AUTH_H
@@ -94,7 +94,6 @@ auth_rhosts2(struct passwd *, const char *, const char *, const char *);
 int     auth_rhosts_rsa(struct passwd *, const char *, RSA *);
 int      auth_password(Authctxt *, const char *);
 int      auth_rsa(struct passwd *, BIGNUM *);
-int      auth_rsa_read_key(char **, u_int *, BIGNUM *, BIGNUM *);
 int      auth_rsa_challenge_dialog(RSA *);
 
 #ifdef KRB4
index eeed920fa797a15f42d5e4eb598486be413c5699..cefff8d627650409b3efcffa1e666b17fadef4e8 100644 (file)
@@ -36,7 +36,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: hostfile.c,v 1.28 2001/06/25 08:25:37 markus Exp $");
+RCSID("$OpenBSD: hostfile.c,v 1.29 2001/12/18 10:04:21 jakob Exp $");
 
 #include "packet.h"
 #include "match.h"
@@ -49,7 +49,7 @@ RCSID("$OpenBSD: hostfile.c,v 1.28 2001/06/25 08:25:37 markus Exp $");
  * pointer over the key.  Skips any whitespace at the beginning and at end.
  */
 
-static int
+int
 hostfile_read_key(char **cpp, u_int *bitsp, Key *ret)
 {
        char *cp;
@@ -71,17 +71,6 @@ 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;
-}
-
 static int
 hostfile_check_key(int bits, Key *key, const char *host, const char *filename, int linenum)
 {
index 05ef69174d71ca2fe5a360adb7b9f98a72cb0b77..0244fdb53ea49f7556bfd838ff04d041200c6bcb 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: hostfile.h,v 1.9 2001/06/26 17:27:23 markus Exp $     */
+/*     $OpenBSD: hostfile.h,v 1.10 2001/12/18 10:04:21 jakob Exp $     */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -18,9 +18,9 @@ typedef enum {
        HOST_OK, HOST_NEW, HOST_CHANGED
 }       HostStatus;
 
+int     hostfile_read_key(char **, u_int *, Key *);
 HostStatus
 check_host_in_hostfile(const char *, const char *, Key *, Key *, int *);
 int     add_host_to_hostfile(const char *, const char *, Key *);
-int     auth_rsa_read_key(char **, u_int *, BIGNUM *, BIGNUM *);
 
 #endif
This page took 0.064621 seconds and 5 git commands to generate.