projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A general spring-cleaning (in autumn) to fix up signed/unsigned warnings.
[openssl.git]
/
crypto
/
des
/
set_key.c
diff --git
a/crypto/des/set_key.c
b/crypto/des/set_key.c
index 143008ed9c50098d753e89f09a48b6d504348b7e..55efe03f4233c34e74faf4ee304fa008cd985c83 100644
(file)
--- 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++)
{