ec-field-test.c: Make the field-element type use internal format.
[secnet] / transform-eax.c
index c6da1d3..9bd4380 100644 (file)
@@ -290,7 +290,7 @@ static list_t *transform_apply(closure_t *self, struct cloc loc,
        cfgfatal(loc,"eax-serpent","parameter must be a dictionary\n");
     dict=item->data.dict;
 
-    SET_CAPAB_TRANSFORMNUM(CAPAB_TRANSFORMNUM_EAXSERPENT);
+    SET_CAPAB_BIT(CAPAB_BIT_EAXSERPENT);
 
     SEQNUM_PARAMS_INIT(dict,&st->p,"eax-serpent",loc);
 
@@ -312,7 +312,6 @@ static list_t *transform_apply(closure_t *self, struct cloc loc,
 
     update_max_start_pad(&transform_max_start_pad, 0);
 
-    st->ops.keylen=0;
     st->ops.create=transform_create;
 
     return new_closure(&st->cl);