aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)))