3 # Copyright (C) 2004, 2005, 2006, 2008, 2010 Free Software Foundation,
6 # Author: Simon Josefsson
8 # This file is part of GnuTLS.
10 # GnuTLS is free software; you can redistribute it and/or modify it
11 # under the terms of the GNU General Public License as published by the
12 # Free Software Foundation; either version 3 of the License, or (at
13 # your option) any later version.
15 # GnuTLS is distributed in the hope that it will be useful, but
16 # WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 # General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with GnuTLS; if not, write to the Free Software Foundation,
22 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 CERTTOOL=${CERTTOOL:-../../src/certtool}
28 for p12 in 'client.p12 foobar' noclient.p12 unclient.p12 pkcs12_2certs.p12; do
32 $CERTTOOL --p12-info --inder --password "$passwd" \
33 --infile $srcdir/$file > out 2>&1
35 if test $rc != 0; then
37 echo "NEON PKCS12 FATAL $p12"
40 echo "NEON PKCS12 OK $p12"
45 echo "NEON PKCS12 DONE (rc $ret)"