summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-26 17:58:06 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-03 11:57:53 +0200
commit4323c0a23ec735dd5463a1612fc7d7cf0ced8034 (patch)
treea2759cb6e0df6f6c875522f6e039c9685fed709e /tests
parent48c7db0c24354c3583b9c17e3774db6f1307c4c6 (diff)
downloadgnutls-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