Version 4.6p1 does not compile on Tru64 Unix version 4.0F. The problem is in cipher.c. Most of the statements with c->envtype have various compiler errors, especially when c->envtype is tested for equality against other quantitites. There are also minor warnings with type mismatches. Most of these are differences between a definition of "const ..." and "..." This is a much less serious issue, since it is usually just a warning. Judah Levine University of Colorado/Boulder
Are you using the native compiler or gcc? Could you please attach a log of the errors (via "Add an attachment")? AFAIK none of the regular developers have access to a Tru64 machine. Is there any particular reason this bug needs to be private? If not, please uncheck the "Portable OpenSSH Bugs Access" flag. That way some other folks may be able to help out.
Created attachment 1321 [details] Output of make showing compiler errors for file cipher.c I am using the standard cc compiler on Tru64 Unix. I have looked at the lines that have errors, but I don't understand the problem. I have been using an earlier version of openssh (3.7.1p1), which I compiled on the same system with no problems.
(In reply to comment #2) > Created an attachment (id=1321) [details] > Output of make showing compiler errors for file cipher.c It looks like your compiler doesn't like mixing const and non-const pointers. You can try editing cipher.c, finding Cipher struct and removing the "const" before the EVP_CIPHER member. ie: const EVP_CIPHER *(*evptype)(void); becomes EVP_CIPHER *(*evptype)(void); I'm not sure why you would only be seeing it now, though as that's been there a long time (unless it's a difference in the version of OpenSSL being used?) Also you didn't say why this bug needs to be private so unless there's a good reason I am going to unset the flag.
Unfortunately there's not enough information supplies to figure this out. Please reopen if you can provide the information requested.
Mass move of RESOLVED bugs to CLOSED now that 5.3 is out.