Make sure the signature is truncated properly
Merge pull request #997 from public/dsa-sign-buflen

Make sure the DSA signature is truncated properly