Ticket #587: crypto.c.patch

File crypto.c.patch, 330 bytes (added by dogbert2, 6 years ago)

Patch file for ticket #587

  • crypto.c

    old new  
    10221022  md_ctx_t md;
    10231023
    10241024  ASSERT (len >= md_kt_size(digest));
     1025  if (NULL == output)
     1026    msg(M_FATAL, "memory area for variable 'output' is NULL");
     1027
    10251028  memset (output, 0, len);
    10261029
    10271030  md_ctx_init(&md, digest);