summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-08-21 23:04:41 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-08-21 23:04:41 +0000
commit3f026ff052b251e184bf9ae824160c0d42c6dc22 (patch)
treec8c79d0d4fdd4163a7852d69da5e803458b8e1df
parenta5680eebe94ef36e5fea584b4cf1cdaed706581c (diff)
downloadgnutls-3f026ff052b251e184bf9ae824160c0d42c6dc22.tar.gz
*** empty log message ***
-rw-r--r--src/cli.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cli.c b/src/cli.c
index 7d9b4c42ec..ec7bb6b30c 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -556,7 +556,9 @@ void gaa_parser(int argc, char **argv)
cipher_priority[j++] = GNUTLS_CIPHER_TWOFISH_128_CBC;
if (strncasecmp(info.ciphers[i], "3DE", 3) == 0)
cipher_priority[j++] = GNUTLS_CIPHER_3DES_CBC;
- if (strncasecmp(info.ciphers[i], "ARC", 3) == 0)
+ if (strcasecmp(info.ciphers[i], "ARCFOUR-EXPORT") == 0)
+ cipher_priority[j++] = GNUTLS_CIPHER_ARCFOUR_EXPORT;
+ if (strcasecmp(info.ciphers[i], "ARCFOUR") == 0)
cipher_priority[j++] = GNUTLS_CIPHER_ARCFOUR;
if (strncasecmp(info.ciphers[i], "NUL", 3) == 0)
cipher_priority[j++] = GNUTLS_CIPHER_NULL;