Greetings All,
In getting SVN 1.2.3 to compile for NetWare using the current 0.9.8a release of OpenSSL, my compiler complained about the following in ne_openssl.c:

   unsigned char *der, *p;
    size_t len;
    X509 *x5;
/* decode the base64 to get the raw DER representation */
    len = ne_unbase64(data, &der);
    if (len == 0) return NULL;

    p = der;
    x5 = d2i_X509(NULL, &p, len); /* p is incremented */

OpenSSL 0.9.8 defined a lot of vars as 'const', and that includes the var 'p' in the call to d2i_X509():

Error: illegal implicit conversion from 'unsigned char **' to
'const unsigned char **'.

This type mismatching wasn't an issue with 0.9.7i. The solution was to simply cast the 'p' as 'const' in the function call but that clearly stumps use of 0.9.7; so the question arises - what version of OpenSSL does neon support?

TIA,
Norm

_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon

Reply via email to