diff --git a/ChangeLog b/ChangeLog index 3bde699c3..1c1a36698 100644 --- a/ChangeLog +++ b/ChangeLog @@ -27,6 +27,7 @@ Bugfix Security * Fixed potential memory corruption on miscrafted client messages (found by Frama-C team at CEA LIST) + * Fixed generation of DHM parameters to correct length = Version 1.1.1 released on 2012-01-23 Bugfix diff --git a/include/polarssl/dhm.h b/include/polarssl/dhm.h index 52b0bf94a..d79be9177 100644 --- a/include/polarssl/dhm.h +++ b/include/polarssl/dhm.h @@ -109,7 +109,7 @@ int dhm_read_public( dhm_context *ctx, * \brief Create own private value X and export G^X * * \param ctx DHM context - * \param x_size private value size in bits + * \param x_size private value size in bytes * \param output destination buffer * \param olen must be equal to ctx->P.len * \param f_rng RNG function