summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Ahern <william@server.local>2013-01-29 17:23:23 -0800
committerWilliam Ahern <william@server.local>2013-01-29 17:23:23 -0800
commit7cb2ff78a20b836defff9d845508c48a5b6f0344 (patch)
tree05970ac64d4e2733d19cd5071c9c598cb8a1787a
parent1e75ef03e99e55650716e29e5ccd8edae5fa940b (diff)
downloadluaossl-7cb2ff78a20b836defff9d845508c48a5b6f0344.tar.gz
luaossl-7cb2ff78a20b836defff9d845508c48a5b6f0344.tar.bz2
luaossl-7cb2ff78a20b836defff9d845508c48a5b6f0344.zip
-n
fix constness warning
-rw-r--r--openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl.c b/openssl.c
index 97757ab..eed64cb 100644
--- a/openssl.c
+++ b/openssl.c
@@ -3211,7 +3211,7 @@ static int ssl_getPeerChain(lua_State *L) {
3211 3211
3212static int ssl_getCipherInfo(lua_State *L) { 3212static 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)))