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:
@@ -1212,8 +1212,12 @@ init_cred_loop(krb5_context context,
|
|||||||
krb5_generate_random_block (&ctx->nonce, sizeof(ctx->nonce));
|
krb5_generate_random_block (&ctx->nonce, sizeof(ctx->nonce));
|
||||||
ctx->nonce &= 0xffffffff;
|
ctx->nonce &= 0xffffffff;
|
||||||
ctx->as_req.req_body.nonce = ctx->nonce;
|
ctx->as_req.req_body.nonce = ctx->nonce;
|
||||||
|
#if 0
|
||||||
krb5_generate_random_block (&ctx->pk_nonce, sizeof(ctx->pk_nonce));
|
krb5_generate_random_block (&ctx->pk_nonce, sizeof(ctx->pk_nonce));
|
||||||
ctx->pk_nonce &= 0xffffffff;
|
ctx->pk_nonce &= 0xffffffff;
|
||||||
|
#else
|
||||||
|
ctx->pk_nonce = ctx->nonce;
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAX_PA_COUNTER 3
|
#define MAX_PA_COUNTER 3
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user