Switch from using a specific error message context in the TLS to have

a whole krb5_context in TLS. This have some interestion side-effekts
for the configruration setting options since they operate on
per-thread basis now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19031 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-11-13 18:02:57 +00:00
parent a16e0b633c
commit 00bcd44370
39 changed files with 686 additions and 706 deletions

View File

@@ -60,7 +60,8 @@ test_range(const struct range *r, int integ,
size_t cksumsize;
uint16_t padsize;
ret = _gsskrb5cfx_max_wrap_length_cfx(crypto,
ret = _gsskrb5cfx_max_wrap_length_cfx(context,
crypto,
integ,
size,
&max_wrap_size);
@@ -69,7 +70,8 @@ test_range(const struct range *r, int integ,
if (max_wrap_size == 0)
continue;
ret = _gsskrb5cfx_wrap_length_cfx(crypto,
ret = _gsskrb5cfx_wrap_length_cfx(context,
crypto,
integ,
max_wrap_size,
&rsize, &cksumsize, &padsize);
@@ -93,14 +95,16 @@ test_special(krb5_context context, krb5_crypto crypto,
size_t cksumsize;
uint16_t padsize;
ret = _gsskrb5cfx_max_wrap_length_cfx(crypto,
ret = _gsskrb5cfx_max_wrap_length_cfx(context,
crypto,
integ,
testsize,
&max_wrap_size);
if (ret)
krb5_errx(context, 1, "_gsskrb5cfx_max_wrap_length_cfx: %d", ret);
ret = _gsskrb5cfx_wrap_length_cfx(crypto,
ret = _gsskrb5cfx_wrap_length_cfx(context,
crypto,
integ,
max_wrap_size,
&rsize, &cksumsize, &padsize);