Fix warnings/errors(!).
authorBen Laurie <ben@openssl.org>
Thu, 9 Jun 2011 17:09:08 +0000 (17:09 +0000)
committerBen Laurie <ben@openssl.org>
Thu, 9 Jun 2011 17:09:08 +0000 (17:09 +0000)
crypto/camellia/cmll_locl.h
crypto/camellia/cmll_utl.c

index 4a4d880d163e4e2006f63de11d5272d839f18b94..246b6ce1d8cf46b2a23320d59cd5106959c1d15d 100644 (file)
@@ -71,7 +71,8 @@
 typedef unsigned int  u32;
 typedef unsigned char u8;
 
-int Camellia_Ekeygen(int keyBitLength, const u8 *rawKey, KEY_TABLE_TYPE keyTable);
+int Camellia_Ekeygen(int keyBitLength, const u8 *rawKey,
+                    KEY_TABLE_TYPE keyTable);
 void Camellia_EncryptBlock_Rounds(int grandRounds, const u8 plaintext[], 
                const KEY_TABLE_TYPE keyTable, u8 ciphertext[]);
 void Camellia_DecryptBlock_Rounds(int grandRounds, const u8 ciphertext[], 
@@ -80,4 +81,6 @@ void Camellia_EncryptBlock(int keyBitLength, const u8 plaintext[],
                const KEY_TABLE_TYPE keyTable, u8 ciphertext[]);
 void Camellia_DecryptBlock(int keyBitLength, const u8 ciphertext[], 
                const KEY_TABLE_TYPE keyTable, u8 plaintext[]);
+int private_Camellia_set_key(const unsigned char *userKey, const int bits,
+                            CAMELLIA_KEY *key);
 #endif /* #ifndef HEADER_CAMELLIA_LOCL_H */
index 1a488a5557b6e84442fd36dad35a0598f9c99974..7a35711ec1c254acbb9d8ddf55a7ebeda03b5a4d 100644 (file)
@@ -54,8 +54,6 @@
 #include <openssl/camellia.h>
 #include "cmll_locl.h"
 
-const char CAMELLIA_version[]="CAMELLIA" OPENSSL_VERSION_PTEXT;
-
 int Camellia_set_key(const unsigned char *userKey, const int bits,
        CAMELLIA_KEY *key)
        {