I am not sure if this is a bug or something that was never defined to work.
I tried to build openssh-4.3p2 against openssl-0.9.8a. It died with
DSA_generate_parameters and RSA_generate_key as undefined symbols.
I tried again using openssl-0.9.7i and openssh-4.3p2 built without any
problem. The exact error is as follows:
cc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/opt/local/lib -R/opt/local/lib -L/opt/local/lib -R/opt/local/lib -lssh -lopenbsd-compat -lresolv -lcrypto -lrt -lz -lsocket -lnsl
Undefined first referenced
symbol in file
ld: fatal: Symbol referencing errors. No output written to ssh
*** Error code 1