From 84bef1db2c971490a860068add8162e1af36f0ff Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Fri, 20 Apr 2012 13:42:02 +0000 Subject: [PATCH] - Fixed DHM length to correct one --- ChangeLog | 1 + include/polarssl/dhm.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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