1 This is a static file don't change the content, it is used in the test
5 # Copyright (c) 2005 Kungliga Tekniska Högskolan
6 # (Royal Institute of Technology, Stockholm, Sweden).
9 # Redistribution and use in source and binary forms, with or without
10 # modification, are permitted provided that the following conditions
13 # 1. Redistributions of source code must retain the above copyright
14 # notice, this list of conditions and the following disclaimer.
16 # 2. Redistributions in binary form must reproduce the above copyright
17 # notice, this list of conditions and the following disclaimer in the
18 # documentation and/or other materials provided with the distribution.
20 # 3. Neither the name of the Institute nor the names of its contributors
21 # may be used to endorse or promote products derived from this software
22 # without specific prior written permission.
24 # THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
25 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27 # ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
28 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
43 PKCS12:$srcdir/data/test.p12 || exit 1
45 echo "make sure entry is found (friendlyname)"
48 --friendlyname=friendlyname-test \
49 PKCS12:$srcdir/data/test.p12 || exit 1
51 echo "make sure entry is not found (friendlyname)"
54 --friendlyname=friendlyname-test-not \
55 PKCS12:$srcdir/data/test.p12 && exit 1
57 echo "check for ca cert (friendlyname)"
61 PKCS12:$srcdir/data/test.p12 || exit 1
63 echo "make sure entry is not found (friendlyname)"
66 --friendlyname=friendlyname-test \
67 PKCS12:$srcdir/data/sub-cert.p12 && exit 1
69 echo "make sure entry is found (friendlyname|private key)"
72 --friendlyname=friendlyname-test \
74 PKCS12:$srcdir/data/test.p12 || exit 1
76 echo "make sure entry is not found (friendlyname|private key)"
81 PKCS12:$srcdir/data/test.p12 && exit 1