Bug 2343

Summary: test_fuzz.c won't compile if ssh1 support is disabled
Product: Portable OpenSSH Reporter: Ismail Donmez <ismail>
Component: Regression testsAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: djm
Priority: P5    
Version: 6.7p1   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 2266    

Description Ismail Donmez 2015-01-24 01:33:23 AEDT
Compile openssh with ./configure --without-ssh1

Try to run "make tests":

regress/unittests/sshkey/test_fuzz.o: In function `sshkey_fuzz_tests':
/havana/sources/openssh/regress/unittests/sshkey/test_fuzz.c:135: undefined reference to `sshkey_parse_public_rsa1_fileblob'
/havana/sources/openssh/regress/unittests/sshkey/test_fuzz.c:143: undefined reference to `sshkey_parse_public_rsa1_fileblob'
collect2: error: ld returned 1 exit status
Comment 1 Damien Miller 2015-01-29 09:40:49 AEDT
Yeah, most of the unit/regress tests assume OpenSSL and SSH1 support. They need quite a bit of work - these are on the list before !SSH1 / !OpenSSL can matriculate from being "experimental"
Comment 2 Ismail Donmez 2015-01-29 20:35:42 AEDT
Closing as "later" then, thanks for the response.
Comment 3 Damien Miller 2015-01-29 21:24:26 AEDT
I want to get the unit tests fixed for the next release (not sure whether the regress tests will be)
Comment 4 Damien Miller 2015-02-21 09:36:48 AEDT
None of the regress/unit tests are ready for no-OpenSSL or no-SSH1.
Comment 5 Damien Miller 2015-03-03 07:59:33 AEDT
OpenSSH 6.8 is approaching release and closed for major work. Retarget these bugs for the next release.
Comment 6 Damien Miller 2015-03-03 08:01:19 AEDT
Retarget to 6.9
Comment 7 Damien Miller 2015-03-05 10:26:50 AEDT
fixed in -current; the regress/unit tests should pass for --without-ssh1, though it is still experimental
Comment 8 Damien Miller 2015-03-18 18:16:59 AEDT
openssh-6.8 is released