Skip to content
Commit 42acb69f authored by Vitezslav Cizek's avatar Vitezslav Cizek Committed by Dr. Matthias St. Pierre
Browse files

DSA: Check for sanity of input parameters



dsa_builtin_paramgen2 expects the L parameter to be greater than N,
otherwise the generation will get stuck in an infinite loop.

Reviewed-by: default avatarBernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
Reviewed-by: default avatarMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>

(cherry picked from commit 3afd38b2)

(Merged from https://github.com/openssl/openssl/pull/7493)
parent eaa32f36
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment