projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adjust axtls level
[project/luci.git]
/
libs
/
nixio
/
src
/
tls-crypto.c
diff --git
a/libs/nixio/src/tls-crypto.c
b/libs/nixio/src/tls-crypto.c
index
c93b1aa
..
714ec4e
100644
(file)
--- a/
libs/nixio/src/tls-crypto.c
+++ b/
libs/nixio/src/tls-crypto.c
@@
-17,15
+17,12
@@
*/
#include "nixio-tls.h"
*/
#include "nixio-tls.h"
+#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
-static char nixio__bin2hex[] = {
-'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'
-};
-
static int nixio_crypto_hash__init(lua_State *L, int hmac) {
const char *type = luaL_checkstring(L, 1);
nixio_hash *hash = lua_newuserdata(L, sizeof(nixio_hash));
static int nixio_crypto_hash__init(lua_State *L, int hmac) {
const char *type = luaL_checkstring(L, 1);
nixio_hash *hash = lua_newuserdata(L, sizeof(nixio_hash));