summaryrefslogtreecommitdiff
path: root/lcrypt
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-08-08 21:02:16 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-08-08 21:02:59 -0700
commit032872bf6f7c14b0fdbc9cd75daae56bbeb50af0 (patch)
tree877e7ec9b138a54a86558a94dc49e05e696ea42e /lcrypt
parentdaf6897fe24e62ae8cf8e42b151ed565563332fe (diff)
Fixing a few warnings and issues.
Diffstat (limited to 'lcrypt')
-rw-r--r--lcrypt/lcrypt_ciphers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lcrypt/lcrypt_ciphers.c b/lcrypt/lcrypt_ciphers.c
index 4dc17ae..91878c5 100644
--- a/lcrypt/lcrypt_ciphers.c
+++ b/lcrypt/lcrypt_ciphers.c
@@ -105,7 +105,6 @@ static int lcrypt_cipher_ ## name ## _encrypt(lua_State *L)
const unsigned char *in = (const unsigned char *)luaL_checklstring(L, 2, &in_length); \
int i, block_length = cipher_descriptor[skey->cipher].block_length; \
int padding_length = in_length + block_length - in_length % block_length; \
-printf("in_length = %d, padding_length = %d\n", in_length, padding_length); \
unsigned char *out = lcrypt_malloc(L, 2 * (in_length + padding_length)); \
memcpy(out + in_length + padding_length, in, in_length); \
memset(out + in_length + padding_length + in_length, padding_length, padding_length); \