ITS#5341 GnuTLS ciphersuite parsing

This commit is contained in:
Howard Chu 2008-02-10 11:58:16 +00:00
parent ae471f78c3
commit 68316527c4

View File

@ -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;