summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/preauth/encrypted_challenge/encrypted_challenge_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/preauth/encrypted_challenge/encrypted_challenge_main.c b/src/plugins/preauth/encrypted_challenge/encrypted_challenge_main.c
index 95d0f8a31..1229d2a7d 100644
--- a/src/plugins/preauth/encrypted_challenge/encrypted_challenge_main.c
+++ b/src/plugins/preauth/encrypted_challenge/encrypted_challenge_main.c
@@ -339,6 +339,8 @@ static krb5_error_code kdc_return_preauth
return 0;
* pa_request_context = NULL; /*this function will free the
* challenge key*/
+ enc.ciphertext.data = NULL; /* In case of error pass through */
+
retval = krb5_us_timeofday(context, &ts.patimestamp, &ts.pausec);
if (retval == 0)
retval = kaccess.encode_enc_ts(&ts, &plain);