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

version» Context lines:

pike.git/src/post_modules/Nettle/mac.cmod:167:    program_flags PROGRAM_USES_PARENT|PROGRAM_NEEDS_PARENT|PROGRAM_CLEAR_STORAGE;    {    DOCSTART() @decl inherit MAC::State    DOCEND()       EXTRA    {    /* Perform an inherit of the State class (if any) that our parent    * may contain via its inherit of __builtin.Nettle.MAC.    */ -  lexical_inherit(1, MK_STRING("State"), 0, REPORT_ERROR); +  lexical_inherit(1, MK_STRING("State"), 0, REPORT_WARNING);    }      #define GET_META(o) \    ( ((struct Nettle_MAC_struct *)parent_storage(1, Nettle_MAC_program))->meta )       CVAR void *ctx;       /*! @decl void create(string(8bit) key)    *!    *! Initialize the MAC with a password.