Thanks chants,
the change I made was just this:
Code:
#define SALT_MAX 8192
as you had recommended too.
There are other calculations, looking in the chain of routines, which should be adjusted, but you risk doing only damage. The author should have put his hands in it, but I doubt he has the time and the will to do it.
I'll do some more tests.