]> git.ipfire.org Git - thirdparty/krb5.git/commit
Don't save empty cc_config_out in ccache
authorGreg Hudson <ghudson@mit.edu>
Wed, 24 Oct 2012 16:06:01 +0000 (12:06 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 24 Oct 2012 16:06:01 +0000 (12:06 -0400)
commitec6dc0e991b3653e16a637bfaa0daf783f82af31
treea7bc34a971b2c57cca2f69084487f1270b807e74
parent8444f28163fcfe47ccb9808458f951af10417277
Don't save empty cc_config_out in ccache

Add an internal json function to make it easier to detect if an object
is empty, and use it to avoid creating a ccache config entry for
preauth module config data if there isn't any to save.

ticket: 7427 (new)
target_version: 1.11
tags: pullup
src/include/k5-json.h
src/lib/krb5/krb/get_in_tkt.c
src/util/support/json.c
src/util/support/libkrb5support-fixed.exports