Skip to content
Snippets Groups Projects
Commit f41c8fef authored by Adrien Béraud's avatar Adrien Béraud
Browse files

crypto: unify API across GnuTLS versions

Throw an exception if GnuTLS is too old
instead of not providing the API.

Also consistently throw in case of hash error,
and return 0 for an empty hash, for both
PublicKey and Certificate.
parent 02147b0b
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment