From: Michael B. <mic...@rz...> - 2002-03-15 12:21:03
|
alexandru matei schrieb: > > It is not an error, but it seems that DBI.pm can't search in this way ( > from crypto-utils.lib, sub libGetSignerCertificateDB) : > > @searchList = $db->searchItems( DATATYPE => 'CERTIFICATE', > SERIAL => > $sig->getSigner()->{SERIAL} ); > I use instead > @searchList = $db->searchItems( DATATYPE => 'CERTIFICATE', > KEY => $sig->getSigner()->{SERIAL} ); > and works fine. Fixed. The use of SERIAL is mistake for DB.pm and DBI.pm because the interface expects KEY at every time. Michael -- ------------------------------------------------------------------- Michael Bell Email (private): mic...@we... Rechenzentrum - Datacenter Email: mic...@rz... Humboldt-University of Berlin Tel.: +49 (0)30-2093 2482 Unter den Linden 6 Fax: +49 (0)30-2093 2959 10099 Berlin Germany [OpenCA Core Developer] http://www.openca.org |