aboutsummaryrefslogtreecommitdiff
path: root/src/blowfish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blowfish.c')
-rw-r--r--src/blowfish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blowfish.c b/src/blowfish.c
index 707d3e53ee..67712a2fbc 100644
--- a/src/blowfish.c
+++ b/src/blowfish.c
@@ -567,7 +567,7 @@ void bf_crypt_decode(char_u *ptr, long len)
void bf_crypt_init_keys(char_u *passwd)
{
char_u *p;
- for (p = passwd; *p != '\0'; p++) {
+ for (p = passwd; *p != NUL; p++) {
BF_CFB_UPDATE(*p);
}
}