]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix printing of DH Parameters
authorMatt Caswell <matt@openssl.org>
Fri, 27 May 2016 12:55:47 +0000 (13:55 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 1 Jun 2016 12:19:02 +0000 (13:19 +0100)
commit1d54ef340864507c1b6e86238183ab4cbc7423aa
treeb6b6764b719e7397a79289b717a1e68d00a5d313
parenteeb21772effdd385e44eed547d717f171487987e
Fix printing of DH Parameters

The -text argument to dhparam is broken, because the DHparams_print()
function always returns an error. The problem is that always expects a
public or private key to be present, even though that is never the case
with parameters.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/dh/dh_ameth.c