summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2001-02-04 22:12:17 +0000
committerstevesk <stevesk@openbsd.org>2001-02-04 22:12:17 +0000
commitcf4098433bec549bc5109a8da64c60688448c97a (patch)
tree4b4b6cd9a643d8c45a84b063fc245eee73bcec04 /usr.bin/ssh
parentAdd support for pseudo devices. Based on the new code in config. (diff)
downloadwireguard-openbsd-cf4098433bec549bc5109a8da64c60688448c97a.tar.xz
wireguard-openbsd-cf4098433bec549bc5109a8da64c60688448c97a.zip
precedence; ok markus@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/sshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index 76ea97bf2b5..f9efc81419b 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -40,7 +40,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.161 2001/02/04 15:32:27 stevesk Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.162 2001/02/04 22:12:17 stevesk Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@@ -710,7 +710,7 @@ main(int ac, char **av)
log("Disabling protocol version 2. Could not load host key");
options.protocol &= ~SSH_PROTO_2;
}
- if (! options.protocol & (SSH_PROTO_1|SSH_PROTO_2)) {
+ if (!(options.protocol & (SSH_PROTO_1|SSH_PROTO_2))) {
log("sshd: no hostkeys available -- exiting.\n");
exit(1);
}