removed extra casting
In crypto_digest_smartlist made *append a char to reduce casting and remove need for calling strlen((char*)append). [Ticket #6877]