Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at hmac-md5.c:97

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

hmac_md5_set_cram_context

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/hmac-md5.c)expand/collapse
Show more  
 78  void hmac_md5_set_cram_context(struct hmac_md5_context *ctx,
 79                          const unsigned char context_digest[CRAM_MD5_CONTEXTLEN])
 80  {
 81          const unsigned char *cdp;
 82   
 83  #define CDGET(p, c) STMT_START { \
 84          (c)  = (*p++);           \
 85          (c) += (*p++ << 8);      \
 86          (c) += (*p++ << 16);     \
 87          (c) += (*p++ << 24);     \
 88  } STMT_END 
 89          cdp = context_digest;
 90          CDGET(cdp, ctx->ctxo.a);
 91          CDGET(cdp, ctx->ctxo.b);
 92          CDGET(cdp, ctx->ctxo.c);
 93          CDGET(cdp, ctx->ctxo.d);
 94          CDGET(cdp, ctx->ctx.a);
 95          CDGET(cdp, ctx->ctx.b);
 96          CDGET(cdp, ctx->ctx.c);
 97          CDGET(cdp, ctx->ctx.d);
 98   
 99          ctx->ctxo.lo = ctx->ctx.lo = 64;
 100          ctx->ctxo.hi = ctx->ctx.hi = 0;
 101  }
Show more  




Change Warning 7094.24381 : Unused Value

Priority:
State:
Finding:
Owner:
Note: