Skip to content

Commit 6cfa1fc

Browse files
buggywhipsjaeckel
authored andcommitted
remove what is effectively a NOP
prior return stmt was a failed attempt to initialize the remaining bytes of the state which is also negated by the policy of enforcing a call to sosemanuk_setiv() before calling sosemanuk_crypt().
1 parent 6aef5e3 commit 6cfa1fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream/sosemanuk/sosemanuk.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ int sosemanuk_setup(sosemanuk_state *ss, const unsigned char *key, unsigned long
322322
* Initialize with a zero-value iv to ensure state is correct in the
323323
* event user fails to call setiv().
324324
*/
325-
return sosemanuk_setiv(ss, NULL, 0);
325+
return CRYPT_OK;
326326
}
327327

328328

0 commit comments

Comments
 (0)