OpenSSL 1.0.0 const fix for SSL_get_current_cipher
authorPhil Pennock <pdp@exim.org>
Sun, 11 Jul 2010 07:19:56 +0000 (00:19 -0700)
committerPhil Pennock <pdp@spodhuis.org>
Sun, 5 Sep 2010 22:49:34 +0000 (18:49 -0400)
commit57b3a7f5217369edd800f6d57abbd67ea12e9bbe
treea53ca2fc221095313af980e7ce1ea9f66e3fc844
parent2daddfb8bf41421c78cbc9bf5cf5a24acc4b0ff8
OpenSSL 1.0.0 const fix for SSL_get_current_cipher

OpenSSL 1.0.0 changes SSL_get_current_cipher()'s return value to include
const.  It looks like a safe change for older OpenSSL, so treat it
appropriately and cast as needed.
src/src/tls-openssl.c