summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-06-03 15:27:46 +0000
committerRichard Levitte <levitte@openssl.org>2002-06-03 15:27:46 +0000
commit6631a7e7f1897f5b6b8709ff459f5a342ba1d312 (patch)
tree14464e0b4ea5fb7675b30338515ea057ea08e6c9 /crypto
parent010da5c015bbb179d0d20bfc788fddbb86aa35cd (diff)
use sstrsep() to get the proper type to aoti().
Remove unneeded cast in ustrsep(). PR: 69
Diffstat (limited to 'crypto')
-rw-r--r--crypto/evp/evp_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c
index 7c5453d7e9..90294ef686 100644
--- a/crypto/evp/evp_test.c
+++ b/crypto/evp/evp_test.c
@@ -118,7 +118,7 @@ static char *sstrsep(char **string, const char *delim)
}
static unsigned char *ustrsep(char **p,const char *sep)
- { return (unsigned char *)sstrsep((char **)p,sep); }
+ { return (unsigned char *)sstrsep(p,sep); }
static void test1(const EVP_CIPHER *c,const unsigned char *key,int kn,
const unsigned char *iv,int in,
@@ -358,7 +358,7 @@ int main(int argc,char **argv)
p[-1] = '\0';
encdec = -1;
} else {
- encdec = atoi(ustrsep(&p,"\n"));
+ encdec = atoi(sstrsep(&p,"\n"));
}