From 68316527c4111dcc10e2d146f51910cf85be8f28 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 10 Feb 2008 11:58:16 +0000 Subject: [PATCH] ITS#5341 GnuTLS ciphersuite parsing --- libraries/libldap/tls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index 93405ebe2d..a40601b784 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -307,6 +307,7 @@ tls_parse_ciphers( tls_ctx *ctx, char *suites ) /* unrecognized cipher suite */ return -1; } + ptr += len + 1; } while (end); /* Space for all 3 lists */ @@ -348,6 +349,7 @@ tls_parse_ciphers( tls_ctx *ctx, char *suites ) break; } } + ptr += len + 1; } while (end); kx[nkx] = 0; cipher[ncipher] = 0; -- 2.39.5