summaryrefslogtreecommitdiffstats
path: root/crypto/bf
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-08-29 00:49:57 +0200
committerNils Larsch <nils@openssl.org>2005-08-29 00:49:57 +0200
commit8215e7a93897347a97de87b3d26fe84cc8a5b05d (patch)
tree8b36ff9369a0e0a6f6fde828209564a32715080c /crypto/bf
parentMore synchronisation with the Unixly build. (diff)
downloadopenssl-8215e7a93897347a97de87b3d26fe84cc8a5b05d.tar.xz
openssl-8215e7a93897347a97de87b3d26fe84cc8a5b05d.zip
fix warnings when building openssl with the following compiler options:
-Wmissing-prototypes -Wcomment -Wformat -Wimplicit -Wmain -Wmultichar -Wswitch -Wshadow -Wtrigraphs -Werror -Wchar-subscripts -Wstrict-prototypes -Wreturn-type -Wpointer-arith -W -Wunused -Wno-unused-parameter -Wuninitialized
Diffstat (limited to 'crypto/bf')
-rw-r--r--crypto/bf/bf_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bf/bf_enc.c b/crypto/bf/bf_enc.c
index b380acf959..2d21d09f42 100644
--- a/crypto/bf/bf_enc.c
+++ b/crypto/bf/bf_enc.c
@@ -73,7 +73,7 @@ void BF_encrypt(BF_LONG *data, const BF_KEY *key)
{
#ifndef BF_PTR2
register BF_LONG l,r;
- const register BF_LONG *p,*s;
+ register const BF_LONG *p,*s;
p=key->P;
s= &(key->S[0]);
@@ -150,7 +150,7 @@ void BF_decrypt(BF_LONG *data, const BF_KEY *key)
{
#ifndef BF_PTR2
register BF_LONG l,r;
- const register BF_LONG *p,*s;
+ register const BF_LONG *p,*s;
p=key->P;
s= &(key->S[0]);