summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh.c b/ssh.c
index 654376981..cb321bcf3 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.c,v 1.505 2019/06/28 13:35:04 deraadt Exp $ */ 1/* $OpenBSD: ssh.c,v 1.506 2019/09/06 14:45:34 naddy Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -877,7 +877,7 @@ main(int ac, char **av)
877 } 877 }
878 break; 878 break;
879 case 'c': 879 case 'c':
880 if (!ciphers_valid(*optarg == '+' ? 880 if (!ciphers_valid(*optarg == '+' || *optarg == '^' ?
881 optarg + 1 : optarg)) { 881 optarg + 1 : optarg)) {
882 fprintf(stderr, "Unknown cipher type '%s'\n", 882 fprintf(stderr, "Unknown cipher type '%s'\n",
883 optarg); 883 optarg);