FreeBSD Security Advisory FreeBSD-SA-10:10.openssl

Gareth de Vaux bsd at lordcow.org
Wed Dec 1 17:53:56 UTC 2010


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?


More information about the freebsd-stable mailing list