From owner-cvs-all@FreeBSD.ORG Sun Aug 14 14:13:09 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D20116A41F; Sun, 14 Aug 2005 14:13:09 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 005FF43D45; Sun, 14 Aug 2005 14:13:08 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7EED8KH052919; Sun, 14 Aug 2005 14:13:08 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7EED8rk052914; Sun, 14 Aug 2005 14:13:08 GMT (envelope-from pjd) Message-Id: <200508141413.j7EED8rk052914@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Sun, 14 Aug 2005 14:13:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/geom/class/eli geom_eli.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2005 14:13:09 -0000 pjd 2005-08-14 14:13:07 UTC FreeBSD src repository Modified files: sbin/geom/class/eli geom_eli.c Log: When keys were configured without passphrase, number of iterations in metadata is equal to -1. if we then wanted to attach provider (or change keys) and forget about '-p' flag it failed on assertion (quite ok, without assertion it could call PKCS#5v2 with 4294967295 iterations). Instead of failing on assertion, remind about '-p' flag. MFC after: 3 days Revision Changes Path 1.2 +4 -0 src/sbin/geom/class/eli/geom_eli.c