]> git.ipfire.org Git - thirdparty/krb5.git/commit
Modify k5buf interfaces for easier use
authorGreg Hudson <ghudson@mit.edu>
Wed, 2 Jul 2014 16:03:54 +0000 (12:03 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 30 Jul 2014 16:11:38 +0000 (12:11 -0400)
commit651f3af251d172361a954f55f2d87561ae42c2d0
tree318ba0d2fb735498350c373029319d4fa189e113
parent346ad2b3c0b13ba5e34d8b7777196bdcd14ab64d
Modify k5buf interfaces for easier use

Make struct k5buf less opaque and get rid of k5buf-int.h.  Make it
easy to initialize a k5buf in an error state so that it can be freed
in a cleanup handler.  Add a function k5_buf_status which returns 0 or
ENOMEM.  Remove k5_buf_data and k5_buf_len.  Rename k5_free_buf to
k5_buf_free.  Adjust all callers to match.
32 files changed:
src/clients/ksu/authorization.c
src/include/k5-buf.h
src/lib/crypto/crypto_tests/t_hmac.c
src/lib/crypto/krb/cf2.c
src/lib/gssapi/generic/gssapiP_generic.h
src/lib/gssapi/generic/oid_ops.c
src/lib/gssapi/mechglue/g_export_cred.c
src/lib/kadm5/alt_prof.c
src/lib/kadm5/str_conv.c
src/lib/kdb/kdb5.c
src/lib/krb5/ccache/cc_file.c
src/lib/krb5/ccache/ccmarshal.c
src/lib/krb5/krb/chpw.c
src/lib/krb5/krb/srv_rcache.c
src/lib/krb5/os/dnsglue.c
src/lib/krb5/os/dnssrv.c
src/lib/krb5/os/expand_path.c
src/lib/krb5/os/localauth_rule.c
src/lib/krb5/os/sendto_kdc.c
src/lib/krb5/os/trace.c
src/lib/krb5/rcache/rc_dfl.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
src/plugins/preauth/pkinit/pkinit_crypto_nss.c
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
src/util/gss-kernel-lib/t_kgss_user.c
src/util/support/deps
src/util/support/json.c
src/util/support/k5buf-int.h [deleted file]
src/util/support/k5buf.c
src/util/support/libkrb5support-fixed.exports
src/util/support/t_k5buf.c