Change #include filenames from <foo.h> to <openssl.h>.
[openssl.git] / crypto / bf / bf_ecb.c
index 6d16360bd98a91a78aa5cf8ba5fdb4386f24c48e..9f8a24cdff57ec8507773f4326b29f0e35bfc61d 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#include "blowfish.h"
+#include <openssl/blowfish.h>
 #include "bf_locl.h"
+#include <openssl/opensslv.h>
 
 /* Blowfish as implemented from 'Blowfish: Springer-Verlag paper'
  * (From LECTURE NOTES IN COIMPUTER SCIENCE 809, FAST SOFTWARE ENCRYPTION,
  * CAMBRIDGE SECURITY WORKSHOP, CAMBRIDGE, U.K., DECEMBER 9-11, 1993)
  */
 
-char *BF_version="BlowFish part of SSLeay 0.9.0b 29-Jun-1998";
+const char *BF_version="BlowFish" OPENSSL_VERSION_PTEXT;
 
-char *BF_options()
+const char *BF_options(void)
        {
 #ifdef BF_PTR
        return("blowfish(ptr)");
@@ -77,11 +78,8 @@ char *BF_options()
 #endif
        }
 
-void BF_ecb_encrypt(in, out, ks, encrypt)
-unsigned char *in;
-unsigned char *out;
-BF_KEY *ks;
-int encrypt;
+void BF_ecb_encrypt(unsigned char *in, unsigned char *out, BF_KEY *ks,
+            int encrypt)
        {
        BF_LONG l,d[2];