diff options
author | William Ahern <william@server.local> | 2013-01-29 17:23:23 -0800 |
---|---|---|
committer | William Ahern <william@server.local> | 2013-01-29 17:23:23 -0800 |
commit | 7cb2ff78a20b836defff9d845508c48a5b6f0344 (patch) | |
tree | 05970ac64d4e2733d19cd5071c9c598cb8a1787a | |
parent | 1e75ef03e99e55650716e29e5ccd8edae5fa940b (diff) | |
download | luaossl-7cb2ff78a20b836defff9d845508c48a5b6f0344.tar.gz luaossl-7cb2ff78a20b836defff9d845508c48a5b6f0344.tar.bz2 luaossl-7cb2ff78a20b836defff9d845508c48a5b6f0344.zip |
-n
fix constness warning
-rw-r--r-- | openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3211,7 +3211,7 @@ static int ssl_getPeerChain(lua_State *L) { | |||
3211 | 3211 | ||
3212 | static int ssl_getCipherInfo(lua_State *L) { | 3212 | static int ssl_getCipherInfo(lua_State *L) { |
3213 | SSL *ssl = checksimple(L, 1, SSL_CLASS); | 3213 | SSL *ssl = checksimple(L, 1, SSL_CLASS); |
3214 | SSL_CIPHER *cipher; | 3214 | const SSL_CIPHER *cipher; |
3215 | char descr[256]; | 3215 | char descr[256]; |
3216 | 3216 | ||
3217 | if (!(cipher = SSL_get_current_cipher(ssl))) | 3217 | if (!(cipher = SSL_get_current_cipher(ssl))) |