From 4e97042b889c8f84a052e388eddee6d73e60e9cc Mon Sep 17 00:00:00 2001 From: Max Lv Date: Thu, 23 May 2013 17:26:58 +0800 Subject: [PATCH] fix a segment fault --- src/encrypt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/encrypt.c b/src/encrypt.c index 16ee2e49..46a568a2 100644 --- a/src/encrypt.c +++ b/src/encrypt.c @@ -262,6 +262,7 @@ int enc_init(const char *pass, const char *method) { } else if (strcmp(method, "rc4") == 0) { return RC4; } + enc_table_init(enc_pass); return TABLE; }