Software /
code /
prosody
Comparison
util-src/hashes.c @ 12567:96871ee6e26c
util.hashes: Remove unused constants
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 24 Jun 2022 16:49:03 +0200 |
parent | 12566:91e5cb295ba3 |
child | 12568:fc6213104d78 |
comparison
equal
deleted
inserted
replaced
12566:91e5cb295ba3 | 12567:96871ee6e26c |
---|---|
31 #include <openssl/err.h> | 31 #include <openssl/err.h> |
32 | 32 |
33 #if (LUA_VERSION_NUM == 501) | 33 #if (LUA_VERSION_NUM == 501) |
34 #define luaL_setfuncs(L, R, N) luaL_register(L, NULL, R) | 34 #define luaL_setfuncs(L, R, N) luaL_register(L, NULL, R) |
35 #endif | 35 #endif |
36 | |
37 #define HMAC_IPAD 0x36363636 | |
38 #define HMAC_OPAD 0x5c5c5c5c | |
39 | 36 |
40 static const char *hex_tab = "0123456789abcdef"; | 37 static const char *hex_tab = "0123456789abcdef"; |
41 static void toHex(const unsigned char *in, int length, unsigned char *out) { | 38 static void toHex(const unsigned char *in, int length, unsigned char *out) { |
42 int i; | 39 int i; |
43 | 40 |