From: Howard Chu Date: Sun, 10 Feb 2008 11:58:16 +0000 (+0000) Subject: ITS#5341 GnuTLS ciphersuite parsing X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~178 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=68316527c4111dcc10e2d146f51910cf85be8f28;p=openldap ITS#5341 GnuTLS ciphersuite parsing --- 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;