Add ASan support
don't choke on deprecated sha-1 routines
Merge pull request #127 from ekr/asan

Asan