From: Richard Levitte Date: Mon, 3 Jun 2002 15:27:52 +0000 (+0000) Subject: use sstrsep() to get the proper type to aoti(). X-Git-Tag: OpenSSL_0_9_7-beta2~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3c204aaf500d72edcf4190645779c89b9b2d2ef1;p=oweals%2Fopenssl.git use sstrsep() to get the proper type to aoti(). Remove unneeded cast in ustrsep(). PR: 69 --- diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c index 1bfffb34cf..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(strsep(&p,"\n")); + encdec = atoi(sstrsep(&p,"\n")); }