strncpy will not null-terminate the destination if it truncates the source string.
Increased the size of salt and added a null char at the end so that strlen() returns the proper lengh of the salt.
Merge pull request #6 from nickramser/drupal7-salt-length-bug

Fixed a bug that caused the length of the drupal7 salt to be reported incorrectly and fail.