summaryrefslogtreecommitdiff
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 6a9ba4653..050ee47ba 100644
--- a/compat.c
+++ b/compat.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: compat.c,v 1.57 2002/01/13 17:57:37 markus Exp $"); 26RCSID("$OpenBSD: compat.c,v 1.58 2002/01/21 22:30:12 markus Exp $");
27 27
28#include "buffer.h" 28#include "buffer.h"
29#include "packet.h" 29#include "packet.h"
@@ -193,7 +193,7 @@ compat_cipher_proposal(char *cipher_prop)
193 buffer_init(&b); 193 buffer_init(&b);
194 tmp = orig_prop = xstrdup(cipher_prop); 194 tmp = orig_prop = xstrdup(cipher_prop);
195 while ((cp = strsep(&tmp, ",")) != NULL) { 195 while ((cp = strsep(&tmp, ",")) != NULL) {
196 if (strncmp(cp, "aes", 3) && strncmp(cp, "rijndael", 8)) { 196 if (strncmp(cp, "aes", 3) != 0) {
197 if (buffer_len(&b) > 0) 197 if (buffer_len(&b) > 0)
198 buffer_append(&b, ",", 1); 198 buffer_append(&b, ",", 1);
199 buffer_append(&b, cp, strlen(cp)); 199 buffer_append(&b, cp, strlen(cp));