mirror of
https://github.com/brunoos/luasec.git
synced 2024-09-06 21:04:43 +02:00
Format
This commit is contained in:
parent
7b60dc4794
commit
0f793b73c0
@ -742,9 +742,10 @@ static unsigned int server_psk_cb(SSL *ssl, const char *identity, unsigned char
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a psk callback for server.
|
* Set a PSK callback for server.
|
||||||
*/
|
*/
|
||||||
static int set_server_psk_cb(lua_State *L) {
|
static int set_server_psk_cb(lua_State *L)
|
||||||
|
{
|
||||||
p_context ctx = checkctx(L, 1);
|
p_context ctx = checkctx(L, 1);
|
||||||
|
|
||||||
luaL_getmetatable(L, "SSL:PSK:Registry");
|
luaL_getmetatable(L, "SSL:PSK:Registry");
|
||||||
|
Loading…
Reference in New Issue
Block a user