#3793: sasl is deprecated on OS X 10.11 with Xcode 7.1.1
--------------------+----------------------
 Reporter:  chdiza  |      Owner:  mutt-dev
     Type:  defect  |     Status:  new
 Priority:  major   |  Milestone:
Component:  crypto  |    Version:
 Keywords:          |
--------------------+----------------------
 Well, this was unexpected.  Building succeeded anyway, but I saw all of
 the below-pasted warnings with Xcode 7.1.1 on OS X 10.11.

 Eventually, Mac users are going to need to not just pass `--with-sasl`
 anymore, but I am unsure of what our secure alternatives are.  The cyrus-
 sasl package, from their homepage, hasn't had a release in over three
 years.  Mutt's `configure --help` seems to indicate that *only* cyrus-sasl
 will be accepted.  (I tried GNU sasl with no luck).

 I don't know how to tell whether OS X can use authentication methods such
 as GSSAPI or CRAM-MD5 in the absence of `--with-sasl`, and even if it can,
 how to force mutt to use it.

 Any clues?

 All the warnings look basically like the below, but for lots of different
 functions and for both smtp and imap portions of code.  I can post all of
 them if you like.

 {{{
 --------8<-----------------------------------
 gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../intl -I/usr/local/ssl/include
 -I../intl  -Wall -pedantic -Wno-long-long -g -O2 -MT auth_sasl.o -MD -MP
 -MF .deps/auth_sasl.Tpo -c -o auth_sasl.o auth_sasl.c
 auth_sasl.c:70:12: warning: 'sasl_client_start' is deprecated: first
 deprecated in OS X 10.11 [-Wdeprecated-declarations]
       rc = sasl_client_start (saslconn, "AUTH=ANONYMOUS", NULL, &pc,
 &olen,
            ^
 /usr/include/sasl/sasl.h:972:17: note: 'sasl_client_start' has been
 explicitly marked deprecated here
 LIBSASL_API int sasl_client_start(sasl_conn_t *conn,
                 ^
 auth_sasl.c:80:12: warning: 'sasl_client_start' is deprecated: first
 deprecated in OS X 10.11 [-Wdeprecated-declarations]
       rc = sasl_client_start (saslconn, method, &interaction,
            ^
 /usr/include/sasl/sasl.h:972:17: note: 'sasl_client_start' has been
 explicitly marked deprecated here
 LIBSASL_API int sasl_client_start(sasl_conn_t *conn,
                 ^
 auth_sasl.c:107:9: warning: 'sasl_encode64' is deprecated: first
 deprecated in OS X 10.11 [-Wdeprecated-declarations]
     if (sasl_encode64 (pc, olen, buf + len, sizeof (buf) - len, &olen) !=
 SASL_OK)
         ^
 /usr/include/sasl/saslutil.h:40:17: note: 'sasl_encode64' has been
 explicitly marked deprecated here
 LIBSASL_API int sasl_encode64(const char *in, unsigned inlen,
                 ^
 --------8<-----------------------------------
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3793>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to