added signature check in case of alg is none
Merge pull request #2 from ritou/none_and_sig

added signature check in case of alg is none