On Sun, Jun 01, 2008, Ben Laurie wrote:

> Dr. Stephen Henson wrote:
>>   OpenSSL CVS Repository
>>   http://cvs.openssl.org/
>>   
>> ____________________________________________________________________________
>>   Server: cvs.openssl.org                  Name:   Dr. Stephen Henson
>>   Root:   /v/openssl/cvs                   Email:  [EMAIL PROTECTED]
>>   Module: openssl                          Date:   31-May-2008 21:28:58
>>   Branch: HEAD                             Handle: 2008053120285700
>>   Modified files:
>>     openssl/apps            ca.c
>>   Log:
>>     Stop const mismatch warning.
>
> I do wish you'd find ways to fix these that don't involve casts!
>

Well I'm open to suggestions on this one...

It's a "feature" of C that if you do...

const something * const *foo;
something **bar;

foo = bar;

you get a warning about different const types. This bit in the ASN1 code where
what used to be:

char **p;

was changed to the more correct:

const char * const *p;

and produces warnings in code which uses the previous form.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to