[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Richard Levitte levitte at openssl.org
Fri Jan 20 07:30:50 UTC 2017

The branch OpenSSL_1_0_2-stable has been updated
       via  16f013fa709b283b53ffd1b665f395137623f9f0 (commit)
      from  52b703f81c0d1d419ca02c07a8422d46a5b3dbed (commit)

- Log -----------------------------------------------------------------
commit 16f013fa709b283b53ffd1b665f395137623f9f0
Author: Richard Levitte <levitte at openssl.org>
Date:   Wed Jan 18 16:19:26 2017 +0100

    Fix DSA parameter generation control error
    When setting the digest parameter for DSA parameter generation, the
    signature MD was set instead of the parameter generation one.
    Fortunately, that's also the one that was used for parameter
    generation, but it ultimately meant the parameter generator MD and the
    signature MD would always be the same.
    Fixes github issue #2016
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2250)
    (cherry picked from commit 8a05c4d3b5a1bfb9193ea24e71735e11de7168d2)


Summary of changes:
 crypto/dsa/dsa_pmeth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/dsa/dsa_pmeth.c b/crypto/dsa/dsa_pmeth.c
index 42b8bb0..7872483 100644
--- a/crypto/dsa/dsa_pmeth.c
+++ b/crypto/dsa/dsa_pmeth.c
@@ -180,7 +180,7 @@ static int pkey_dsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
             return 0;
-        dctx->md = p2;
+        dctx->pmd = p2;
         return 1;
     case EVP_PKEY_CTRL_MD:

More information about the openssl-commits mailing list