Snapshot

Jan-Frode Myklebust janfrode at parallab.uib.no
Tue Aug 29 23:38:20 EST 2000


On Tue, Aug 29, 2000 at 02:33:17PM +1100, Damien Miller wrote:
> 
> http://www.mindrot.org/misc/openssh/openssh-SNAP-2000082900.tar.gz
> 

Compiled and runs fine on IRIX/IRIX64 6.5.9m with MIPSPro 7.2.1.3m/7.3.1.1m

Here are the warnings I get when compiling it:


WARNINGS:
=-=-=-=-=-
"sshconnect2.c", line 305: warning(1164): argument of type "int *" is
          incompatible with parameter of type "unsigned int *"
        dsa_make_key_blob(k, &blob, &bloblen);
                                    ^
"sshconnect2.c", line 313: warning(1164): argument of type "unsigned char *"
          is incompatible with parameter of type "const char *"
                buffer_append(&b, session_id2, session_id2_len);
                                  ^
"sshconnect2.c", line 328: warning(1164): argument of type "char *" is
          incompatible with parameter of type "unsigned char *"
        ret = do_sign(k, &signature, &slen, buffer_ptr(&b), buffer_len(&b));
                                            ^
"sshconnect2.c", line 339: warning(1164): argument of type "unsigned char *"
          is incompatible with parameter of type "const char *"
                buffer_append(&b, session_id2, session_id2_len);
                                  ^
"sshconnect2.c", line 468: warning(1164): argument of type "int *" is
          incompatible with parameter of type "unsigned int *"
                char *reply = packet_get_string(&plen);
                                                ^
"readconf.c", line 164: warning(1185): enumerated type mixed with another type
        { NULL, 0 }
                ^
"sshd.c", line 852: warning(1164): argument of type "socklen_t *" is
          incompatible with parameter of type "int *"
                                    &fromlen);
                                    ^
"auth2.c", line 331: warning(1164): argument of type "unsigned char *" is
          incompatible with parameter of type "const char *"
                                buffer_append(&b, session_id2, session_id2_len);
                                                  ^
"auth2.c", line 349: warning(1164): argument of type "char *" is incompatible
          with parameter of type "unsigned char *"
                            dsa_verify(key, sig, slen, buffer_ptr(&b), buffer_len(&b)) == 1)
                                                       ^
"auth-rhosts.c", line 112: warning(1164): argument of type "const char *" is
          incompatible with parameter of type "char *"
                        if (!innetgr(host + 1, hostname, NULL, NULL) &&
                                               ^
"auth-rhosts.c", line 113: warning(1164): argument of type "const char *" is
          incompatible with parameter of type "char *"
                            !innetgr(host + 1, ipaddr, NULL, NULL))
                                               ^
"auth-rhosts.c", line 120: warning(1164): argument of type "const char *" is
          incompatible with parameter of type "char *"
                        if (!innetgr(user + 1, NULL, client_user, NULL))
                                                     ^
"pty.c", line 246: warning(1515): a value of type "void (*)()" cannot be
          assigned to an entity of type "void *"
        old = signal(SIGHUP, SIG_IGN);
            ^
"pty.c", line 248: warning(1164): argument of type "void *" is incompatible
          with parameter of type "void (*)()"
        signal(SIGHUP, old);
                       ^
"servconf.c", line 250: warning(1185): enumerated type mixed with another type
        { NULL, 0 }
                ^
                log_init(__progname, options.log_level,
options.log_facility, log_stderr);
                         ^
"session.c", line 559: warning(1164): argument of type "const char *" is
          incompatible with parameter of type "char *"
                log_init(__progname, options.log_level,
options.log_facility, log_stderr);
                         ^
"session.c", line 656: warning(1164): argument of type "socklen_t *" is
          incompatible with parameter of type "int *"
                     (struct sockaddr *) & from, &fromlen) < 0) {
                                                 ^
"ssh-keygen.c", line 128: warning(1164): argument of type "int *" is
          incompatible with parameter of type "unsigned int *"
        dsa_make_key_blob(k, &blob, &len);
                                    ^
"ssh-keygen.c", line 218: warning(1164): argument of type "int *" is
          incompatible with parameter of type "unsigned int *"
        dsa_make_key_blob(k, &blob, &len);
                                    ^
"ssh-agent.c", line 220: warning(1515): a value of type "char *" cannot be
          assigned to an entity of type "unsigned char *"
        blob = buffer_get_string(&e->input, &blen);
             ^
"ssh-agent.c", line 221: warning(1515): a value of type "char *" cannot be
          assigned to an entity of type "unsigned char *"
        data = buffer_get_string(&e->input, &dlen);
             ^
"ssh-agent.c", line 223: warning(1164): argument of type "unsigned char *" is
          incompatible with parameter of type "char *"
        key = dsa_key_from_blob(blob, blen);
                                ^
"ssh-agent.c", line 227: warning(1164): argument of type "unsigned int *" is
          incompatible with parameter of type "int *"
                        ok = dsa_sign(private, &signature, &slen, data, dlen);
                                                           ^
"ssh-agent.c", line 269: warning(1515): a value of type "char *" cannot be
          assigned to an entity of type "unsigned char *"
                blob = buffer_get_string(&e->input, &blen);
                     ^
"ssh-agent.c", line 270: warning(1164): argument of type "unsigned char *" is
          incompatible with parameter of type "char *"
                key = dsa_key_from_blob(blob, blen);
                                        ^

"ssh-agent.c", line 499: warning(1185): enumerated type mixed with another type
                        sockets[i].type = type;
                                        ^

"ssh-agent.c", line 512: warning(1185): enumerated type mixed with another type
        sockets[old_alloc].type = type;
                                ^

"ssh-agent.c", line 554: warning(1164): argument of type "socklen_t *" is
          incompatible with parameter of type "int *"
                                sock = accept(sockets[i].fd, (struct sockaddr *) & sunaddr, &slen);
                                                                                            ^
ld32: WARNING 84: /usr/lib32/libz.so is not used for resolving any symbol.
ld32: WARNING 84: /usr/local/ssl/lib/libcrypto.a is not used for resolving
any symbol.



   -jf





More information about the openssh-unix-dev mailing list