summaryrefslogtreecommitdiffstats
path: root/compat.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:34:35 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:34:35 +1100
commit914bef437e7b80da027116e140e41746dafc45ee (patch)
treea9fc11fcb1e528940191b12511b888f5ca46edcd /compat.c
parent49d795c647fb4c0d2dcbb3a5fcfe109984cdac15 (diff)
- markus@cvs.openbsd.org 2002/01/21 22:30:12
[cipher.c compat.c myproposal.h] remove "rijndael-*", just use "aes-" since this how rijndael is called in the drafts; ok stevesk@
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat.c b/compat.c
index 6a9ba465..050ee47b 100644
--- a/compat.c
+++ b/compat.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: compat.c,v 1.57 2002/01/13 17:57:37 markus Exp $");
+RCSID("$OpenBSD: compat.c,v 1.58 2002/01/21 22:30:12 markus Exp $");
#include "buffer.h"
#include "packet.h"
@@ -193,7 +193,7 @@ compat_cipher_proposal(char *cipher_prop)
buffer_init(&b);
tmp = orig_prop = xstrdup(cipher_prop);
while ((cp = strsep(&tmp, ",")) != NULL) {
- if (strncmp(cp, "aes", 3) && strncmp(cp, "rijndael", 8)) {
+ if (strncmp(cp, "aes", 3) != 0) {
if (buffer_len(&b) > 0)
buffer_append(&b, ",", 1);
buffer_append(&b, cp, strlen(cp));