summaryrefslogtreecommitdiffstats
path: root/crypto/des/rpw.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-06-08 16:25:21 +0000
committerUlf Möller <ulf@openssl.org>1999-06-08 16:25:21 +0000
commitbf0870ac736c7ea12125e8b7cff7f66b38b075e9 (patch)
treeef93066d9b5ee73cdf0a49fd23cea627ff049de5 /crypto/des/rpw.c
parentf947eb318eede3bb0f85a4c61d074e8a1b41c237 (diff)
Casts.
Diffstat (limited to 'crypto/des/rpw.c')
-rw-r--r--crypto/des/rpw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/rpw.c b/crypto/des/rpw.c
index e0ba7a2591..0b6b1519b0 100644
--- a/crypto/des/rpw.c
+++ b/crypto/des/rpw.c
@@ -65,7 +65,7 @@ int main(int argc, char *argv[])
int i;
printf("read passwd\n");
- if ((i=des_read_password((C_Block *)k,"Enter password:",0)) == 0)
+ if ((i=des_read_password(&k,"Enter password:",0)) == 0)
{
printf("password = ");
for (i=0; i<8; i++)
@@ -75,7 +75,7 @@ int main(int argc, char *argv[])
printf("error %d\n",i);
printf("\n");
printf("read 2passwds and verify\n");
- if ((i=des_read_2passwords((C_Block *)k,(C_Block *)k1,
+ if ((i=des_read_2passwords(&k,&k1,
"Enter verified password:",1)) == 0)
{
printf("password1 = ");