Skip to content

Commit 927b196

Browse files
authored
Merge pull request #406 from libtom/remove-sosemanuk_setup()-"NOP"
Sosemanuk - remove what is effectively a NOP
2 parents 6aef5e3 + fd6535c commit 927b196

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/stream/sosemanuk/sosemanuk.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -318,11 +318,7 @@ int sosemanuk_setup(sosemanuk_state *ss, const unsigned char *key, unsigned long
318318
#undef WUP0
319319
#undef WUP1
320320

321-
/*
322-
* Initialize with a zero-value iv to ensure state is correct in the
323-
* event user fails to call setiv().
324-
*/
325-
return sosemanuk_setiv(ss, NULL, 0);
321+
return CRYPT_OK;
326322
}
327323

328324

0 commit comments

Comments
 (0)