diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |