Hi,

Some OpenSSL functions use char* pointers where I think that const
char* pointers would be better.

So I always get warnings like the following:

foo.cpp:23: warning: invalid conversion from 'const char*' to 'char*'
foo.cpp:42: warning: deprecated conversion from string constant to 'char*'

Examples are X509V3_EXT_conf_nid() and X509V3_EXT_conf(). Do those
really write into the char *value argument?

If yes, I will have to change my code to copy the string into temporary
buffers, if not, the OpenSSL function declarations should be changed.

What do you think about it?

Thanks,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to