Browse Source

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().
Larry Bugbee 7 years ago
parent
commit
6cfa1fcad7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/stream/sosemanuk/sosemanuk.c

+ 1 - 1
src/stream/sosemanuk/sosemanuk.c

@@ -322,7 +322,7 @@ int sosemanuk_setup(sosemanuk_state *ss, const unsigned char *key, unsigned long
      * Initialize with a zero-value iv to ensure state is correct in the
      * event user fails to call setiv().
      */
-    return sosemanuk_setiv(ss, NULL, 0);
+    return CRYPT_OK;
 }