]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix error handling in PKINIT decode_data() 580/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 14 Dec 2016 16:25:41 +0000 (11:25 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 15 Dec 2016 16:20:11 +0000 (11:20 -0500)
commitcc9035a7d25008bdcd9c7beb01670aa57b51d829
treeb0a79d3ddb72637287c36a2c897889a8e2adb316
parentd335bf36ef6dff2ef04a2abbbf98785f86422c1c
Fix error handling in PKINIT decode_data()

decode_data() mixes errno values with OpenSSL return codes.  Change
its return type to int, and return 1 on success or 0 on failure.

ticket: 8525 (new)
target_version: 1.15-next
target_version: 1.14-next
tags: pullup
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c