tcpdump mailing list archives

Re: OpenSSL deprecation warnings on MacOS


From: Petya Kohts <petya.kohts () gmail com>
Date: Wed, 16 Oct 2013 19:30:26 +0400

Builds for me on:
* Fedora 15 x86_64, GCC 4.6.0
* Gentoo base 2.0.1 x86_64, GCC 4.3.3
* Fedora 9 x86_64, GCC 4.3.0
* Debian 6.0.8 amd64, GCC 4.4.5


Petya.


On Wed, Oct 16, 2013 at 7:08 PM, Denis Ovsienko <infrastation () yandex ru> wrote:
25.09.2013, 17:47, "Alan DeKok" <aland () deployingradius com>:
Denis Ovsienko wrote:

 Below are some warnings specific to MacOS 10.8.5,

i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.11.00), would anybody be willing to troubleshoot
that?

 ./print-esp.c: In function ‘esp_print_decrypt_buffer_by_ikev2’:
 ./print-esp.c:133: warning: ‘EVP_CipherInit’ is deprecated (declared

at /usr/include/openssl/evp.h:598)

  Apple wants applications to use the Apple crypto library instead of
OpenSSL.  I'm not sure that this is a good idea for pcap.

  The way to get rid of these warnings is the following code.  See the
FreeRADIUS src/include/build.h include file for more examples.

List,

I have prepared this fix for merging here: https://github.com/infrastation/tcpdump/commits/master
It builds OK on:
* MacOS 10.8.5 (the original system above)
* Fedora 19 x86_64, GCC 4.8.1
* Fedora 16 i686, GCC 4.6.3
* FreeBSD 8.2, GCC 4.2.2

Could anybody test it on other compiler(s) and post the results here? Thank you.

--
    Denis Ovsienko
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: