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
This commit is contained in:
Love Hörnquist Åstrand
2004-04-24 15:17:32 +00:00
parent ab0c82c636
commit 0161e447c4

View File

@@ -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