From 0161e447c4761d74cfdf45c7e7ce561a67fe7014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 24 Apr 2004 15:17:32 +0000 Subject: [PATCH] make the pkinit nonce same os the plain nonce for now git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13763 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/init_creds_pw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/krb5/init_creds_pw.c b/lib/krb5/init_creds_pw.c index 5604534ad..0f81b2375 100644 --- a/lib/krb5/init_creds_pw.c +++ b/lib/krb5/init_creds_pw.c @@ -1212,8 +1212,12 @@ init_cred_loop(krb5_context context, krb5_generate_random_block (&ctx->nonce, sizeof(ctx->nonce)); ctx->nonce &= 0xffffffff; ctx->as_req.req_body.nonce = ctx->nonce; +#if 0 krb5_generate_random_block (&ctx->pk_nonce, sizeof(ctx->pk_nonce)); ctx->pk_nonce &= 0xffffffff; +#else + ctx->pk_nonce = ctx->nonce; +#endif #define MAX_PA_COUNTER 3