krb5: Fix skew bug, or krb5_copy_context() moar
commitd1e76509886b5e8f6a05e09699a20a78f5c45fec
authorNicolas Williams <nico@twosigma.com>
Thu, 24 Mar 2022 21:38:17 +0000 (24 16:38 -0500)
committerNicolas Williams <nico@twosigma.com>
Thu, 24 Mar 2022 21:41:22 +0000 (24 16:41 -0500)
tree9d0d3070005b939326d842bb742e2a8523d5d41f
parentd5e21b7771fe5c9f35c3bb75b8471926176aefd5
krb5: Fix skew bug, or krb5_copy_context() moar

Now that we use krb5_copy_context() via kadm5_c_dup_context(), we see
occasional skew errors in the tests because context->max_skew was not
being initialized, so it was set to 0s of skew, and krb5_rd_priv() or
others could fail.
lib/krb5/context.c