Description of problem:
Running 

$ openssl genpkey -genparam -outform DER -out dh_params.der -algorithm
DH 

generates data in the PEM format instead of the requested DER format.

Version-Release number of selected component (if applicable):
openssl-1.0.0j-2.fc17.i686

Steps to Reproduce:
1. run command from the description
2. run 'file dh_params.der'
  
Actual results:
ASCII text

Expected results:
data

Additional info:
Deprecated (according to openssl(1)) command

$ openssl dhparam -outform DER -out dh_params.der

works as expected.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to