summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/bf/bf_skey.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/bf/bf_skey.c')
-rw-r--r--crypto/openssl/crypto/bf/bf_skey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssl/crypto/bf/bf_skey.c b/crypto/openssl/crypto/bf/bf_skey.c
index eefa8e6..4d6a232 100644
--- a/crypto/openssl/crypto/bf/bf_skey.c
+++ b/crypto/openssl/crypto/bf/bf_skey.c
@@ -62,11 +62,11 @@
#include "bf_locl.h"
#include "bf_pi.h"
-void BF_set_key(BF_KEY *key, int len, unsigned char *data)
+void BF_set_key(BF_KEY *key, int len, const unsigned char *data)
{
int i;
BF_LONG *p,ri,in[2];
- unsigned char *d,*end;
+ const unsigned char *d,*end;
memcpy((char *)key,(char *)&bf_init,sizeof(BF_KEY));
OpenPOWER on IntegriCloud