Subject: Correct documentation for blowfish_make_bfkey
@@ -386,11 +386,11 @@
dest= block & 0xff ;
-/* make_bfkey() takes the address of the key data as a char*,
+/* blowfish_make_bfkey() takes the address of the key data as a char*,
and the length of the key in bytes. It generates and returns
a pointer to an object of BFkey_type, which can be passed
to the crypt functions. It does some simple testing of the
- init data and crypt routine, and returns 0 on error.
+ init data and crypt routine, and returns -1 on error and 0 on success.
blowfish_make_bfkey(key_string, keylength, bfkey)