Date: Thu, 02 Dec 2010 00:05:31 -0500 From: jhell <jhell@DataIX.net> To: Gareth de Vaux <bsd@lordcow.org> Cc: stable@freebsd.org Subject: Re: FreeBSD Security Advisory FreeBSD-SA-10:10.openssl Message-ID: <4CF7291B.8050207@DataIX.net> In-Reply-To: <20101201175341.GA44800@lordcow.org> References: <201011292119.oATLJt5b095914@freefall.freebsd.org> <20101201175341.GA44800@lordcow.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/01/2010 12:53, Gareth de Vaux wrote:
> On Mon 2010-11-29 (21:19), FreeBSD Security Advisories wrote:
>> # cd /usr/src
>> # patch < /path/to/patch
>> # cd /usr/src/secure/lib/libssl
>> # make obj && make depend && make && make install
>
> Hi all, I'm following the instructions with:
>
> # cvsup /etc/cvsup-src.conf
> # rm -rf /usr/obj
> # cd /usr/src/secure/lib/libssl
> # make obj && make depend && make
>
> [ snip ]
>
> cc -O -pipe -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libssl/../../../crypto/openssl -I/usr/src/secure/lib/libssl/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libssl -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu99 -fstack-protector -c /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/d1_both.c
> /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/d1_both.c: In function 'dtls1_hm_fragment_new':
> /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/d1_both.c:210: error: 'hm_fragment' has no member named 'reassembly'
>
> [ more hm_fragment.reassembly errors .. ]
>
> *** Error code 1
>
> Stop in /usr/src/secure/lib/libssl.
>
>
> What's going on?
>
> hm_fragment is (only) defined in /usr/src/crypto/openssl/ssl/dtls1.h:
>
> typedef struct hm_fragment_st
> {
> struct hm_header_st msg_header;
> unsigned char *fragment;
> unsigned char *reassembly;
> } hm_fragment;
>
> which has that member and is sourced from the Makefiles.
>
> The first existence complaint in d1_both.c is:
>
> frag->reassembly = bitmask;
>
> yet
>
> frag->fragment = buf;
>
> a few lines earlier is fine?
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Try that with a ( make includes ) in that same directory and if it works
then the advisory will have to be revised.
so it should be
make obj
make depend
make includes
make && make install
If all else fails a buildworld would work for you...
Regards,
--
jhell,v
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CF7291B.8050207>
