Bug 520152

Summary: command crashes: "openssl dgst -dss1 ..."
Product: [Fedora] Fedora Reporter: Stepan Kasal <kasal>
Component: opensslAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: kasal, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openssl-1.0.0-0.6.beta3.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-31 11:33:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 520153    
Attachments:
Description Flags
input for the crashing case none

Description Stepan Kasal 2009-08-28 16:12:03 UTC
Created attachment 359092 [details]
input for the crashing case

Description of problem:
An openssl command crashes, though the same command worked in the openssl-0.9.8k-7.fc12

Version-Release number of selected component (if applicable):
openssl-1.0.0-0.5.beta3.fc12

How reproducible:
always

Steps to Reproduce:
1. tar zxf openssl-dgst-bug.tar.gz
2. cd openssl-dgst-bug
3. openssl dgst -dss1 -verify dsa.pub.pem -signature tmp.signatureT_K4 tmp.msgMwi7
  
Actual results:
Error setting context
139832466196296:error:0A07806A:dsa routines:PKEY_DSA_CTRL:invalid digest type:dsa_pmeth.c:192:

Expected results:
Verified OK

Additional info:
This problem breaks the test suite of perl-Crypt-OpenSSL-DSA; that's how I discovered it.