Ensure dhparams can handle X9.42 params in DER
authorMatt Caswell <matt@openssl.org>
Mon, 3 Apr 2017 11:42:58 +0000 (12:42 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 3 Apr 2017 18:35:00 +0000 (19:35 +0100)
commit3f524f77bc2de6deba582997a72200a41aef9fcf
treee266b691a480fe037d1d7a7426ba45837c410bc1
parent1f3b0fe03c21f34cd78878d2f1fb4a246530d3d0
Ensure dhparams can handle X9.42 params in DER

dhparams correctly handles X9.42 params in PEM format. However it failed
to correctly processes them when reading/writing DER format.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3112)
apps/dhparam.c