Date: Fri, 28 Jul 2006 23:00:16 +0000 (UTC) From: "Simon L. Nielsen" <simon@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libmp mpasbn.c Message-ID: <200607282300.k6SN0Gdn005489@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
simon 2006-07-28 23:00:16 UTC
FreeBSD src repository
Modified files:
lib/libmp mpasbn.c
Log:
Do not put BN_CTX structures on the stack, but instead allocate them
runtime using BN_CTX_new(). This is done since in OpenSSL 0.9.7e we
can only allocate BN_CTX on the stack by including an internal OpenSSL
header file, and in OpenSSL 0.9.8 BN_CTX is entirely opaque, so having
it on the stack is not possible at all.
This is done as preparation for OpenSSL 0.9.8b import.
Tested on: amd64 i386 ia64
Tested with: src/tools/regression/lib/libmp
Revision Changes Path
1.4 +36 -25 src/lib/libmp/mpasbn.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607282300.k6SN0Gdn005489>
