OpenSSH and OpenSSL snapshots

Panon, Paul-Andre
Tue, 22 Jan 2002 00:07:36 -0000

Here follows the error message I'm getting. I get it with the 3.0.2p1 source
rpm, as well as when I replace the RPM's openssh tarball contents with those
of the latest openssh snapshot. cipher.h is part of the openssh distribution
and itself includes a bunch of openssl include files. I haven't yet tracked
down which openssl include file is the problem, I thought I would first find
out if anyone else is experiencing the same problem or whether it had been
solved in a separate OpenSSH CVS branch.

As for changes in 0.9.7 dev, there's quite a few, not the least of which is
merging of the openssl engine into the core distribution.

make[1]: Leaving directory
`/usr/src/redhat/BUILD/openssh-3.0.2p1/openbsd-compat'
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -Wpointer-arith
-Wno-uninitialized -I. -I.  -DETCDIR=\"/etc/ssh\"
-D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/openssh/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/libexec/openssh/sftp-server\"
-D_PATH_SSH_PIDDIR=\"/var/run\"
-DSSH_RAND_HELPER=\"/usr/libexec/openssh/ssh-rand-helper\"
-DHAVE_CONFIG_H
-c atomicio.ci386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall
-Wpointer-arith -Wno-uninitialized -I. -I.  -DETCDIR=\"/etc/ssh\"
-D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/openssh/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/libexec/openssh/sftp-server\"
-D_PATH_SSH_PIDDIR=\"/var/run\"
-DSSH_RAND_HELPER=\"/usr/libexec/openssh/ssh-rand-helper\"
-DHAVE_CONFIG_H
-c authfd.c

In file included from authfd.c:50:
cipher.h:68: parse error before `des_key_schedule'
cipher.h:68: warning: no semicolon at end of struct or union
cipher.h:68: warning: no semicolon at end of struct or union
cipher.h:69: warning: no semicolon at end of struct or union
cipher.h:70: warning: type defaults to `int' in declaration of `des'
cipher.h:70: warning: data definition has no type or storage class
cipher.h:72: parse error before `des_key_schedule'
cipher.h:72: warning: no semicolon at end of struct or union
cipher.h:73: warning: type defaults to `int' in declaration of `key2'
cipher.h:73: warning: data definition has no type or storage class
cipher.h:74: parse error before `key3'
cipher.h:74: warning: type defaults to `int' in declaration of `key3'
cipher.h:74: warning: data definition has no type or storage class
cipher.h:75: parse error before `iv1'
cipher.h:75: warning: type defaults to `int' in declaration of `iv1'
cipher.h:75: warning: data definition has no type or storage class
cipher.h:76: parse error before `iv2'
cipher.h:76: warning: type defaults to `int' in declaration of `iv2'
cipher.h:76: warning: data definition has no type or storage class
cipher.h:77: parse error before `iv3'
cipher.h:77: warning: type defaults to `int' in declaration of `iv3'
cipher.h:77: warning: data definition has no type or storage class
cipher.h:78: warning: type defaults to `int' in declaration of `des3'
cipher.h:78: warning: data definition has no type or storage class
cipher.h:93: parse error before `}'
cipher.h:93: warning: type defaults to `int' in declaration of `u'
cipher.h:93: warning: data definition has no type or storage class
cipher.h:95: parse error before `}'
make: *** [authfd.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.77886 (%build)
    Bad exit status from /var/tmp/rpm-tmp.77886 (%build)

-----Original Message-----
From: Markus Friedl [mailto:markus at openbsd.org]
Sent: Monday, January 21, 2002 3:28 PM
To: root
Cc: openssh-unix-dev at mindrot.org
Subject: Re: OpenSSH and OpenSSL snapshots


On Mon, Jan 21, 2002 at 03:20:55PM -0800, root wrote:
> Hello,
>
> In order to experiment with OpenCA, I have built an RPM for redhat 7.2
> of a recent OpenSSL snapshot (the binary rpm on the OpenCA was built
> with the different target directories and libraries. Unfortunately these
> recent OpenSSL snapshots seems to break all OpenSSH tarballs and RPMs
> that I have been able to find. None of them seem to compile
> successfully, even the snapshots at
> ftp://ftp.openssh.com/pub/OpenBSD/OpenSSH/portable/snapshot/. Is there a
> branch of the CVS tree which I can checkout that will compile with
> recent OpenSSL builds?

what did the OpenSSL people change? what did break?