#158302 SSL Compatibiltiy interface improvements

#158302#5
Date:
2002-08-26 04:50:50 UTC
From:
To:
When trying to compile exim with libgnutls-dev I ran into these link
errors:

gcc -o exim  accept.o child.o daemon.o dbfn.o debug.o deliver.o direct.o directory.o dns.o drtables.o exim.o \
  expand.o filter.o globals.o header.o host.o log.o match.o moan.o os.o parse.o queue.o readconf.o retry.o \
  rewrite.o route.o search.o smtp_in.o smtp_out.o spool_in.o spool_out.o store.o string.o tls.o tod.o transport.o
  tree.o verify.o  version.o \
  -lident -lpcre directors/directors.a \
  routers/routers.a transports/transports.a lookups/lookups.a \
  auths/auths.a \
  -lnsl -lcrypt -lpam     \
  -ldb -lresolv -lldap -llber  -lgcrypt -lgnutls -lgnutls-extra -lcrypto
tls.o: In function `info_callback':
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:207: undefined reference to `SSL_state_string_long'
tls.o: In function `init_dh':
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:292: undefined reference to `SSL_CTX_ctrl'
tls.o: In function `tls_init':
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:471: undefined reference to `SSL_CTX_set_tmp_rsa_callback'
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:475: undefined reference to `SSL_CTX_set_timeout'
tls.o: In function `setup_certcipher':
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:586: undefined reference to `SSL_CTX_load_verify_locations'
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:589: undefined reference to `SSL_load_client_CA_file'
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:589: undefined reference to `SSL_CTX_set_client_CA_list'
tls.o: In function `tls_server_start':
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:654: undefined reference to `SSL_clear'
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:660: undefined reference to `SSL_set_session_id_context'
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:668: undefined reference to `SSL_set_accept_state'
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:675: undefined reference to `SSL_accept'
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:699: undefined reference to `SSL_get_shared_ciphers'
tls.o: In function `tls_client_start':
/home/sfrost/debs/exim/exim-3.35/build-Linux-i386/tls.c:753: undefined reference to `SSL_set_session_id_context'
collect2: ld returned 1 exit status
make[2]: *** [exim] Error 1
make[2]: Leaving directory `/home/sfrost/debs/exim/exim-3.35/build-Linux-i386'
make[1]: *** [go] Error 2
make[1]: Leaving directory `/home/sfrost/debs/exim/exim-3.35'
make: *** [build] Error 2

It would be nice if the SSL compatibility interface supported these
functions so that exim would use it.

	Thanks,

		Stephen

#158302#12
Date:
2003-03-09 21:58:29 UTC
From:
To:
tags 158302 + wontfix,upstream
thanks

Stephen Frost wrote:

As noted somewhere, GNUTLS' main goal isn't OpenSSL compatibility, but
to be a stable replacement.  So until someone picks up the Andrew's
work, this bug won't be fixed.


	Ivo