$uname -a OSF1 cavendish.bath.ac.uk V5.0 1094 alpha Installed Openssl-0.96d in /usr/local/openssl Configured OpenSSH-3.4p1 with: export DEC_CC="-I/usr/local/include " CC="cc -std1" ./configure which reports: OpenSSH has been configured with the following options: User binaries: /usr/local/bin System binaries: /usr/local/sbin Configuration files: /usr/local/etc Askpass program: /usr/local/libexec/ssh-askpass Manual pages: /usr/local/man/manX PID file: /var/run Privilege separation chroot path: /var/empty sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin Manpage format: man PAM support: no KerberosIV support: no KerberosV support: no Smartcard support: no AFS support: no S/KEY support: no TCP Wrappers support: no MD5 password support: no IP address in $DISPLAY hack: no Use IPv4 by default hack: no Translate v4 in v6 hack: no BSD Auth support: no Random number source: ssh-rand-helper ssh-rand-helper collects from: Command hashing (timeout 200) Host: alphaev67-dec-osf5.0 Compiler: cc -std1 Compiler flags: -g Preprocessor flags: Linker flags: Libraries: -lz -lsecurity -ldb -lm -laud -lcrypto then run "make" which fails: cc -std1 -g -I. -I. -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c cipher.c cc: Warning: cipher.c, line 65: In the initializer for ciphers[0].evptype, the referenced type of the pointer value "EVP_enc_null" is "function () returning pointer to struct evp_cipher_st", which is not compatible with "function () returning pointer to const struct evp_cipher_st". (ptrmismatch) { "none", SSH_CIPHER_NONE, 8, 0, EVP_enc_null }, -------------------------------------------------------^ cc: Warning: cipher.c, line 66: In the initializer for ciphers[1].evptype, the referenced type of the pointer value "EVP_des_cbc" is "function () returning pointer to struct evp_cipher_st", which is not compatible with "function () returning pointer to const struct evp_cipher_st". (ptrmismatch) { "des", SSH_CIPHER_DES, 8, 8, EVP_des_cbc }, ------------------------------------------------------^ cc: Warning: cipher.c, line 70: In the initializer for ciphers[4].evptype, the referenced type of the pointer value "EVP_des_ede3_cbc" is "function () returning pointer to struct evp_cipher_st", which is not compatible with "function () returning pointer to const struct evp_cipher_st". (ptrmismatch) { "3des-cbc", SSH_CIPHER_SSH2, 8, 24, EVP_des_ede3_cbc }, --------------------------------------------------------^ cc: Warning: cipher.c, line 71: In the initializer for ciphers[5].evptype, the referenced type of the pointer value "EVP_bf_cbc" is "function () returning pointer to struct evp_cipher_st", which is not compatible with "function () returning pointer to const struct evp_cipher_st". (ptrmismatch) { "blowfish-cbc", SSH_CIPHER_SSH2, 8, 16, EVP_bf_cbc }, --------------------------------------------------------^ cc: Warning: cipher.c, line 72: In the initializer for ciphers[6].evptype, the referenced type of the pointer value "EVP_cast5_cbc" is "function () returning pointer to struct evp_cipher_st", which is not compatible with "function () returning pointer to const struct evp_cipher_st". (ptrmismatch) { "cast128-cbc", SSH_CIPHER_SSH2, 8, 16, EVP_cast5_cbc }, --------------------------------------------------------^ cc: Warning: cipher.c, line 73: In the initializer for ciphers[7].evptype, the referenced type of the pointer value "EVP_rc4" is "function () returning pointer to struct evp_cipher_st", which is not compatible with "function () returning pointer to const struct evp_cipher_st". (ptrmismatch) { "arcfour", SSH_CIPHER_SSH2, 8, 16, EVP_rc4 }, --------------------------------------------------------^ cc: Error: cipher.c, line 706: In this statement, "c->evptype" and "EVP_rc4" cannot be compared for equality or inequality. (noequality) if (c->evptype == EVP_rc4) { ------------^ cc: Error: cipher.c, line 721: In this statement, "c->evptype" and "EVP_rc4" cannot be compared for equality or inequality. (noequality) if (c->evptype == EVP_rc4) { ------------^ *** Exit 1 Let me know if you need more info. Roger.
Created attachment 152 [details] Cast EVP_rc4 to void * for comparison Try this patch. I don't have a Tru64 box so I can't test it but it suppresses the warning from gcc, so you might be lucky.
4 months, no followup == no bug
Mass change of RESOLVED bugs to CLOSED