spacemonkeygo / openssl

OpenSSL bindings for Go
http://godoc.org/github.com/spacemonkeygo/openssl
Apache License 2.0
472 stars 237 forks source link

added sha-0 support for backward compatibility #54

Open zhanga5 opened 8 years ago

zhanga5 commented 8 years ago

although sha-0 was obsoleted because security issue, sometimes it's still required to be compatible with legacy software that didn't have any security concerns

jtolio commented 8 years ago

Hmm, actually, evidently sha0 is being phased out and won't be in newer versions of openssl, so this could create build failures. Can you protect this behind a by-default-off build tag for supporting sha0?