diff options
author | David Sommerseth <davids@redhat.com> | 2011-01-06 19:31:34 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-01-06 19:34:40 +0100 |
commit | c994385048a64adb3ec3e8f5f906c5f8668e1a71 (patch) | |
tree | 9cf8277a653a536376a549ea2251d2bcaf790f75 /ping.c | |
parent | Minor addition of logging info before and after (diff) | |
download | openvpn-c994385048a64adb3ec3e8f5f906c5f8668e1a71.tar.xz |
Fix compiler warning when compiling against OpenSSL 1.0.0
The declaration of SSL_get_current_cipher() has changed to be
return a const value. And this makes compilers a little bit grumpy.
gcc:
ssl.c: In function ‘print_details’:
ssl.c:1918: warning: assignment discards qualifiers from pointer target type
Visual C:
ssl.c (1918): warning C4019: '=' : different 'const' qualifiers
Signed-off-by: David Sommerseth <davids@redhat.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 7bd3cea4c2f2aa8ed1bf548a3233ae2c3619d47d)
Diffstat (limited to 'ping.c')
0 files changed, 0 insertions, 0 deletions