summaryrefslogtreecommitdiff
path: root/crypto/sha/shatest.c
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2008-09-21 14:56:30 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2008-09-21 14:56:30 +0000
commitbb1499d2aac1d25a95b8573ff425751f06f159e1 (patch)
treea136b5b2317abe8eb83b021afe5e088230fd67e2 /crypto/sha/shatest.c
parentee266f1253f9cc49430572463d26f72910dfb49e (diff)
Notes
Diffstat (limited to 'crypto/sha/shatest.c')
-rw-r--r--crypto/sha/shatest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/sha/shatest.c b/crypto/sha/shatest.c
index bfb11f0a5f2c..ed0fe06a7bee 100644
--- a/crypto/sha/shatest.c
+++ b/crypto/sha/shatest.c
@@ -106,7 +106,7 @@ static char *pt(unsigned char *md);
int main(int argc, char *argv[])
{
int i,err=0;
- unsigned char **P,**R;
+ char **P,**R;
static unsigned char buf[1000];
char *p,*r;
EVP_MD_CTX c;
@@ -118,8 +118,8 @@ int main(int argc, char *argv[])
#endif
EVP_MD_CTX_init(&c);
- P=(unsigned char **)test;
- R=(unsigned char **)ret;
+ P=test;
+ R=ret;
i=1;
while (*P != NULL)
{