summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-09 21:44:58 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-09 21:44:58 +0100
commit2f2736d2030c44042d4df2d0cdad5f74f611c6e9 (patch)
tree737191cbf8c898d37af73136d6fc6b0ff175ec25
parent8c1ee78125d7addf48bf1053cc00b39e0f94e055 (diff)
downloadgnutls-2f2736d2030c44042d4df2d0cdad5f74f611c6e9.tar.gz
corrected bug in reading signature algorithms for including in the signature algo extension.
-rw-r--r--lib/ext_signature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext_signature.c b/lib/ext_signature.c
index af6328b758..6bd27eea26 100644
--- a/lib/ext_signature.c
+++ b/lib/ext_signature.c
@@ -87,7 +87,7 @@ _gnutls_sign_algorithm_write_params (gnutls_session_t session, opaque * data,
p += 2;
- for (i = j = 0; i < session->internals.priorities.sign_algo.algorithms; i += 2, j++)
+ for (i = j = 0; j < session->internals.priorities.sign_algo.algorithms; i += 2, j++)
{
aid =
_gnutls_sign_to_tls_aid (session->internals.priorities.