diff --git a/lib/crypt.cpp b/lib/crypt.cpp index cb1f49cfe6..a4e8cd45c7 100644 --- a/lib/crypt.cpp +++ b/lib/crypt.cpp @@ -349,6 +349,7 @@ int check_file_signature( char clear_buf[MD5_LEN]; int n, retval; DATA_BLOCK clear_signature; + clear_buf[0]=0; n = (int)strlen(md5_buf); clear_signature.data = (unsigned char*)clear_buf;