pike.git
/
src
/
post_modules
/
Nettle
/
hash.H
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/post_modules/Nettle/hash.H:65:
DOCEND() PIKECLASS State { CVAR struct HMAC_CTX(struct cmod_CONCAT_EVAL(NETTLE_NAME, _ctx)) ctx; CVAR const struct nettle_hash *meta; static int cmod_CONCAT_EVAL(f_Hash__HMAC_, NETTLE_NAME, _create_fun_num) = -1; EXTRA {
-
int
hmac_create_fun_num = -1;
-
lexical_inherit(1, MK_STRING("State"), 0, REPORT_ERROR)
;
-
hmac_create_fun_num =
-
FIND_LFUN(Pike_compiler->new_program->inherits[1].prog, LFUN_CREATE);
+
if
(
lexical_inherit(1, MK_STRING("State"), 0, REPORT_ERROR)
) {
+
int
hmac_create_fun_num =
+
FIND_LFUN(Pike_compiler->new_program->inherits[1].prog,
+
LFUN_CREATE);
if (hmac_create_fun_num >= 0) { cmod_CONCAT_EVAL(f_Hash__HMAC_, NETTLE_NAME, _create_fun_num) =
-
really_low_reference_inherited_identifier(NULL, 1, hmac_create_fun_num);
+
really_low_reference_inherited_identifier(NULL, 1,
+
hmac_create_fun_num);
} }
-
+
}
DOCSTART() @decl void create(string(8bit) passwd, void|int b) *! @param passwd *! The secret password (K). *! *! @param b *! Block size. Must @expr{0@} (zero) or equal to the @[block_size()]. DOCEND() PIKEFUN void create(string(8bit) passwd, void|int b) flags ID_PROTECTED;