diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-07-26 17:58:06 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-03 11:57:53 +0200 |
commit | 4323c0a23ec735dd5463a1612fc7d7cf0ced8034 (patch) | |
tree | a2759cb6e0df6f6c875522f6e039c9685fed709e /tests | |
parent | 48c7db0c24354c3583b9c17e3774db6f1307c4c6 (diff) | |
download | gnutls-4323c0a23ec735dd5463a1612fc7d7cf0ced8034.tar.gz |
gnutls_x509_*_get_signature_algorithm: simplified error handling
These functions were documented to return a negative error code
on failure, as well as GNUTLS_SIGN_UNKNOWN on unknown algorithms.
Simplify them by only returning GNUTLS_SIGN_UNKNOWN on all error
conditions.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions