aboutsummaryrefslogtreecommitdiff
path: root/crypto/des/set_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/set_key.c')
-rw-r--r--crypto/des/set_key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/set_key.c b/crypto/des/set_key.c
index 143008e..55efe03 100644
--- a/crypto/des/set_key.c
+++ b/crypto/des/set_key.c
@@ -87,7 +87,7 @@ static const unsigned char odd_parity[256]={
void DES_set_odd_parity(DES_cblock *key)
{
- int i;
+ unsigned int i;
for (i=0; i<DES_KEY_SZ; i++)
(*key)[i]=odd_parity[(*key)[i]];
@@ -95,7 +95,7 @@ void DES_set_odd_parity(DES_cblock *key)
int DES_check_key_parity(const_DES_cblock *key)
{
- int i;
+ unsigned int i;
for (i=0; i<DES_KEY_SZ; i++)
{