diff options
-rw-r--r-- | rc4.c | 2 | ||||
-rw-r--r-- | rc4.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ char* rc4_ncurses_get_password(void) { return (char*) pass; } -void rc4_encode_string(String* pString, char password[PASS_MAX]) { +void rc4_encode_string(String* pString, const char password[PASS_MAX]) { int keySchedule[256]; size_t key_len = strlen(password); int j = 0, out; @@ -24,7 +24,7 @@ char* rc4_ncurses_get_password(void); * @param pString The String to encode. * @param password the key used to encode */ -void rc4_encode_string(String* pString, char password[PASS_MAX]); +void rc4_encode_string(String* pString, const char password[PASS_MAX]); int rc4_ncurses_decrypt_string(String* pString, char* password_ref[PASS_MAX]); |