Subject: Re: security/qca-tls broken on DragonFly
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Jonathan Fosburgh <jonathan@fosburgh.org>
List: tech-pkg
Date: 11/04/2005 15:17:05
On Friday 04 November 2005 03:00 pm, Jaromir Dolecek wrote:

>
> Can you check what prototype is function d2i_RSA_PUBKEY()
> on DragonFly? You should find it in /usr/include/openssl/x509.h.
>
> On NetBSD it's:
>
> RSA *           d2i_RSA_PUBKEY(RSA **a,unsigned char **pp,
>                         long length);
>
> I guess it's been constified on DF, which leads to this problem.
>
This appears to be the relevant part of the file:

#ifndef OPENSSL_NO_RSA
int             i2d_RSA_PUBKEY(RSA *a,unsigned char **pp);
RSA *           d2i_RSA_PUBKEY(RSA **a,const unsigned char **pp,
                        long length);
#endif