pike.git / src / post_modules / Nettle / hash.cmod

version» Context lines:

pike.git/src/post_modules/Nettle/hash.cmod:1:   /* hash.cmod -*- c -*- */ - /* $Id: hash.cmod,v 1.29 2008/05/29 23:03:47 nilsson Exp $ */ + /* $Id: hash.cmod,v 1.30 2008/06/28 22:57:14 nilsson Exp $ */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "threads.h"      /* For this_object() */   #include "object.h"   #include "module_support.h"   
pike.git/src/post_modules/Nettle/hash.cmod:320:    EXIT    gc_trivial;    {    werror("HashState->EXIT\n");    if (THIS->ctx && Pike_fp->current_object->prog)    {    const struct nettle_hash *meta =    GET_META(Pike_fp->current_object);    assert(meta);    memset(THIS->ctx, 0, meta->context_size); -  THIS->ctx = NULL; +     }    }   }      /*! @endclass HashState */      /*! @class MD5_Info    *!    *! Internal mixin class, intended to be multiply inherited    *! together with HashInfo. */