Brian Havard wrote:
> 
> On Wed, 29 Aug 2001 15:19:24 +0200 (MET DST), Peter Sylvester wrote:
> 
> >would it be possible to add something like the following
> >to evp/evp_test.c  It is not a replacement for strsep but
> >a function that seems to work with the few calls in evp_test.c
> >
> >
> >static char * strsep(char **p,const char *sep) {
> >       char * p1 = *p ;
> >       while (**p != *sep) {
> >               if (**p == '\0') return p1;
> >               (*p)++;
> >       }
> >       **p = '\0'; (*p)++ ;
> >       return p1 ;
> >}
> 
> I went a little further & wrote a full strsep() (wasn't hard). Not heavily
> tested but seems to work ok. After adding this to evp_test.c & getting it
> to build, it fails on the AES test. Is this a known problem or should I
> pursue it further? The output is

This is a known problem (I'm not doing the test correctly).

Cheers,

Ben.

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

"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