projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix error code
[oweals/openssl.git]
/
crypto
/
idea
/
i_skey.c
diff --git
a/crypto/idea/i_skey.c
b/crypto/idea/i_skey.c
index 3733be0b60f11fa26c87772cfc1c0e9977c30f48..1c95bc9c7b8872e15d5df3df6cbece14fe5094b1 100644
(file)
--- a/
crypto/idea/i_skey.c
+++ b/
crypto/idea/i_skey.c
@@
-56,16
+56,11
@@
* [including the GNU Public Licence.]
*/
* [including the GNU Public Licence.]
*/
-#include
"idea.h"
+#include
<openssl/idea.h>
#include "idea_lcl.h"
#include "idea_lcl.h"
-#ifndef NOPROTO
static IDEA_INT inverse(unsigned int xin);
static IDEA_INT inverse(unsigned int xin);
-#else
-static IDEA_INT inverse();
-#endif
-
-void idea_set_encrypt_key(unsigned char *key, IDEA_KEY_SCHEDULE *ks)
+void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks)
{
int i;
register IDEA_INT *kt,*kf,r0,r1,r2;
{
int i;
register IDEA_INT *kt,*kf,r0,r1,r2;