[Bug 2407] New: OpenSSH uses deprecated APIs on MacOS

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Jun 2 23:54:21 AEST 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2407

            Bug ID: 2407
           Summary: OpenSSH uses deprecated APIs on MacOS
           Product: Portable OpenSSH
           Version: -current
          Hardware: All
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Miscellaneous
          Assignee: unassigned-bugs at mindrot.org
          Reporter: ronf at timeheart.net

Created attachment 2642
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2642&action=edit
Log of running "make tests"

When compiling and running unit tests on the latest OpenSSH 6.9p1
snapshot from 05/31, I saw a number of compiler warnings output related
to the use of deprecated APIs. Most of the deprecations go back to OS X
version 10.7 -- I'm currently compiling it on 10.10.3. There were
several hundred of these, referencing various bignum and crypto APIs.

In addition to the deprecation warnings, I also got multiple instances
of the following warning:

clang: warning: argument unused during compilation: '-pie'

and one instance of:

cipher-3des1.c:152:22: warning: incompatible pointer types assigning to
'int
      (*)(EVP_CIPHER_CTX *, unsigned char *, const unsigned char *,
unsigned
      int)' from 'int (EVP_CIPHER_CTX *, u_char *, const u_char *,
size_t)'
      [-Wincompatible-pointer-types]
        ssh1_3des.do_cipher = ssh1_3des_cbc;
                            ^ ~~~~~~~~~~~~~

I've attached the complete output from the compile and running the
tests.

Despite all these warnings, the tests all passed in the end.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list