Using the Sha Crypto Library

I am currently having the exact same problem and it is veeeery annoying. I have a hit a wall and do not know what to do. Changing it to a return type size_t did absolutely nothing. can someone please lend a helping hand?