diff options
author | William Ahern <william@25thandClement.com> | 2016-01-04 15:53:05 +0800 |
---|---|---|
committer | William Ahern <william@25thandClement.com> | 2016-01-04 15:53:05 +0800 |
commit | 705017b338d1faa6b53cf4837cdc82e7544dc90b (patch) | |
tree | 45be5b9c9b025e1dd6c6dc54ded775b1f660d650 | |
parent | cf985a41579b24a9aa821a7e9d95ee21ffca7a9e (diff) | |
parent | a8f37577ca152e96d09e01c8416260d314cdc1b8 (diff) | |
download | luaossl-705017b338d1faa6b53cf4837cdc82e7544dc90b.tar.gz luaossl-705017b338d1faa6b53cf4837cdc82e7544dc90b.tar.bz2 luaossl-705017b338d1faa6b53cf4837cdc82e7544dc90b.zip |
Merge branch 'fix-wrong-type' of git://github.com/daurnimator/luaossl into daurnimator-fix-wrong-type
-rw-r--r-- | src/openssl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openssl.c b/src/openssl.c index 1ea5d16..71aaed4 100644 --- a/src/openssl.c +++ b/src/openssl.c | |||
@@ -6358,7 +6358,7 @@ static int ssl_interpose(lua_State *L) { | |||
6358 | 6358 | ||
6359 | 6359 | ||
6360 | static int ssl_setOptions(lua_State *L) { | 6360 | static int ssl_setOptions(lua_State *L) { |
6361 | SSL *ssl = checksimple(L, 1, SSL_CTX_CLASS); | 6361 | SSL *ssl = checksimple(L, 1, SSL_CLASS); |
6362 | auxL_Integer options = auxL_checkinteger(L, 2); | 6362 | auxL_Integer options = auxL_checkinteger(L, 2); |
6363 | 6363 | ||
6364 | auxL_pushinteger(L, SSL_set_options(ssl, options)); | 6364 | auxL_pushinteger(L, SSL_set_options(ssl, options)); |
@@ -6368,7 +6368,7 @@ static int ssl_setOptions(lua_State *L) { | |||
6368 | 6368 | ||
6369 | 6369 | ||
6370 | static int ssl_getOptions(lua_State *L) { | 6370 | static int ssl_getOptions(lua_State *L) { |
6371 | SSL *ssl = checksimple(L, 1, SSL_CTX_CLASS); | 6371 | SSL *ssl = checksimple(L, 1, SSL_CLASS); |
6372 | 6372 | ||
6373 | auxL_pushinteger(L, SSL_get_options(ssl)); | 6373 | auxL_pushinteger(L, SSL_get_options(ssl)); |
6374 | 6374 | ||
@@ -6377,7 +6377,7 @@ static int ssl_getOptions(lua_State *L) { | |||
6377 | 6377 | ||
6378 | 6378 | ||
6379 | static int ssl_clearOptions(lua_State *L) { | 6379 | static int ssl_clearOptions(lua_State *L) { |
6380 | SSL *ssl = checksimple(L, 1, SSL_CTX_CLASS); | 6380 | SSL *ssl = checksimple(L, 1, SSL_CLASS); |
6381 | auxL_Integer options = auxL_checkinteger(L, 2); | 6381 | auxL_Integer options = auxL_checkinteger(L, 2); |
6382 | 6382 | ||
6383 | auxL_pushinteger(L, SSL_clear_options(ssl, options)); | 6383 | auxL_pushinteger(L, SSL_clear_options(ssl, options)); |