Hi,

Any way to check on status of this bug?

Mitch Zollinger

The default queue via RT wrote:
> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
> "DHParams_dup() bug",
> a summary of which appears below.
>
> There is no need to reply to this message right now. Your ticket has been
> assigned an ID of [openssl.org #1644].
>
> Please include the string:
>
> [openssl.org #1644]
>
> in the subject line of all future correspondence about this issue. To do so,
> you may reply to this message.
>
> Thank you,
> rt@openssl.org
>
> -------------------------------------------------------------------------
> testlog attached.
>
> Use of DHParams_dup() causes the following errors as of 0.9.8g:
>
> DiffieHellmanParams.cpp:101: error: invalid conversion from ‘void*’ to
> ‘char*’
> DiffieHellmanParams.cpp:101: error: initializing argument 3 of ‘void*
> ASN1_dup(int (*)(void*, unsigned char**), void* (*)(void**, const unsigned
> char**, long int), char*)’
>
> Offending code:
> DH *newDH = DHparams_dup(oldDH);
> where oldDH is a valid, initialized (DH *).
>
> Modifying asn1.h solves the problem (though this may not be the right
> way to solve the issue):
>
> Change FROM this:
> #define CHECKED_PTR_OF(type, p) \
> ((void*) (1 ? p : (type*)0))
> TO this:
> #define CHECKED_PTR_OF(type, p) \
> ((char*) (1 ? p : (type*)0))
>
> Mitch Zollinger
>
>
>
>
>



__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org