Dear OpenSSL developers,
I have noticed that a warning is issued when compiling Openssl in MSVC.
To remove it I suggest the following two small changes:

In file openssl/asn1_mac.h

Change in the definition of M_ASN1_D2I_get_EXP_set_opt the line
        (void (*)())free_func, b,V_ASN1_UNIVERSAL) == NULL) \
to:
        (void (*)(void *))free_func, b,V_ASN1_UNIVERSAL) == NULL) \

Change in the definition of M_ASN1_D2I_get_imp_set the line
        (void (*)())free_func,a,b) == NULL) \
to:
        (void (*)(void *))free_func,a,b) == NULL) \

I hope they are both correct (It's just one month that I am 
using/digging into the openssl internals ... :-) )

All the best!
AndreaS
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to