[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warnings compiling openssh3.4 on openbsd3.0



Yes, these are because the OpenSSL people are changing library APIs on
us.

It's OK.  OpenSSH was carefully written to be OK in this case.

> cc -O2   -DKRB5 -I/usr/include/kerberosV -DKRB4 -I/usr/include/kerberosIV -DAFS -I/usr/src/usr.bin/ssh
> /lib/..   -c /usr/src/usr.bin/ssh/lib/../cipher.c -o cipher.o
> /usr/src/usr.bin/ssh/lib/../cipher.c:60: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../cipher.c:61: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../cipher.c:65: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../cipher.c:66: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../cipher.c:67: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../cipher.c:68: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../cipher.c: In function `cipher_get_keycontext':
> /usr/src/usr.bin/ssh/lib/../cipher.c:651: warning: comparison of distinct pointer types lacks a cast
> /usr/src/usr.bin/ssh/lib/../cipher.c: In function `cipher_set_keycontext':
> /usr/src/usr.bin/ssh/lib/../cipher.c:666: warning: comparison of distinct pointer types lacks a cast
>   
> and later on
>   
> cc -O2   -DKRB5 -I/usr/include/kerberosV -DKRB4 -I/usr/include/kerberosIV -DAFS -I/usr/src/usr.bin/ssh
> /lib/..   -c /usr/src/usr.bin/ssh/lib/../mac.c -o mac.o
> /usr/src/usr.bin/ssh/lib/../mac.c:42: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../mac.c:43: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../mac.c:44: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../mac.c:45: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../mac.c:46: warning: initialization from incompatible pointer type
> /usr/src/usr.bin/ssh/lib/../mac.c:47: warning: initialization from incompatible pointer type
> 
> It still compiles and it still seems to work.
> But I still think it's got to to with openssl versions and
> the existance or non-existance of cipher definitions.
> 
> Cheers,
> Andreas
> 
> -- 
> Department of Physics & Astronomy  and  Center for Simulational Physics
> University of Georgia            !!! NEW !!! : Phone ++1 (706) 583 8227
> Athens, GA 30602-2451                            Fax ++1 (706) 542 2492
> USA                               http://dilbert.physast.uga.edu/~andy/