Fixed missing return values in cipher initialization functions.
[crypto.git] / lib / silccrypt / twofish.c
index f8d834569d2e2f5e130a25ef4e14324c274c3587..923f75c788293d6d12c9e27c2548b581deff867d 100644 (file)
@@ -45,6 +45,7 @@ SILC_CIPHER_API_INIT(twofish)
   twofish_key *twofish = silc_calloc(1, sizeof(twofish_key));
   if (twofish)
     twofish->padlen = 16;
+  return twofish;
 }
 
 /* Uninitialize */