From owner-cvs-src-old@FreeBSD.ORG Wed Jan 28 15:31:29 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4F38106567E for ; Wed, 28 Jan 2009 15:31:29 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 630828FC0C for ; Wed, 28 Jan 2009 15:31:29 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0SFVTV6055960 for ; Wed, 28 Jan 2009 15:31:29 GMT (envelope-from bz@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0SFVT77055959 for cvs-src-old@freebsd.org; Wed, 28 Jan 2009 15:31:29 GMT (envelope-from bz@repoman.freebsd.org) Message-Id: <200901281531.n0SFVT77055959@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bz@repoman.freebsd.org using -f From: "Bjoern A. Zeeb" Date: Wed, 28 Jan 2009 15:31:16 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/opencrypto cryptosoft.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 15:31:30 -0000 bz 2009-01-28 15:31:16 UTC FreeBSD src repository Modified files: sys/opencrypto cryptosoft.c Log: SVN rev 187826 on 2009-01-28 15:31:16Z by bz While OpenBSD's crypto/ framework has sha1 and md5 implementations that can cope with a result buffer of NULL in the "Final" function, we cannot. Thus pass in a temporary buffer long enough for either md5 or sha1 results so that we do not panic. PR: bin/126468 MFC after: 1 week Revision Changes Path 1.22 +6 -1 src/sys/opencrypto/cryptosoft.c