summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2001-02-04 22:12:18 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2001-02-04 22:12:18 +0000
commit67877909bfd3790dd8c65a7257d7fcef23378749 (patch)
tree64918caa0bef15ccd8cc0bef409f6e5b80a075f1 /usr.bin/ssh/sshd.c
parent1ab394cb0fbc54d2ac4530697b85bb31d19cd3e9 (diff)
precedence; ok markus@
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-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);
}