Initialize Tizen 2.3
[external/libtasn1.git] / tests / crlf
1 #!/bin/sh
2
3 # Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
4 # Inc.
5 #
6 # Author: Simon Josefsson
7 #
8 # This file is part of LIBTASN1.
9 #
10 # This program is free software: you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation, either version 3 of the License, or
13 # (at your option) any later version.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
19 #
20 # You should have received a copy of the GNU General Public License
21 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
23 set -e
24
25 srcdir=${srcdir:-.}
26 ASN1DECODING=../src/asn1Decoding${EXEEXT}
27
28 # The crlf.cer file is a normal certificate which contains bytes 0x0A
29 # (LF), 0x0D (CF), and 0xFF (EOF), all are known to cause failures
30 # when using fopen/fgetc/fscanf on streams on some systems (read:
31 # Windows).
32
33 $ASN1DECODING \
34     $srcdir/../examples/pkix.asn \
35     $srcdir/crlf.cer \
36     PKIX1Implicit88.Certificate