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

version» Context lines:

pike.git/src/post_modules/Nettle/hash.H:121:       PIKEFUN string(8bit) digest_info(string(8bit) text)    {    struct external_variable_context loc;    apply_current(cmod_CONCAT_EVAL(f_Nettle_,PIKE_NAME,_cq__HMAC_State_update_fun_num),1);       /* Basically apply_external() with find_identifier() added. */    loc.o = Pike_fp->current_object;    loc.parent_identifier = Pike_fp->fun;    if (loc.o->prog) { +  int id;    loc.inherit = INHERIT_FROM_INT(loc.o->prog, loc.parent_identifier);    find_external_context(&loc, 2); -  int id = find_identifier("pkcs_digest", loc.o->prog); +  id = find_identifier("pkcs_digest", loc.o->prog);    if( id<0 )    Pike_error("Could not find pkcs_digest.\n");    apply_low(loc.o, id + loc.inherit->identifier_level, 1);    }    else    Pike_error("Apply on parent of destructed object.\n");    }    }    }   #endif