Richard Levitte via RT wrote:
> Probably because of atoi(), a last-second change was made, changing 
> "ustrsep" to "strsep" on that line.  Try replacing "strsep" with 
> "ustrsep", that should work better (I know it worked for me).

I made the change - I think I mistyped and meant sstrsep - reason being 
atoi takes a char * not an an unsigned char *.

Cheers,

Ben.

> 
> I'll look into this when I have more time.
> 
> [[EMAIL PROTECTED] - Mon Jun  3 13:02:51 2002]:
> 
> 
>>Hi,
>>
>>I checked the code in crypto/evp/evp_test.c and it looks like 
> 
> sstrsep do
> 
>>the same like strsep on Linux. So perhaps it was a typo and the 
> 
> code was
> 
>>only tested under Linux.
>>
>>I used sstrsep insteed of strsep. OpenSSL compiles and make test
>>succeed. The patch is like follows:
>>
>>...openssl-0.9.7-stable-SNAP-20020603/crypto/evp]
>>[ 509 ]# diff evp_test.c.org evp_test.c
>>361c361
>><           encdec = atoi(strsep(&p,"\n"));
>>---
>>
>>>          encdec = atoi(sstrsep(&p,"\n"));
>>
>>Best  Regards,
>>
>>Michael
> 
> 



-- 
http://www.apache-ssl.org/ben.html       http://www.thebunker.net/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to