tcpdump mailing list archives
Re: OpenSSL deprecation warnings on MacOS
From: Denis Ovsienko <infrastation () yandex ru>
Date: Wed, 16 Oct 2013 19:08:56 +0400
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 (declaredat /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
Current thread:
- Re: OpenSSL deprecation warnings on MacOS Denis Ovsienko (Oct 16)
- Re: OpenSSL deprecation warnings on MacOS Alan DeKok (Oct 16)
- Re: OpenSSL deprecation warnings on MacOS Petya Kohts (Oct 16)
- Re: OpenSSL deprecation warnings on MacOS Guy Harris (Oct 17)
- Re: OpenSSL deprecation warnings on MacOS Guy Harris (Oct 17)
- Re: OpenSSL deprecation warnings on MacOS Denis Ovsienko (Oct 17)
- Re: OpenSSL deprecation warnings on MacOS Guy Harris (Oct 18)
- Re: OpenSSL deprecation warnings on MacOS Guy Harris (Oct 17)