Fixed missing return values in cipher initialization functions.
[crypto.git] / lib / silccrypt / cast5.c
index 2d5cf2206c62ccc5f353f6c4a739a7e06bb57df7..b0ec9e449448cf9027ff3af6563e884668a0713c 100644 (file)
@@ -44,6 +44,7 @@ SILC_CIPHER_API_INIT(cast5)
   cast5_key *cast5 = silc_calloc(1, sizeof(cast5_key));
   if (cast5)
     cast5->padlen = 8;
+  return cast5;
 }
 
 /* Uninitialize */