aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar William Ahern <william@server.local> 2013-01-29 17:23:23 -0800
committerLibravatarLibravatar William 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) {
static int ssl_getCipherInfo(lua_State *L) {
SSL *ssl = checksimple(L, 1, SSL_CLASS);
- SSL_CIPHER *cipher;
+ const SSL_CIPHER *cipher;
char descr[256];
if (!(cipher = SSL_get_current_cipher(ssl)))