]> andersk Git - openssh.git/blobdiff - dh.c
20001123
[openssh.git] / dh.c
diff --git a/dh.c b/dh.c
index ff84619cf681e3735d4cbd0a9d62a3d8c324c2f0..35e9014333b899c17a98eba015fc8cd673ad434e 100644 (file)
--- a/dh.c
+++ b/dh.c
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: dh.c,v 1.2 2000/10/11 20:11:35 markus Exp $");
+RCSID("$OpenBSD: dh.c,v 1.3 2000/11/16 17:55:43 markus Exp $");
 
 #include "xmalloc.h"
 
@@ -102,7 +102,6 @@ choose_dh(int minbits)
 
        f = fopen(DH_PRIMES, "r");
        if (!f) {
-               perror(DH_PRIMES);
                log("WARNING: %s does not exist, using old prime", DH_PRIMES);
                return (dh_new_group1());
        }
@@ -133,8 +132,7 @@ choose_dh(int minbits)
 
        f = fopen(DH_PRIMES, "r");
        if (!f) {
-               perror(DH_PRIMES);
-               exit(1);
+               fatal("WARNING: %s dissappeared, giving up", DH_PRIMES);
        }
 
        linenum = 0;
This page took 0.03247 seconds and 4 git commands to generate.