diff options
Diffstat (limited to 'src/lib/libcrypto/util')
48 files changed, 9689 insertions, 5 deletions
diff --git a/src/lib/libcrypto/util/FreeBSD.sh b/src/lib/libcrypto/util/FreeBSD.sh new file mode 100644 index 0000000000..db8edfc6aa --- /dev/null +++ b/src/lib/libcrypto/util/FreeBSD.sh | |||
@@ -0,0 +1,6 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | perl util/perlpath.pl /usr/bin | ||
4 | perl util/ssldir.pl /usr/local | ||
5 | perl util/mk1mf.pl FreeBSD >Makefile.FreeBSD | ||
6 | perl Configure FreeBSD | ||
diff --git a/src/lib/libcrypto/util/add_cr.pl b/src/lib/libcrypto/util/add_cr.pl new file mode 100644 index 0000000000..c7b62c11ec --- /dev/null +++ b/src/lib/libcrypto/util/add_cr.pl | |||
@@ -0,0 +1,123 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # This adds a copyright message to a souce code file. | ||
4 | # It also gets the file name correct. | ||
5 | # | ||
6 | # perl util/add_cr.pl *.[ch] */*.[ch] */*/*.[ch] | ||
7 | # | ||
8 | |||
9 | foreach (@ARGV) | ||
10 | { | ||
11 | &dofile($_); | ||
12 | } | ||
13 | |||
14 | sub dofile | ||
15 | { | ||
16 | local($file)=@_; | ||
17 | |||
18 | open(IN,"<$file") || die "unable to open $file:$!\n"; | ||
19 | |||
20 | print STDERR "doing $file\n"; | ||
21 | @in=<IN>; | ||
22 | |||
23 | return(1) if ($in[0] =~ / NOCW /); | ||
24 | |||
25 | @out=(); | ||
26 | open(OUT,">$file.out") || die "unable to open $file.$$:$!\n"; | ||
27 | push(@out,"/* $file */\n"); | ||
28 | if (($in[1] !~ /^\/\* Copyright \(C\) [0-9-]+ Eric Young \(eay\@cryptsoft.com\)/)) | ||
29 | { | ||
30 | push(@out,&Copyright); | ||
31 | $i=2; | ||
32 | @a=grep(/ Copyright \(C\) /,@in); | ||
33 | if ($#a >= 0) | ||
34 | { | ||
35 | while (($i <= $#in) && ($in[$i] ne " */\n")) | ||
36 | { $i++; } | ||
37 | $i++ if ($in[$i] eq " */\n"); | ||
38 | |||
39 | while (($i <= $#in) && ($in[$i] =~ /^\s*$/)) | ||
40 | { $i++; } | ||
41 | |||
42 | push(@out,"\n"); | ||
43 | for ( ; $i <= $#in; $i++) | ||
44 | { push(@out,$in[$i]); } | ||
45 | } | ||
46 | else | ||
47 | { push(@out,@in); } | ||
48 | } | ||
49 | else | ||
50 | { | ||
51 | shift(@in); | ||
52 | push(@out,@in); | ||
53 | } | ||
54 | print OUT @out; | ||
55 | close(IN); | ||
56 | close(OUT); | ||
57 | rename("$file","$file.orig") || die "unable to rename $file:$!\n"; | ||
58 | rename("$file.out",$file) || die "unable to rename $file.out:$!\n"; | ||
59 | } | ||
60 | |||
61 | |||
62 | |||
63 | sub Copyright | ||
64 | { | ||
65 | return <<'EOF'; | ||
66 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | ||
67 | * All rights reserved. | ||
68 | * | ||
69 | * This package is an SSL implementation written | ||
70 | * by Eric Young (eay@cryptsoft.com). | ||
71 | * The implementation was written so as to conform with Netscapes SSL. | ||
72 | * | ||
73 | * This library is free for commercial and non-commercial use as long as | ||
74 | * the following conditions are aheared to. The following conditions | ||
75 | * apply to all code found in this distribution, be it the RC4, RSA, | ||
76 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation | ||
77 | * included with this distribution is covered by the same copyright terms | ||
78 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). | ||
79 | * | ||
80 | * Copyright remains Eric Young's, and as such any Copyright notices in | ||
81 | * the code are not to be removed. | ||
82 | * If this package is used in a product, Eric Young should be given attribution | ||
83 | * as the author of the parts of the library used. | ||
84 | * This can be in the form of a textual message at program startup or | ||
85 | * in documentation (online or textual) provided with the package. | ||
86 | * | ||
87 | * Redistribution and use in source and binary forms, with or without | ||
88 | * modification, are permitted provided that the following conditions | ||
89 | * are met: | ||
90 | * 1. Redistributions of source code must retain the copyright | ||
91 | * notice, this list of conditions and the following disclaimer. | ||
92 | * 2. Redistributions in binary form must reproduce the above copyright | ||
93 | * notice, this list of conditions and the following disclaimer in the | ||
94 | * documentation and/or other materials provided with the distribution. | ||
95 | * 3. All advertising materials mentioning features or use of this software | ||
96 | * must display the following acknowledgement: | ||
97 | * "This product includes cryptographic software written by | ||
98 | * Eric Young (eay@cryptsoft.com)" | ||
99 | * The word 'cryptographic' can be left out if the rouines from the library | ||
100 | * being used are not cryptographic related :-). | ||
101 | * 4. If you include any Windows specific code (or a derivative thereof) from | ||
102 | * the apps directory (application code) you must include an acknowledgement: | ||
103 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" | ||
104 | * | ||
105 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | ||
106 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
107 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
108 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||
109 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
110 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
111 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
112 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
113 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
114 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
115 | * SUCH DAMAGE. | ||
116 | * | ||
117 | * The licence and distribution terms for any publically available version or | ||
118 | * derivative of this code cannot be changed. i.e. this code cannot simply be | ||
119 | * copied and put under another distribution licence | ||
120 | * [including the GNU Public Licence.] | ||
121 | */ | ||
122 | EOF | ||
123 | } | ||
diff --git a/src/lib/libcrypto/util/bat.sh b/src/lib/libcrypto/util/bat.sh new file mode 100644 index 0000000000..4d9a8287d0 --- /dev/null +++ b/src/lib/libcrypto/util/bat.sh | |||
@@ -0,0 +1,134 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | |||
3 | $infile="/home/eay/ssl/SSLeay/MINFO"; | ||
4 | |||
5 | open(IN,"<$infile") || die "unable to open $infile:$!\n"; | ||
6 | $_=<IN>; | ||
7 | for (;;) | ||
8 | { | ||
9 | chop; | ||
10 | |||
11 | ($key,$val)=/^([^=]+)=(.*)/; | ||
12 | if ($key eq "RELATIVE_DIRECTORY") | ||
13 | { | ||
14 | if ($lib ne "") | ||
15 | { | ||
16 | $uc=$lib; | ||
17 | $uc =~ s/^lib(.*)\.a/$1/; | ||
18 | $uc =~ tr/a-z/A-Z/; | ||
19 | $lib_nam{$uc}=$uc; | ||
20 | $lib_obj{$uc}.=$libobj." "; | ||
21 | } | ||
22 | last if ($val eq "FINISHED"); | ||
23 | $lib=""; | ||
24 | $libobj=""; | ||
25 | $dir=$val; | ||
26 | } | ||
27 | |||
28 | if ($key eq "TEST") | ||
29 | { $test.=&var_add($dir,$val); } | ||
30 | |||
31 | if (($key eq "PROGS") || ($key eq "E_OBJ")) | ||
32 | { $e_exe.=&var_add($dir,$val); } | ||
33 | |||
34 | if ($key eq "LIB") | ||
35 | { | ||
36 | $lib=$val; | ||
37 | $lib =~ s/^.*\/([^\/]+)$/$1/; | ||
38 | } | ||
39 | |||
40 | if ($key eq "EXHEADER") | ||
41 | { $exheader.=&var_add($dir,$val); } | ||
42 | |||
43 | if ($key eq "HEADER") | ||
44 | { $header.=&var_add($dir,$val); } | ||
45 | |||
46 | if ($key eq "LIBSRC") | ||
47 | { $libsrc.=&var_add($dir,$val); } | ||
48 | |||
49 | if (!($_=<IN>)) | ||
50 | { $_="RELATIVE_DIRECTORY=FINISHED\n"; } | ||
51 | } | ||
52 | close(IN); | ||
53 | |||
54 | @a=split(/\s+/,$libsrc); | ||
55 | foreach (@a) | ||
56 | { | ||
57 | print "${_}.c\n"; | ||
58 | } | ||
59 | |||
60 | sub var_add | ||
61 | { | ||
62 | local($dir,$val)=@_; | ||
63 | local(@a,$_,$ret); | ||
64 | |||
65 | return("") if $no_engine && $dir =~ /\/engine/; | ||
66 | return("") if $no_idea && $dir =~ /\/idea/; | ||
67 | return("") if $no_rc2 && $dir =~ /\/rc2/; | ||
68 | return("") if $no_rc4 && $dir =~ /\/rc4/; | ||
69 | return("") if $no_rsa && $dir =~ /\/rsa/; | ||
70 | return("") if $no_rsa && $dir =~ /^rsaref/; | ||
71 | return("") if $no_dsa && $dir =~ /\/dsa/; | ||
72 | return("") if $no_dh && $dir =~ /\/dh/; | ||
73 | if ($no_des && $dir =~ /\/des/) | ||
74 | { | ||
75 | if ($val =~ /read_pwd/) | ||
76 | { return("$dir/read_pwd "); } | ||
77 | else | ||
78 | { return(""); } | ||
79 | } | ||
80 | return("") if $no_mdc2 && $dir =~ /\/mdc2/; | ||
81 | return("") if $no_sock && $dir =~ /\/proxy/; | ||
82 | return("") if $no_bf && $dir =~ /\/bf/; | ||
83 | return("") if $no_cast && $dir =~ /\/cast/; | ||
84 | |||
85 | $val =~ s/^\s*(.*)\s*$/$1/; | ||
86 | @a=split(/\s+/,$val); | ||
87 | grep(s/\.[och]$//,@a); | ||
88 | |||
89 | @a=grep(!/^e_.*_3d$/,@a) if $no_des; | ||
90 | @a=grep(!/^e_.*_d$/,@a) if $no_des; | ||
91 | @a=grep(!/^e_.*_i$/,@a) if $no_idea; | ||
92 | @a=grep(!/^e_.*_r2$/,@a) if $no_rc2; | ||
93 | @a=grep(!/^e_.*_bf$/,@a) if $no_bf; | ||
94 | @a=grep(!/^e_.*_c$/,@a) if $no_cast; | ||
95 | @a=grep(!/^e_rc4$/,@a) if $no_rc4; | ||
96 | |||
97 | @a=grep(!/(^s2_)|(^s23_)/,@a) if $no_ssl2; | ||
98 | @a=grep(!/(^s3_)|(^s23_)/,@a) if $no_ssl3; | ||
99 | |||
100 | @a=grep(!/(_sock$)|(_acpt$)|(_conn$)|(^pxy_)/,@a) if $no_sock; | ||
101 | |||
102 | @a=grep(!/(^md2)|(_md2$)/,@a) if $no_md2; | ||
103 | @a=grep(!/(^md5)|(_md5$)/,@a) if $no_md5; | ||
104 | |||
105 | @a=grep(!/(^d2i_r_)|(^i2d_r_)/,@a) if $no_rsa; | ||
106 | @a=grep(!/(^p_open$)|(^p_seal$)/,@a) if $no_rsa; | ||
107 | @a=grep(!/(^pem_seal$)/,@a) if $no_rsa; | ||
108 | |||
109 | @a=grep(!/(m_dss$)|(m_dss1$)/,@a) if $no_dsa; | ||
110 | @a=grep(!/(^d2i_s_)|(^i2d_s_)|(_dsap$)/,@a) if $no_dsa; | ||
111 | |||
112 | @a=grep(!/^n_pkey$/,@a) if $no_rsa || $no_rc4; | ||
113 | |||
114 | @a=grep(!/_dhp$/,@a) if $no_dh; | ||
115 | |||
116 | @a=grep(!/(^sha[^1])|(_sha$)|(m_dss$)/,@a) if $no_sha; | ||
117 | @a=grep(!/(^sha1)|(_sha1$)|(m_dss1$)/,@a) if $no_sha1; | ||
118 | @a=grep(!/_mdc2$/,@a) if $no_mdc2; | ||
119 | |||
120 | @a=grep(!/^engine$/,@a) if $no_engine; | ||
121 | @a=grep(!/(^rsa$)|(^genrsa$)|(^req$)|(^ca$)/,@a) if $no_rsa; | ||
122 | @a=grep(!/(^dsa$)|(^gendsa$)|(^dsaparam$)/,@a) if $no_dsa; | ||
123 | @a=grep(!/^gendsa$/,@a) if $no_sha1; | ||
124 | @a=grep(!/(^dh$)|(^gendh$)/,@a) if $no_dh; | ||
125 | |||
126 | @a=grep(!/(^dh)|(_sha1$)|(m_dss1$)/,@a) if $no_sha1; | ||
127 | |||
128 | grep($_="$dir/$_",@a); | ||
129 | @a=grep(!/(^|\/)s_/,@a) if $no_sock; | ||
130 | @a=grep(!/(^|\/)bio_sock/,@a) if $no_sock; | ||
131 | $ret=join(' ',@a)." "; | ||
132 | return($ret); | ||
133 | } | ||
134 | |||
diff --git a/src/lib/libcrypto/util/ck_errf.pl b/src/lib/libcrypto/util/ck_errf.pl new file mode 100644 index 0000000000..7a24d6c5a2 --- /dev/null +++ b/src/lib/libcrypto/util/ck_errf.pl | |||
@@ -0,0 +1,45 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # This is just a quick script to scan for cases where the 'error' | ||
4 | # function name in a XXXerr() macro is wrong. | ||
5 | # | ||
6 | # Run in the top level by going | ||
7 | # perl util/ck_errf.pl */*.c */*/*.c | ||
8 | # | ||
9 | |||
10 | foreach $file (@ARGV) | ||
11 | { | ||
12 | open(IN,"<$file") || die "unable to open $file\n"; | ||
13 | $func=""; | ||
14 | while (<IN>) | ||
15 | { | ||
16 | if (/^[a-zA-Z].+[\s*]([A-Za-z_0-9]+)\(.*\)/) | ||
17 | { | ||
18 | $func=$1; | ||
19 | $func =~ tr/A-Z/a-z/; | ||
20 | } | ||
21 | if (/([A-Z0-9]+)err\(([^,]+)/) | ||
22 | { | ||
23 | next if ($func eq ""); | ||
24 | $errlib=$1; | ||
25 | $n=$2; | ||
26 | if ($n !~ /([^_]+)_F_(.+)$/) | ||
27 | { | ||
28 | # print "check -$file:$.:$func:$n\n"; | ||
29 | next; | ||
30 | } | ||
31 | $lib=$1; | ||
32 | $n=$2; | ||
33 | |||
34 | if ($lib ne $errlib) | ||
35 | { print "$file:$.:$func:$n\n"; next; } | ||
36 | |||
37 | $n =~ tr/A-Z/a-z/; | ||
38 | if (($n ne $func) && ($errlib ne "SYS")) | ||
39 | { print "$file:$.:$func:$n\n"; next; } | ||
40 | # print "$func:$1\n"; | ||
41 | } | ||
42 | } | ||
43 | close(IN); | ||
44 | } | ||
45 | |||
diff --git a/src/lib/libcrypto/util/clean-depend.pl b/src/lib/libcrypto/util/clean-depend.pl new file mode 100644 index 0000000000..6c485d1e2f --- /dev/null +++ b/src/lib/libcrypto/util/clean-depend.pl | |||
@@ -0,0 +1,54 @@ | |||
1 | #!/usr/local/bin/perl -w | ||
2 | # Clean the dependency list in a makefile of standard includes... | ||
3 | # Written by Ben Laurie <ben@algroup.co.uk> 19 Jan 1999 | ||
4 | |||
5 | use strict; | ||
6 | |||
7 | while(<STDIN>) { | ||
8 | print; | ||
9 | last if /^# DO NOT DELETE THIS LINE/; | ||
10 | } | ||
11 | |||
12 | my %files; | ||
13 | |||
14 | my $thisfile=""; | ||
15 | while(<STDIN>) { | ||
16 | my ($dummy, $file,$deps)=/^((.*):)? (.*)$/; | ||
17 | my $origfile=""; | ||
18 | $thisfile=$file if defined $file; | ||
19 | next if !defined $deps; | ||
20 | $origfile=$thisfile; | ||
21 | $origfile=~s/\.o$/.c/; | ||
22 | my @deps=split ' ',$deps; | ||
23 | @deps=grep(!/^\//,@deps); | ||
24 | @deps=grep(!/^\\$/,@deps); | ||
25 | @deps=grep(!/^$origfile$/,@deps); | ||
26 | # pull out the kludged kerberos header (if present). | ||
27 | @deps=grep(!/^[.\/]+\/krb5.h/,@deps); | ||
28 | push @{$files{$thisfile}},@deps; | ||
29 | } | ||
30 | |||
31 | my $file; | ||
32 | foreach $file (sort keys %files) { | ||
33 | my $len=0; | ||
34 | my $dep; | ||
35 | my $origfile=$file; | ||
36 | $origfile=~s/\.o$/.c/; | ||
37 | $file=~s/^\.\///; | ||
38 | push @{$files{$file}},$origfile; | ||
39 | my $prevdep=""; | ||
40 | foreach $dep (sort @{$files{$file}}) { | ||
41 | $dep=~s/^\.\///; | ||
42 | next if $prevdep eq $dep; # to exterminate duplicates... | ||
43 | $prevdep = $dep; | ||
44 | $len=0 if $len+length($dep)+1 >= 80; | ||
45 | if($len == 0) { | ||
46 | print "\n$file:"; | ||
47 | $len=length($file)+1; | ||
48 | } | ||
49 | print " $dep"; | ||
50 | $len+=length($dep)+1; | ||
51 | } | ||
52 | } | ||
53 | |||
54 | print "\n"; | ||
diff --git a/src/lib/libcrypto/util/cygwin.sh b/src/lib/libcrypto/util/cygwin.sh new file mode 100644 index 0000000000..930f766b4f --- /dev/null +++ b/src/lib/libcrypto/util/cygwin.sh | |||
@@ -0,0 +1,127 @@ | |||
1 | #!/bin/bash | ||
2 | # | ||
3 | # This script configures, builds and packs the binary package for | ||
4 | # the Cygwin net distribution version of OpenSSL | ||
5 | # | ||
6 | |||
7 | # Uncomment when debugging | ||
8 | #set -x | ||
9 | |||
10 | CONFIG_OPTIONS="--prefix=/usr shared no-idea no-rc5 no-mdc2" | ||
11 | INSTALL_PREFIX=/tmp/install | ||
12 | |||
13 | VERSION= | ||
14 | SUBVERSION=$1 | ||
15 | |||
16 | function cleanup() | ||
17 | { | ||
18 | rm -rf ${INSTALL_PREFIX}/etc | ||
19 | rm -rf ${INSTALL_PREFIX}/usr | ||
20 | } | ||
21 | |||
22 | function get_openssl_version() | ||
23 | { | ||
24 | eval `grep '^VERSION=' Makefile.ssl` | ||
25 | if [ -z "${VERSION}" ] | ||
26 | then | ||
27 | echo "Error: Couldn't retrieve OpenSSL version from Makefile.ssl." | ||
28 | echo " Check value of variable VERSION in Makefile.ssl." | ||
29 | exit 1 | ||
30 | fi | ||
31 | } | ||
32 | |||
33 | function base_install() | ||
34 | { | ||
35 | mkdir -p ${INSTALL_PREFIX} | ||
36 | cleanup | ||
37 | make install INSTALL_PREFIX="${INSTALL_PREFIX}" | ||
38 | } | ||
39 | |||
40 | function doc_install() | ||
41 | { | ||
42 | DOC_DIR=${INSTALL_PREFIX}/usr/doc/openssl | ||
43 | |||
44 | mkdir -p ${DOC_DIR} | ||
45 | cp CHANGES CHANGES.SSLeay INSTALL LICENSE NEWS README ${DOC_DIR} | ||
46 | |||
47 | create_cygwin_readme | ||
48 | } | ||
49 | |||
50 | function create_cygwin_readme() | ||
51 | { | ||
52 | README_DIR=${INSTALL_PREFIX}/usr/doc/Cygwin | ||
53 | README_FILE=${README_DIR}/openssl-${VERSION}.README | ||
54 | |||
55 | mkdir -p ${README_DIR} | ||
56 | cat > ${README_FILE} <<- EOF | ||
57 | The Cygwin version has been built using the following configure: | ||
58 | |||
59 | ./config ${CONFIG_OPTIONS} | ||
60 | |||
61 | The IDEA, RC5 and MDC2 algorithms are disabled due to patent and/or | ||
62 | licensing issues. | ||
63 | EOF | ||
64 | } | ||
65 | |||
66 | function create_profile_files() | ||
67 | { | ||
68 | PROFILE_DIR=${INSTALL_PREFIX}/etc/profile.d | ||
69 | |||
70 | mkdir -p $PROFILE_DIR | ||
71 | cat > ${PROFILE_DIR}/openssl.sh <<- "EOF" | ||
72 | export MANPATH="${MANPATH}:/usr/ssl/man" | ||
73 | EOF | ||
74 | cat > ${PROFILE_DIR}/openssl.csh <<- "EOF" | ||
75 | if ( $?MANPATH ) then | ||
76 | setenv MANPATH "${MANPATH}:/usr/ssl/man" | ||
77 | else | ||
78 | setenv MANPATH ":/usr/ssl/man" | ||
79 | endif | ||
80 | EOF | ||
81 | } | ||
82 | |||
83 | if [ -z "${SUBVERSION}" ] | ||
84 | then | ||
85 | echo "Usage: $0 subversion" | ||
86 | exit 1 | ||
87 | fi | ||
88 | |||
89 | if [ ! -f config ] | ||
90 | then | ||
91 | echo "You must start this script in the OpenSSL toplevel source dir." | ||
92 | exit 1 | ||
93 | fi | ||
94 | |||
95 | ./config ${CONFIG_OPTIONS} | ||
96 | |||
97 | get_openssl_version | ||
98 | |||
99 | make depend || exit 1 | ||
100 | |||
101 | make || exit 1 | ||
102 | |||
103 | base_install | ||
104 | |||
105 | doc_install | ||
106 | |||
107 | create_cygwin_readme | ||
108 | |||
109 | create_profile_files | ||
110 | |||
111 | cd ${INSTALL_PREFIX} | ||
112 | strip usr/bin/*.exe usr/bin/*.dll | ||
113 | |||
114 | # Runtime package | ||
115 | find etc usr/bin usr/doc usr/ssl/certs usr/ssl/man/man[157] usr/ssl/misc \ | ||
116 | usr/ssl/openssl.cnf usr/ssl/private -empty -o \! -type d | | ||
117 | tar cjfT openssl-${VERSION}-${SUBVERSION}.tar.bz2 - | ||
118 | # Development package | ||
119 | find usr/include usr/lib usr/ssl/man/man3 -empty -o \! -type d | | ||
120 | tar cjfT openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2 - | ||
121 | |||
122 | ls -l openssl-${VERSION}-${SUBVERSION}.tar.bz2 | ||
123 | ls -l openssl-devel-${VERSION}-${SUBVERSION}.tar.bz2 | ||
124 | |||
125 | cleanup | ||
126 | |||
127 | exit 0 | ||
diff --git a/src/lib/libcrypto/util/deleof.pl b/src/lib/libcrypto/util/deleof.pl new file mode 100644 index 0000000000..155acd88ff --- /dev/null +++ b/src/lib/libcrypto/util/deleof.pl | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | |||
3 | while (<>) | ||
4 | { | ||
5 | |||
6 | last if (/^# DO NOT DELETE THIS LINE/); | ||
7 | } | ||
diff --git a/src/lib/libcrypto/util/dirname.pl b/src/lib/libcrypto/util/dirname.pl new file mode 100644 index 0000000000..d7a66d96ac --- /dev/null +++ b/src/lib/libcrypto/util/dirname.pl | |||
@@ -0,0 +1,18 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | |||
3 | if ($#ARGV < 0) { | ||
4 | die "dirname.pl: too few arguments\n"; | ||
5 | } elsif ($#ARGV > 0) { | ||
6 | die "dirname.pl: too many arguments\n"; | ||
7 | } | ||
8 | |||
9 | my $d = $ARGV[0]; | ||
10 | |||
11 | if ($d =~ m|.*/.*|) { | ||
12 | $d =~ s|/[^/]*$||; | ||
13 | } else { | ||
14 | $d = "."; | ||
15 | } | ||
16 | |||
17 | print $d,"\n"; | ||
18 | exit(0); | ||
diff --git a/src/lib/libcrypto/util/do_ms.sh b/src/lib/libcrypto/util/do_ms.sh new file mode 100644 index 0000000000..515b074cff --- /dev/null +++ b/src/lib/libcrypto/util/do_ms.sh | |||
@@ -0,0 +1,19 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # generate the Microsoft makefiles and .def files | ||
4 | # | ||
5 | |||
6 | PATH=util:../util:$PATH | ||
7 | |||
8 | # perl util/mk1mf.pl no-sock VC-MSDOS >ms/msdos.mak | ||
9 | # perl util/mk1mf.pl VC-W31-32 >ms/w31.mak | ||
10 | perl util/mk1mf.pl dll VC-WIN16 >ms/w31dll.mak | ||
11 | # perl util/mk1mf.pl VC-WIN32 >ms/nt.mak | ||
12 | perl util/mk1mf.pl dll VC-WIN32 >ms/ntdll.mak | ||
13 | perl util/mk1mf.pl Mingw32 >ms/mingw32.mak | ||
14 | perl util/mk1mf.pl Mingw32-files >ms/mingw32f.mak | ||
15 | |||
16 | perl util/mkdef.pl 16 libeay > ms/libeay16.def | ||
17 | perl util/mkdef.pl 32 libeay > ms/libeay32.def | ||
18 | perl util/mkdef.pl 16 ssleay > ms/ssleay16.def | ||
19 | perl util/mkdef.pl 32 ssleay > ms/ssleay32.def | ||
diff --git a/src/lib/libcrypto/util/domd b/src/lib/libcrypto/util/domd new file mode 100644 index 0000000000..49310bbdd1 --- /dev/null +++ b/src/lib/libcrypto/util/domd | |||
@@ -0,0 +1,34 @@ | |||
1 | #!/bin/sh | ||
2 | # Do a makedepend, only leave out the standard headers | ||
3 | # Written by Ben Laurie <ben@algroup.co.uk> 19 Jan 1999 | ||
4 | |||
5 | TOP=$1 | ||
6 | shift | ||
7 | if [ "$1" = "-MD" ]; then | ||
8 | shift | ||
9 | MAKEDEPEND=$1 | ||
10 | shift | ||
11 | fi | ||
12 | if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi | ||
13 | |||
14 | cp Makefile.ssl Makefile.save | ||
15 | # fake the presence of Kerberos | ||
16 | touch $TOP/krb5.h | ||
17 | if [ "$MAKEDEPEND" = "gcc" ]; then | ||
18 | args="" | ||
19 | while [ $# -gt 0 ]; do | ||
20 | if [ "$1" != "--" ]; then args="$args $1"; fi | ||
21 | shift | ||
22 | done | ||
23 | sed -e '/^# DO NOT DELETE.*/,$d' < Makefile.ssl > Makefile.tmp | ||
24 | echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp | ||
25 | gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp | ||
26 | ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new | ||
27 | rm -f Makefile.tmp | ||
28 | else | ||
29 | ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -f Makefile.ssl $@ | ||
30 | ${PERL} $TOP/util/clean-depend.pl < Makefile.ssl > Makefile.new | ||
31 | fi | ||
32 | mv Makefile.new Makefile.ssl | ||
33 | # unfake the presence of Kerberos | ||
34 | rm $TOP/krb5.h | ||
diff --git a/src/lib/libcrypto/util/err-ins.pl b/src/lib/libcrypto/util/err-ins.pl new file mode 100644 index 0000000000..31b70df8d0 --- /dev/null +++ b/src/lib/libcrypto/util/err-ins.pl | |||
@@ -0,0 +1,33 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # tack error codes onto the end of a file | ||
4 | # | ||
5 | |||
6 | open(ERR,$ARGV[0]) || die "unable to open error file '$ARGV[0]':$!\n"; | ||
7 | @err=<ERR>; | ||
8 | close(ERR); | ||
9 | |||
10 | open(IN,$ARGV[1]) || die "unable to open header file '$ARGV[1]':$!\n"; | ||
11 | |||
12 | @out=""; | ||
13 | while (<IN>) | ||
14 | { | ||
15 | push(@out,$_); | ||
16 | last if /BEGIN ERROR CODES/; | ||
17 | } | ||
18 | close(IN); | ||
19 | |||
20 | open(OUT,">$ARGV[1]") || die "unable to open header file '$ARGV[1]':$1\n"; | ||
21 | print OUT @out; | ||
22 | print OUT @err; | ||
23 | print OUT <<"EOF"; | ||
24 | |||
25 | #ifdef __cplusplus | ||
26 | } | ||
27 | #endif | ||
28 | #endif | ||
29 | |||
30 | EOF | ||
31 | close(OUT); | ||
32 | |||
33 | |||
diff --git a/src/lib/libcrypto/util/extract-names.pl b/src/lib/libcrypto/util/extract-names.pl new file mode 100644 index 0000000000..35bd6ed843 --- /dev/null +++ b/src/lib/libcrypto/util/extract-names.pl | |||
@@ -0,0 +1,26 @@ | |||
1 | #!/usr/bin/perl | ||
2 | |||
3 | $/ = ""; # Eat a paragraph at once. | ||
4 | while(<STDIN>) { | ||
5 | chop; | ||
6 | s/\n/ /gm; | ||
7 | if (/^=head1 /) { | ||
8 | $name = 0; | ||
9 | } elsif ($name) { | ||
10 | if (/ - /) { | ||
11 | s/ - .*//; | ||
12 | s/,\s+/,/g; | ||
13 | s/\s+,/,/g; | ||
14 | s/^\s+//g; | ||
15 | s/\s+$//g; | ||
16 | s/\s/_/g; | ||
17 | push @words, split ','; | ||
18 | } | ||
19 | } | ||
20 | if (/^=head1 *NAME *$/) { | ||
21 | $name = 1; | ||
22 | } | ||
23 | } | ||
24 | |||
25 | print join("\n", @words),"\n"; | ||
26 | |||
diff --git a/src/lib/libcrypto/util/files.pl b/src/lib/libcrypto/util/files.pl new file mode 100644 index 0000000000..41f033e3b9 --- /dev/null +++ b/src/lib/libcrypto/util/files.pl | |||
@@ -0,0 +1,61 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # used to generate the file MINFO for use by util/mk1mf.pl | ||
4 | # It is basically a list of all variables from the passed makefile | ||
5 | # | ||
6 | |||
7 | $s=""; | ||
8 | while (<>) | ||
9 | { | ||
10 | chop; | ||
11 | s/#.*//; | ||
12 | if (/^(\S+)\s*=\s*(.*)$/) | ||
13 | { | ||
14 | $o=""; | ||
15 | ($s,$b)=($1,$2); | ||
16 | for (;;) | ||
17 | { | ||
18 | if ($b =~ /\\$/) | ||
19 | { | ||
20 | chop($b); | ||
21 | $o.=$b." "; | ||
22 | $b=<>; | ||
23 | chop($b); | ||
24 | } | ||
25 | else | ||
26 | { | ||
27 | $o.=$b." "; | ||
28 | last; | ||
29 | } | ||
30 | } | ||
31 | $o =~ s/^\s+//; | ||
32 | $o =~ s/\s+$//; | ||
33 | $o =~ s/\s+/ /g; | ||
34 | |||
35 | $o =~ s/\$[({]([^)}]+)[)}]/$sym{$1}/g; | ||
36 | $sym{$s}=$o; | ||
37 | } | ||
38 | } | ||
39 | |||
40 | $pwd=`pwd`; chop($pwd); | ||
41 | |||
42 | if ($sym{'TOP'} eq ".") | ||
43 | { | ||
44 | $n=0; | ||
45 | $dir="."; | ||
46 | } | ||
47 | else { | ||
48 | $n=split(/\//,$sym{'TOP'}); | ||
49 | @_=split(/\//,$pwd); | ||
50 | $z=$#_-$n+1; | ||
51 | foreach $i ($z .. $#_) { $dir.=$_[$i]."/"; } | ||
52 | chop($dir); | ||
53 | } | ||
54 | |||
55 | print "RELATIVE_DIRECTORY=$dir\n"; | ||
56 | |||
57 | foreach (sort keys %sym) | ||
58 | { | ||
59 | print "$_=$sym{$_}\n"; | ||
60 | } | ||
61 | print "RELATIVE_DIRECTORY=\n"; | ||
diff --git a/src/lib/libcrypto/util/fixNT.sh b/src/lib/libcrypto/util/fixNT.sh new file mode 100644 index 0000000000..ab9e766b86 --- /dev/null +++ b/src/lib/libcrypto/util/fixNT.sh | |||
@@ -0,0 +1,14 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # clean up the mess that NT makes of my source tree | ||
4 | # | ||
5 | |||
6 | if [ -f makefile -a ! -f Makefile ]; then | ||
7 | /bin/mv makefile Makefile | ||
8 | fi | ||
9 | chmod +x Configure util/* | ||
10 | echo cleaning | ||
11 | /bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null | ||
12 | echo 'removing those damn ^M' | ||
13 | perl -pi -e 's/\015//' `find . -type 'f' -print |grep -v '.obj$' |grep -v '.der$' |grep -v '.gz'` | ||
14 | make -f Makefile links | ||
diff --git a/src/lib/libcrypto/util/install.sh b/src/lib/libcrypto/util/install.sh new file mode 100644 index 0000000000..e1d0c982df --- /dev/null +++ b/src/lib/libcrypto/util/install.sh | |||
@@ -0,0 +1,108 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # install - install a program, script, or datafile | ||
4 | # This comes from X11R5; it is not part of GNU. | ||
5 | # | ||
6 | # $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $ | ||
7 | # | ||
8 | # This script is compatible with the BSD install script, but was written | ||
9 | # from scratch. | ||
10 | # | ||
11 | |||
12 | |||
13 | # set DOITPROG to echo to test this script | ||
14 | |||
15 | doit="${DOITPROG:-}" | ||
16 | |||
17 | |||
18 | # put in absolute paths if you don't have them in your path; or use env. vars. | ||
19 | |||
20 | mvprog="${MVPROG:-mv}" | ||
21 | cpprog="${CPPROG:-cp}" | ||
22 | chmodprog="${CHMODPROG:-chmod}" | ||
23 | chownprog="${CHOWNPROG:-chown}" | ||
24 | chgrpprog="${CHGRPPROG:-chgrp}" | ||
25 | stripprog="${STRIPPROG:-strip}" | ||
26 | rmprog="${RMPROG:-rm}" | ||
27 | |||
28 | instcmd="$mvprog" | ||
29 | chmodcmd="" | ||
30 | chowncmd="" | ||
31 | chgrpcmd="" | ||
32 | stripcmd="" | ||
33 | rmcmd="$rmprog -f" | ||
34 | src="" | ||
35 | dst="" | ||
36 | |||
37 | while [ x"$1" != x ]; do | ||
38 | case $1 in | ||
39 | -c) instcmd="$cpprog" | ||
40 | shift | ||
41 | continue;; | ||
42 | |||
43 | -m) chmodcmd="$chmodprog $2" | ||
44 | shift | ||
45 | shift | ||
46 | continue;; | ||
47 | |||
48 | -o) chowncmd="$chownprog $2" | ||
49 | shift | ||
50 | shift | ||
51 | continue;; | ||
52 | |||
53 | -g) chgrpcmd="$chgrpprog $2" | ||
54 | shift | ||
55 | shift | ||
56 | continue;; | ||
57 | |||
58 | -s) stripcmd="$stripprog" | ||
59 | shift | ||
60 | continue;; | ||
61 | |||
62 | *) if [ x"$src" = x ] | ||
63 | then | ||
64 | src=$1 | ||
65 | else | ||
66 | dst=$1 | ||
67 | fi | ||
68 | shift | ||
69 | continue;; | ||
70 | esac | ||
71 | done | ||
72 | |||
73 | if [ x"$src" = x ] | ||
74 | then | ||
75 | echo "install: no input file specified" | ||
76 | exit 1 | ||
77 | fi | ||
78 | |||
79 | if [ x"$dst" = x ] | ||
80 | then | ||
81 | echo "install: no destination specified" | ||
82 | exit 1 | ||
83 | fi | ||
84 | |||
85 | |||
86 | # if destination is a directory, append the input filename; if your system | ||
87 | # does not like double slashes in filenames, you may need to add some logic | ||
88 | |||
89 | if [ -d $dst ] | ||
90 | then | ||
91 | dst="$dst"/`basename $src` | ||
92 | fi | ||
93 | |||
94 | |||
95 | # get rid of the old one and mode the new one in | ||
96 | |||
97 | $doit $rmcmd $dst | ||
98 | $doit $instcmd $src $dst | ||
99 | |||
100 | |||
101 | # and set any options; do chmod last to preserve setuid bits | ||
102 | |||
103 | if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; fi | ||
104 | if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; fi | ||
105 | if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; fi | ||
106 | if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; fi | ||
107 | |||
108 | exit 0 | ||
diff --git a/src/lib/libcrypto/util/libeay.num b/src/lib/libcrypto/util/libeay.num new file mode 100644 index 0000000000..203c7713e7 --- /dev/null +++ b/src/lib/libcrypto/util/libeay.num | |||
@@ -0,0 +1,2805 @@ | |||
1 | SSLeay 1 EXIST::FUNCTION: | ||
2 | SSLeay_version 2 EXIST::FUNCTION: | ||
3 | ASN1_BIT_STRING_asn1_meth 3 EXIST::FUNCTION: | ||
4 | ASN1_HEADER_free 4 EXIST::FUNCTION: | ||
5 | ASN1_HEADER_new 5 EXIST::FUNCTION: | ||
6 | ASN1_IA5STRING_asn1_meth 6 EXIST::FUNCTION: | ||
7 | ASN1_INTEGER_get 7 EXIST::FUNCTION: | ||
8 | ASN1_INTEGER_set 8 EXIST::FUNCTION: | ||
9 | ASN1_INTEGER_to_BN 9 EXIST::FUNCTION: | ||
10 | ASN1_OBJECT_create 10 EXIST::FUNCTION: | ||
11 | ASN1_OBJECT_free 11 EXIST::FUNCTION: | ||
12 | ASN1_OBJECT_new 12 EXIST::FUNCTION: | ||
13 | ASN1_PRINTABLE_type 13 EXIST::FUNCTION: | ||
14 | ASN1_STRING_cmp 14 EXIST::FUNCTION: | ||
15 | ASN1_STRING_dup 15 EXIST::FUNCTION: | ||
16 | ASN1_STRING_free 16 EXIST::FUNCTION: | ||
17 | ASN1_STRING_new 17 EXIST::FUNCTION: | ||
18 | ASN1_STRING_print 18 EXIST::FUNCTION:BIO | ||
19 | ASN1_STRING_set 19 EXIST::FUNCTION: | ||
20 | ASN1_STRING_type_new 20 EXIST::FUNCTION: | ||
21 | ASN1_TYPE_free 21 EXIST::FUNCTION: | ||
22 | ASN1_TYPE_new 22 EXIST::FUNCTION: | ||
23 | ASN1_UNIVERSALSTRING_to_string 23 EXIST::FUNCTION: | ||
24 | ASN1_UTCTIME_check 24 EXIST::FUNCTION: | ||
25 | ASN1_UTCTIME_print 25 EXIST::FUNCTION:BIO | ||
26 | ASN1_UTCTIME_set 26 EXIST::FUNCTION: | ||
27 | ASN1_check_infinite_end 27 EXIST::FUNCTION: | ||
28 | ASN1_d2i_bio 28 EXIST::FUNCTION:BIO | ||
29 | ASN1_d2i_fp 29 EXIST::FUNCTION:FP_API | ||
30 | ASN1_digest 30 EXIST::FUNCTION:EVP | ||
31 | ASN1_dup 31 EXIST::FUNCTION: | ||
32 | ASN1_get_object 32 EXIST::FUNCTION: | ||
33 | ASN1_i2d_bio 33 EXIST::FUNCTION:BIO | ||
34 | ASN1_i2d_fp 34 EXIST::FUNCTION:FP_API | ||
35 | ASN1_object_size 35 EXIST::FUNCTION: | ||
36 | ASN1_parse 36 EXIST::FUNCTION:BIO | ||
37 | ASN1_put_object 37 EXIST::FUNCTION: | ||
38 | ASN1_sign 38 EXIST::FUNCTION:EVP | ||
39 | ASN1_verify 39 EXIST::FUNCTION:EVP | ||
40 | BF_cbc_encrypt 40 EXIST::FUNCTION:BF | ||
41 | BF_cfb64_encrypt 41 EXIST::FUNCTION:BF | ||
42 | BF_ecb_encrypt 42 EXIST::FUNCTION:BF | ||
43 | BF_encrypt 43 EXIST::FUNCTION:BF | ||
44 | BF_ofb64_encrypt 44 EXIST::FUNCTION:BF | ||
45 | BF_options 45 EXIST::FUNCTION:BF | ||
46 | BF_set_key 46 EXIST::FUNCTION:BF | ||
47 | BIO_CONNECT_free 47 NOEXIST::FUNCTION: | ||
48 | BIO_CONNECT_new 48 NOEXIST::FUNCTION: | ||
49 | BIO_accept 51 EXIST::FUNCTION: | ||
50 | BIO_ctrl 52 EXIST::FUNCTION: | ||
51 | BIO_int_ctrl 53 EXIST::FUNCTION: | ||
52 | BIO_debug_callback 54 EXIST::FUNCTION: | ||
53 | BIO_dump 55 EXIST::FUNCTION: | ||
54 | BIO_dup_chain 56 EXIST::FUNCTION: | ||
55 | BIO_f_base64 57 EXIST::FUNCTION:BIO | ||
56 | BIO_f_buffer 58 EXIST::FUNCTION: | ||
57 | BIO_f_cipher 59 EXIST::FUNCTION:BIO | ||
58 | BIO_f_md 60 EXIST::FUNCTION:BIO | ||
59 | BIO_f_null 61 EXIST::FUNCTION: | ||
60 | BIO_f_proxy_server 62 NOEXIST::FUNCTION: | ||
61 | BIO_fd_non_fatal_error 63 EXIST::FUNCTION: | ||
62 | BIO_fd_should_retry 64 EXIST::FUNCTION: | ||
63 | BIO_find_type 65 EXIST::FUNCTION: | ||
64 | BIO_free 66 EXIST::FUNCTION: | ||
65 | BIO_free_all 67 EXIST::FUNCTION: | ||
66 | BIO_get_accept_socket 69 EXIST::FUNCTION: | ||
67 | BIO_get_filter_bio 70 NOEXIST::FUNCTION: | ||
68 | BIO_get_host_ip 71 EXIST::FUNCTION: | ||
69 | BIO_get_port 72 EXIST::FUNCTION: | ||
70 | BIO_get_retry_BIO 73 EXIST::FUNCTION: | ||
71 | BIO_get_retry_reason 74 EXIST::FUNCTION: | ||
72 | BIO_gethostbyname 75 EXIST::FUNCTION: | ||
73 | BIO_gets 76 EXIST::FUNCTION: | ||
74 | BIO_new 78 EXIST::FUNCTION: | ||
75 | BIO_new_accept 79 EXIST::FUNCTION: | ||
76 | BIO_new_connect 80 EXIST::FUNCTION: | ||
77 | BIO_new_fd 81 EXIST::FUNCTION: | ||
78 | BIO_new_file 82 EXIST:!WIN16:FUNCTION:FP_API | ||
79 | BIO_new_fp 83 EXIST:!WIN16:FUNCTION:FP_API | ||
80 | BIO_new_socket 84 EXIST::FUNCTION: | ||
81 | BIO_pop 85 EXIST::FUNCTION: | ||
82 | BIO_printf 86 EXIST::FUNCTION: | ||
83 | BIO_push 87 EXIST::FUNCTION: | ||
84 | BIO_puts 88 EXIST::FUNCTION: | ||
85 | BIO_read 89 EXIST::FUNCTION: | ||
86 | BIO_s_accept 90 EXIST::FUNCTION: | ||
87 | BIO_s_connect 91 EXIST::FUNCTION: | ||
88 | BIO_s_fd 92 EXIST::FUNCTION: | ||
89 | BIO_s_file 93 EXIST:!WIN16:FUNCTION:FP_API | ||
90 | BIO_s_mem 95 EXIST::FUNCTION: | ||
91 | BIO_s_null 96 EXIST::FUNCTION: | ||
92 | BIO_s_proxy_client 97 NOEXIST::FUNCTION: | ||
93 | BIO_s_socket 98 EXIST::FUNCTION: | ||
94 | BIO_set 100 EXIST::FUNCTION: | ||
95 | BIO_set_cipher 101 EXIST::FUNCTION:BIO | ||
96 | BIO_set_tcp_ndelay 102 EXIST::FUNCTION: | ||
97 | BIO_sock_cleanup 103 EXIST::FUNCTION: | ||
98 | BIO_sock_error 104 EXIST::FUNCTION: | ||
99 | BIO_sock_init 105 EXIST::FUNCTION: | ||
100 | BIO_sock_non_fatal_error 106 EXIST::FUNCTION: | ||
101 | BIO_sock_should_retry 107 EXIST::FUNCTION: | ||
102 | BIO_socket_ioctl 108 EXIST::FUNCTION: | ||
103 | BIO_write 109 EXIST::FUNCTION: | ||
104 | BN_CTX_free 110 EXIST::FUNCTION: | ||
105 | BN_CTX_new 111 EXIST::FUNCTION: | ||
106 | BN_MONT_CTX_free 112 EXIST::FUNCTION: | ||
107 | BN_MONT_CTX_new 113 EXIST::FUNCTION: | ||
108 | BN_MONT_CTX_set 114 EXIST::FUNCTION: | ||
109 | BN_add 115 EXIST::FUNCTION: | ||
110 | BN_add_word 116 EXIST::FUNCTION: | ||
111 | BN_hex2bn 117 EXIST::FUNCTION: | ||
112 | BN_bin2bn 118 EXIST::FUNCTION: | ||
113 | BN_bn2hex 119 EXIST::FUNCTION: | ||
114 | BN_bn2bin 120 EXIST::FUNCTION: | ||
115 | BN_clear 121 EXIST::FUNCTION: | ||
116 | BN_clear_bit 122 EXIST::FUNCTION: | ||
117 | BN_clear_free 123 EXIST::FUNCTION: | ||
118 | BN_cmp 124 EXIST::FUNCTION: | ||
119 | BN_copy 125 EXIST::FUNCTION: | ||
120 | BN_div 126 EXIST::FUNCTION: | ||
121 | BN_div_word 127 EXIST::FUNCTION: | ||
122 | BN_dup 128 EXIST::FUNCTION: | ||
123 | BN_free 129 EXIST::FUNCTION: | ||
124 | BN_from_montgomery 130 EXIST::FUNCTION: | ||
125 | BN_gcd 131 EXIST::FUNCTION: | ||
126 | BN_generate_prime 132 EXIST::FUNCTION: | ||
127 | BN_get_word 133 EXIST::FUNCTION: | ||
128 | BN_is_bit_set 134 EXIST::FUNCTION: | ||
129 | BN_is_prime 135 EXIST::FUNCTION: | ||
130 | BN_lshift 136 EXIST::FUNCTION: | ||
131 | BN_lshift1 137 EXIST::FUNCTION: | ||
132 | BN_mask_bits 138 EXIST::FUNCTION: | ||
133 | BN_mod 139 NOEXIST::FUNCTION: | ||
134 | BN_mod_exp 140 EXIST::FUNCTION: | ||
135 | BN_mod_exp_mont 141 EXIST::FUNCTION: | ||
136 | BN_mod_exp_simple 143 EXIST::FUNCTION: | ||
137 | BN_mod_inverse 144 EXIST::FUNCTION: | ||
138 | BN_mod_mul 145 EXIST::FUNCTION: | ||
139 | BN_mod_mul_montgomery 146 EXIST::FUNCTION: | ||
140 | BN_mod_word 148 EXIST::FUNCTION: | ||
141 | BN_mul 149 EXIST::FUNCTION: | ||
142 | BN_new 150 EXIST::FUNCTION: | ||
143 | BN_num_bits 151 EXIST::FUNCTION: | ||
144 | BN_num_bits_word 152 EXIST::FUNCTION: | ||
145 | BN_options 153 EXIST::FUNCTION: | ||
146 | BN_print 154 EXIST::FUNCTION: | ||
147 | BN_print_fp 155 EXIST::FUNCTION:FP_API | ||
148 | BN_rand 156 EXIST::FUNCTION: | ||
149 | BN_reciprocal 157 EXIST::FUNCTION: | ||
150 | BN_rshift 158 EXIST::FUNCTION: | ||
151 | BN_rshift1 159 EXIST::FUNCTION: | ||
152 | BN_set_bit 160 EXIST::FUNCTION: | ||
153 | BN_set_word 161 EXIST::FUNCTION: | ||
154 | BN_sqr 162 EXIST::FUNCTION: | ||
155 | BN_sub 163 EXIST::FUNCTION: | ||
156 | BN_to_ASN1_INTEGER 164 EXIST::FUNCTION: | ||
157 | BN_ucmp 165 EXIST::FUNCTION: | ||
158 | BN_value_one 166 EXIST::FUNCTION: | ||
159 | BUF_MEM_free 167 EXIST::FUNCTION: | ||
160 | BUF_MEM_grow 168 EXIST::FUNCTION: | ||
161 | BUF_MEM_new 169 EXIST::FUNCTION: | ||
162 | BUF_strdup 170 EXIST::FUNCTION: | ||
163 | CONF_free 171 EXIST::FUNCTION: | ||
164 | CONF_get_number 172 EXIST::FUNCTION: | ||
165 | CONF_get_section 173 EXIST::FUNCTION: | ||
166 | CONF_get_string 174 EXIST::FUNCTION: | ||
167 | CONF_load 175 EXIST::FUNCTION: | ||
168 | CRYPTO_add_lock 176 EXIST::FUNCTION: | ||
169 | CRYPTO_dbg_free 177 EXIST::FUNCTION: | ||
170 | CRYPTO_dbg_malloc 178 EXIST::FUNCTION: | ||
171 | CRYPTO_dbg_realloc 179 EXIST::FUNCTION: | ||
172 | CRYPTO_dbg_remalloc 180 NOEXIST::FUNCTION: | ||
173 | CRYPTO_free 181 EXIST::FUNCTION: | ||
174 | CRYPTO_get_add_lock_callback 182 EXIST::FUNCTION: | ||
175 | CRYPTO_get_id_callback 183 EXIST::FUNCTION: | ||
176 | CRYPTO_get_lock_name 184 EXIST::FUNCTION: | ||
177 | CRYPTO_get_locking_callback 185 EXIST::FUNCTION: | ||
178 | CRYPTO_get_mem_functions 186 EXIST::FUNCTION: | ||
179 | CRYPTO_lock 187 EXIST::FUNCTION: | ||
180 | CRYPTO_malloc 188 EXIST::FUNCTION: | ||
181 | CRYPTO_mem_ctrl 189 EXIST::FUNCTION: | ||
182 | CRYPTO_mem_leaks 190 EXIST::FUNCTION: | ||
183 | CRYPTO_mem_leaks_cb 191 EXIST::FUNCTION: | ||
184 | CRYPTO_mem_leaks_fp 192 EXIST::FUNCTION:FP_API | ||
185 | CRYPTO_realloc 193 EXIST::FUNCTION: | ||
186 | CRYPTO_remalloc 194 EXIST::FUNCTION: | ||
187 | CRYPTO_set_add_lock_callback 195 EXIST::FUNCTION: | ||
188 | CRYPTO_set_id_callback 196 EXIST::FUNCTION: | ||
189 | CRYPTO_set_locking_callback 197 EXIST::FUNCTION: | ||
190 | CRYPTO_set_mem_functions 198 EXIST::FUNCTION: | ||
191 | CRYPTO_thread_id 199 EXIST::FUNCTION: | ||
192 | DH_check 200 EXIST::FUNCTION:DH | ||
193 | DH_compute_key 201 EXIST::FUNCTION:DH | ||
194 | DH_free 202 EXIST::FUNCTION:DH | ||
195 | DH_generate_key 203 EXIST::FUNCTION:DH | ||
196 | DH_generate_parameters 204 EXIST::FUNCTION:DH | ||
197 | DH_new 205 EXIST::FUNCTION:DH | ||
198 | DH_size 206 EXIST::FUNCTION:DH | ||
199 | DHparams_print 207 EXIST::FUNCTION:BIO,DH | ||
200 | DHparams_print_fp 208 EXIST::FUNCTION:DH,FP_API | ||
201 | DSA_free 209 EXIST::FUNCTION:DSA | ||
202 | DSA_generate_key 210 EXIST::FUNCTION:DSA | ||
203 | DSA_generate_parameters 211 EXIST::FUNCTION:DSA | ||
204 | DSA_is_prime 212 NOEXIST::FUNCTION: | ||
205 | DSA_new 213 EXIST::FUNCTION:DSA | ||
206 | DSA_print 214 EXIST::FUNCTION:BIO,DSA | ||
207 | DSA_print_fp 215 EXIST::FUNCTION:DSA,FP_API | ||
208 | DSA_sign 216 EXIST::FUNCTION:DSA | ||
209 | DSA_sign_setup 217 EXIST::FUNCTION:DSA | ||
210 | DSA_size 218 EXIST::FUNCTION:DSA | ||
211 | DSA_verify 219 EXIST::FUNCTION:DSA | ||
212 | DSAparams_print 220 EXIST::FUNCTION:BIO,DSA | ||
213 | DSAparams_print_fp 221 EXIST::FUNCTION:DSA,FP_API | ||
214 | ERR_clear_error 222 EXIST::FUNCTION: | ||
215 | ERR_error_string 223 EXIST::FUNCTION: | ||
216 | ERR_free_strings 224 EXIST::FUNCTION: | ||
217 | ERR_func_error_string 225 EXIST::FUNCTION: | ||
218 | ERR_get_err_state_table 226 EXIST::FUNCTION:LHASH | ||
219 | ERR_get_error 227 EXIST::FUNCTION: | ||
220 | ERR_get_error_line 228 EXIST::FUNCTION: | ||
221 | ERR_get_state 229 EXIST::FUNCTION: | ||
222 | ERR_get_string_table 230 EXIST::FUNCTION:LHASH | ||
223 | ERR_lib_error_string 231 EXIST::FUNCTION: | ||
224 | ERR_load_ASN1_strings 232 EXIST::FUNCTION: | ||
225 | ERR_load_BIO_strings 233 EXIST::FUNCTION: | ||
226 | ERR_load_BN_strings 234 EXIST::FUNCTION: | ||
227 | ERR_load_BUF_strings 235 EXIST::FUNCTION: | ||
228 | ERR_load_CONF_strings 236 EXIST::FUNCTION: | ||
229 | ERR_load_DH_strings 237 EXIST::FUNCTION:DH | ||
230 | ERR_load_DSA_strings 238 EXIST::FUNCTION:DSA | ||
231 | ERR_load_ERR_strings 239 EXIST::FUNCTION: | ||
232 | ERR_load_EVP_strings 240 EXIST::FUNCTION: | ||
233 | ERR_load_OBJ_strings 241 EXIST::FUNCTION: | ||
234 | ERR_load_PEM_strings 242 EXIST::FUNCTION: | ||
235 | ERR_load_PROXY_strings 243 NOEXIST::FUNCTION: | ||
236 | ERR_load_RSA_strings 244 EXIST::FUNCTION:RSA | ||
237 | ERR_load_X509_strings 245 EXIST::FUNCTION: | ||
238 | ERR_load_crypto_strings 246 EXIST::FUNCTION: | ||
239 | ERR_load_strings 247 EXIST::FUNCTION: | ||
240 | ERR_peek_error 248 EXIST::FUNCTION: | ||
241 | ERR_peek_error_line 249 EXIST::FUNCTION: | ||
242 | ERR_print_errors 250 EXIST::FUNCTION:BIO | ||
243 | ERR_print_errors_fp 251 EXIST::FUNCTION:FP_API | ||
244 | ERR_put_error 252 EXIST::FUNCTION: | ||
245 | ERR_reason_error_string 253 EXIST::FUNCTION: | ||
246 | ERR_remove_state 254 EXIST::FUNCTION: | ||
247 | EVP_BytesToKey 255 EXIST::FUNCTION: | ||
248 | EVP_CIPHER_CTX_cleanup 256 EXIST::FUNCTION: | ||
249 | EVP_CipherFinal 257 EXIST::FUNCTION: | ||
250 | EVP_CipherInit 258 EXIST::FUNCTION: | ||
251 | EVP_CipherUpdate 259 EXIST::FUNCTION: | ||
252 | EVP_DecodeBlock 260 EXIST::FUNCTION: | ||
253 | EVP_DecodeFinal 261 EXIST::FUNCTION: | ||
254 | EVP_DecodeInit 262 EXIST::FUNCTION: | ||
255 | EVP_DecodeUpdate 263 EXIST::FUNCTION: | ||
256 | EVP_DecryptFinal 264 EXIST::FUNCTION: | ||
257 | EVP_DecryptInit 265 EXIST::FUNCTION: | ||
258 | EVP_DecryptUpdate 266 EXIST::FUNCTION: | ||
259 | EVP_DigestFinal 267 EXIST::FUNCTION: | ||
260 | EVP_DigestInit 268 EXIST::FUNCTION: | ||
261 | EVP_DigestUpdate 269 EXIST::FUNCTION: | ||
262 | EVP_EncodeBlock 270 EXIST::FUNCTION: | ||
263 | EVP_EncodeFinal 271 EXIST::FUNCTION: | ||
264 | EVP_EncodeInit 272 EXIST::FUNCTION: | ||
265 | EVP_EncodeUpdate 273 EXIST::FUNCTION: | ||
266 | EVP_EncryptFinal 274 EXIST::FUNCTION: | ||
267 | EVP_EncryptInit 275 EXIST::FUNCTION: | ||
268 | EVP_EncryptUpdate 276 EXIST::FUNCTION: | ||
269 | EVP_OpenFinal 277 EXIST::FUNCTION:RSA | ||
270 | EVP_OpenInit 278 EXIST::FUNCTION:RSA | ||
271 | EVP_PKEY_assign 279 EXIST::FUNCTION: | ||
272 | EVP_PKEY_copy_parameters 280 EXIST::FUNCTION: | ||
273 | EVP_PKEY_free 281 EXIST::FUNCTION: | ||
274 | EVP_PKEY_missing_parameters 282 EXIST::FUNCTION: | ||
275 | EVP_PKEY_new 283 EXIST::FUNCTION: | ||
276 | EVP_PKEY_save_parameters 284 EXIST::FUNCTION: | ||
277 | EVP_PKEY_size 285 EXIST::FUNCTION: | ||
278 | EVP_PKEY_type 286 EXIST::FUNCTION: | ||
279 | EVP_SealFinal 287 EXIST::FUNCTION:RSA | ||
280 | EVP_SealInit 288 EXIST::FUNCTION:RSA | ||
281 | EVP_SignFinal 289 EXIST::FUNCTION: | ||
282 | EVP_VerifyFinal 290 EXIST::FUNCTION: | ||
283 | EVP_add_alias 291 NOEXIST::FUNCTION: | ||
284 | EVP_add_cipher 292 EXIST::FUNCTION: | ||
285 | EVP_add_digest 293 EXIST::FUNCTION: | ||
286 | EVP_bf_cbc 294 EXIST::FUNCTION:BF | ||
287 | EVP_bf_cfb 295 EXIST::FUNCTION:BF | ||
288 | EVP_bf_ecb 296 EXIST::FUNCTION:BF | ||
289 | EVP_bf_ofb 297 EXIST::FUNCTION:BF | ||
290 | EVP_cleanup 298 EXIST::FUNCTION: | ||
291 | EVP_des_cbc 299 EXIST::FUNCTION:DES | ||
292 | EVP_des_cfb 300 EXIST::FUNCTION:DES | ||
293 | EVP_des_ecb 301 EXIST::FUNCTION:DES | ||
294 | EVP_des_ede 302 EXIST::FUNCTION:DES | ||
295 | EVP_des_ede3 303 EXIST::FUNCTION:DES | ||
296 | EVP_des_ede3_cbc 304 EXIST::FUNCTION:DES | ||
297 | EVP_des_ede3_cfb 305 EXIST::FUNCTION:DES | ||
298 | EVP_des_ede3_ofb 306 EXIST::FUNCTION:DES | ||
299 | EVP_des_ede_cbc 307 EXIST::FUNCTION:DES | ||
300 | EVP_des_ede_cfb 308 EXIST::FUNCTION:DES | ||
301 | EVP_des_ede_ofb 309 EXIST::FUNCTION:DES | ||
302 | EVP_des_ofb 310 EXIST::FUNCTION:DES | ||
303 | EVP_desx_cbc 311 EXIST::FUNCTION:DES | ||
304 | EVP_dss 312 EXIST::FUNCTION:DSA,SHA | ||
305 | EVP_dss1 313 EXIST::FUNCTION:DSA,SHA | ||
306 | EVP_enc_null 314 EXIST::FUNCTION: | ||
307 | EVP_get_cipherbyname 315 EXIST::FUNCTION: | ||
308 | EVP_get_digestbyname 316 EXIST::FUNCTION: | ||
309 | EVP_get_pw_prompt 317 EXIST::FUNCTION: | ||
310 | EVP_idea_cbc 318 EXIST::FUNCTION:IDEA | ||
311 | EVP_idea_cfb 319 EXIST::FUNCTION:IDEA | ||
312 | EVP_idea_ecb 320 EXIST::FUNCTION:IDEA | ||
313 | EVP_idea_ofb 321 EXIST::FUNCTION:IDEA | ||
314 | EVP_md2 322 EXIST::FUNCTION:MD2 | ||
315 | EVP_md5 323 EXIST::FUNCTION:MD5 | ||
316 | EVP_md_null 324 EXIST::FUNCTION: | ||
317 | EVP_rc2_cbc 325 EXIST::FUNCTION:RC2 | ||
318 | EVP_rc2_cfb 326 EXIST::FUNCTION:RC2 | ||
319 | EVP_rc2_ecb 327 EXIST::FUNCTION:RC2 | ||
320 | EVP_rc2_ofb 328 EXIST::FUNCTION:RC2 | ||
321 | EVP_rc4 329 EXIST::FUNCTION:RC4 | ||
322 | EVP_read_pw_string 330 EXIST::FUNCTION: | ||
323 | EVP_set_pw_prompt 331 EXIST::FUNCTION: | ||
324 | EVP_sha 332 EXIST::FUNCTION:SHA | ||
325 | EVP_sha1 333 EXIST::FUNCTION:SHA | ||
326 | MD2 334 EXIST::FUNCTION:MD2 | ||
327 | MD2_Final 335 EXIST::FUNCTION:MD2 | ||
328 | MD2_Init 336 EXIST::FUNCTION:MD2 | ||
329 | MD2_Update 337 EXIST::FUNCTION:MD2 | ||
330 | MD2_options 338 EXIST::FUNCTION:MD2 | ||
331 | MD5 339 EXIST::FUNCTION:MD5 | ||
332 | MD5_Final 340 EXIST::FUNCTION:MD5 | ||
333 | MD5_Init 341 EXIST::FUNCTION:MD5 | ||
334 | MD5_Update 342 EXIST::FUNCTION:MD5 | ||
335 | MDC2 343 EXIST::FUNCTION:MDC2 | ||
336 | MDC2_Final 344 EXIST::FUNCTION:MDC2 | ||
337 | MDC2_Init 345 EXIST::FUNCTION:MDC2 | ||
338 | MDC2_Update 346 EXIST::FUNCTION:MDC2 | ||
339 | NETSCAPE_SPKAC_free 347 EXIST::FUNCTION: | ||
340 | NETSCAPE_SPKAC_new 348 EXIST::FUNCTION: | ||
341 | NETSCAPE_SPKI_free 349 EXIST::FUNCTION: | ||
342 | NETSCAPE_SPKI_new 350 EXIST::FUNCTION: | ||
343 | NETSCAPE_SPKI_sign 351 EXIST::FUNCTION:EVP | ||
344 | NETSCAPE_SPKI_verify 352 EXIST::FUNCTION:EVP | ||
345 | OBJ_add_object 353 EXIST::FUNCTION: | ||
346 | OBJ_bsearch 354 EXIST::FUNCTION: | ||
347 | OBJ_cleanup 355 EXIST::FUNCTION: | ||
348 | OBJ_cmp 356 EXIST::FUNCTION: | ||
349 | OBJ_create 357 EXIST::FUNCTION: | ||
350 | OBJ_dup 358 EXIST::FUNCTION: | ||
351 | OBJ_ln2nid 359 EXIST::FUNCTION: | ||
352 | OBJ_new_nid 360 EXIST::FUNCTION: | ||
353 | OBJ_nid2ln 361 EXIST::FUNCTION: | ||
354 | OBJ_nid2obj 362 EXIST::FUNCTION: | ||
355 | OBJ_nid2sn 363 EXIST::FUNCTION: | ||
356 | OBJ_obj2nid 364 EXIST::FUNCTION: | ||
357 | OBJ_sn2nid 365 EXIST::FUNCTION: | ||
358 | OBJ_txt2nid 366 EXIST::FUNCTION: | ||
359 | PEM_ASN1_read 367 EXIST:!WIN16:FUNCTION: | ||
360 | PEM_ASN1_read_bio 368 EXIST::FUNCTION:BIO | ||
361 | PEM_ASN1_write 369 EXIST:!WIN16:FUNCTION: | ||
362 | PEM_ASN1_write_bio 370 EXIST::FUNCTION:BIO | ||
363 | PEM_SealFinal 371 EXIST::FUNCTION:RSA | ||
364 | PEM_SealInit 372 EXIST::FUNCTION:RSA | ||
365 | PEM_SealUpdate 373 EXIST::FUNCTION:RSA | ||
366 | PEM_SignFinal 374 EXIST::FUNCTION: | ||
367 | PEM_SignInit 375 EXIST::FUNCTION: | ||
368 | PEM_SignUpdate 376 EXIST::FUNCTION: | ||
369 | PEM_X509_INFO_read 377 EXIST:!WIN16:FUNCTION: | ||
370 | PEM_X509_INFO_read_bio 378 EXIST::FUNCTION:BIO | ||
371 | PEM_X509_INFO_write_bio 379 EXIST::FUNCTION:BIO | ||
372 | PEM_dek_info 380 EXIST::FUNCTION: | ||
373 | PEM_do_header 381 EXIST::FUNCTION: | ||
374 | PEM_get_EVP_CIPHER_INFO 382 EXIST::FUNCTION: | ||
375 | PEM_proc_type 383 EXIST::FUNCTION: | ||
376 | PEM_read 384 EXIST:!WIN16:FUNCTION: | ||
377 | PEM_read_DHparams 385 EXIST:!WIN16:FUNCTION:DH | ||
378 | PEM_read_DSAPrivateKey 386 EXIST:!WIN16:FUNCTION:DSA | ||
379 | PEM_read_DSAparams 387 EXIST:!WIN16:FUNCTION:DSA | ||
380 | PEM_read_PKCS7 388 EXIST:!WIN16:FUNCTION: | ||
381 | PEM_read_PrivateKey 389 EXIST:!WIN16:FUNCTION: | ||
382 | PEM_read_RSAPrivateKey 390 EXIST:!WIN16:FUNCTION:RSA | ||
383 | PEM_read_X509 391 EXIST:!WIN16:FUNCTION: | ||
384 | PEM_read_X509_CRL 392 EXIST:!WIN16:FUNCTION: | ||
385 | PEM_read_X509_REQ 393 EXIST:!WIN16:FUNCTION: | ||
386 | PEM_read_bio 394 EXIST::FUNCTION:BIO | ||
387 | PEM_read_bio_DHparams 395 EXIST::FUNCTION:DH | ||
388 | PEM_read_bio_DSAPrivateKey 396 EXIST::FUNCTION:DSA | ||
389 | PEM_read_bio_DSAparams 397 EXIST::FUNCTION:DSA | ||
390 | PEM_read_bio_PKCS7 398 EXIST::FUNCTION: | ||
391 | PEM_read_bio_PrivateKey 399 EXIST::FUNCTION: | ||
392 | PEM_read_bio_RSAPrivateKey 400 EXIST::FUNCTION:RSA | ||
393 | PEM_read_bio_X509 401 EXIST::FUNCTION: | ||
394 | PEM_read_bio_X509_CRL 402 EXIST::FUNCTION: | ||
395 | PEM_read_bio_X509_REQ 403 EXIST::FUNCTION: | ||
396 | PEM_write 404 EXIST:!WIN16:FUNCTION: | ||
397 | PEM_write_DHparams 405 EXIST:!WIN16:FUNCTION:DH | ||
398 | PEM_write_DSAPrivateKey 406 EXIST:!WIN16:FUNCTION:DSA | ||
399 | PEM_write_DSAparams 407 EXIST:!WIN16:FUNCTION:DSA | ||
400 | PEM_write_PKCS7 408 EXIST:!WIN16:FUNCTION: | ||
401 | PEM_write_PrivateKey 409 EXIST:!WIN16:FUNCTION: | ||
402 | PEM_write_RSAPrivateKey 410 EXIST:!WIN16:FUNCTION:RSA | ||
403 | PEM_write_X509 411 EXIST:!WIN16:FUNCTION: | ||
404 | PEM_write_X509_CRL 412 EXIST:!WIN16:FUNCTION: | ||
405 | PEM_write_X509_REQ 413 EXIST:!WIN16:FUNCTION: | ||
406 | PEM_write_bio 414 EXIST::FUNCTION:BIO | ||
407 | PEM_write_bio_DHparams 415 EXIST::FUNCTION:DH | ||
408 | PEM_write_bio_DSAPrivateKey 416 EXIST::FUNCTION:DSA | ||
409 | PEM_write_bio_DSAparams 417 EXIST::FUNCTION:DSA | ||
410 | PEM_write_bio_PKCS7 418 EXIST::FUNCTION: | ||
411 | PEM_write_bio_PrivateKey 419 EXIST::FUNCTION: | ||
412 | PEM_write_bio_RSAPrivateKey 420 EXIST::FUNCTION:RSA | ||
413 | PEM_write_bio_X509 421 EXIST::FUNCTION: | ||
414 | PEM_write_bio_X509_CRL 422 EXIST::FUNCTION: | ||
415 | PEM_write_bio_X509_REQ 423 EXIST::FUNCTION: | ||
416 | PKCS7_DIGEST_free 424 EXIST::FUNCTION: | ||
417 | PKCS7_DIGEST_new 425 EXIST::FUNCTION: | ||
418 | PKCS7_ENCRYPT_free 426 EXIST::FUNCTION: | ||
419 | PKCS7_ENCRYPT_new 427 EXIST::FUNCTION: | ||
420 | PKCS7_ENC_CONTENT_free 428 EXIST::FUNCTION: | ||
421 | PKCS7_ENC_CONTENT_new 429 EXIST::FUNCTION: | ||
422 | PKCS7_ENVELOPE_free 430 EXIST::FUNCTION: | ||
423 | PKCS7_ENVELOPE_new 431 EXIST::FUNCTION: | ||
424 | PKCS7_ISSUER_AND_SERIAL_digest 432 EXIST::FUNCTION: | ||
425 | PKCS7_ISSUER_AND_SERIAL_free 433 EXIST::FUNCTION: | ||
426 | PKCS7_ISSUER_AND_SERIAL_new 434 EXIST::FUNCTION: | ||
427 | PKCS7_RECIP_INFO_free 435 EXIST::FUNCTION: | ||
428 | PKCS7_RECIP_INFO_new 436 EXIST::FUNCTION: | ||
429 | PKCS7_SIGNED_free 437 EXIST::FUNCTION: | ||
430 | PKCS7_SIGNED_new 438 EXIST::FUNCTION: | ||
431 | PKCS7_SIGNER_INFO_free 439 EXIST::FUNCTION: | ||
432 | PKCS7_SIGNER_INFO_new 440 EXIST::FUNCTION: | ||
433 | PKCS7_SIGN_ENVELOPE_free 441 EXIST::FUNCTION: | ||
434 | PKCS7_SIGN_ENVELOPE_new 442 EXIST::FUNCTION: | ||
435 | PKCS7_dup 443 EXIST::FUNCTION: | ||
436 | PKCS7_free 444 EXIST::FUNCTION: | ||
437 | PKCS7_new 445 EXIST::FUNCTION: | ||
438 | PROXY_ENTRY_add_noproxy 446 NOEXIST::FUNCTION: | ||
439 | PROXY_ENTRY_clear_noproxy 447 NOEXIST::FUNCTION: | ||
440 | PROXY_ENTRY_free 448 NOEXIST::FUNCTION: | ||
441 | PROXY_ENTRY_get_noproxy 449 NOEXIST::FUNCTION: | ||
442 | PROXY_ENTRY_new 450 NOEXIST::FUNCTION: | ||
443 | PROXY_ENTRY_set_server 451 NOEXIST::FUNCTION: | ||
444 | PROXY_add_noproxy 452 NOEXIST::FUNCTION: | ||
445 | PROXY_add_server 453 NOEXIST::FUNCTION: | ||
446 | PROXY_check_by_host 454 NOEXIST::FUNCTION: | ||
447 | PROXY_check_url 455 NOEXIST::FUNCTION: | ||
448 | PROXY_clear_noproxy 456 NOEXIST::FUNCTION: | ||
449 | PROXY_free 457 NOEXIST::FUNCTION: | ||
450 | PROXY_get_noproxy 458 NOEXIST::FUNCTION: | ||
451 | PROXY_get_proxies 459 NOEXIST::FUNCTION: | ||
452 | PROXY_get_proxy_entry 460 NOEXIST::FUNCTION: | ||
453 | PROXY_load_conf 461 NOEXIST::FUNCTION: | ||
454 | PROXY_new 462 NOEXIST::FUNCTION: | ||
455 | PROXY_print 463 NOEXIST::FUNCTION: | ||
456 | RAND_bytes 464 EXIST::FUNCTION: | ||
457 | RAND_cleanup 465 EXIST::FUNCTION: | ||
458 | RAND_file_name 466 EXIST::FUNCTION: | ||
459 | RAND_load_file 467 EXIST::FUNCTION: | ||
460 | RAND_screen 468 EXIST:WIN32:FUNCTION: | ||
461 | RAND_seed 469 EXIST::FUNCTION: | ||
462 | RAND_write_file 470 EXIST::FUNCTION: | ||
463 | RC2_cbc_encrypt 471 EXIST::FUNCTION:RC2 | ||
464 | RC2_cfb64_encrypt 472 EXIST::FUNCTION:RC2 | ||
465 | RC2_ecb_encrypt 473 EXIST::FUNCTION:RC2 | ||
466 | RC2_encrypt 474 EXIST::FUNCTION:RC2 | ||
467 | RC2_ofb64_encrypt 475 EXIST::FUNCTION:RC2 | ||
468 | RC2_set_key 476 EXIST::FUNCTION:RC2 | ||
469 | RC4 477 EXIST::FUNCTION:RC4 | ||
470 | RC4_options 478 EXIST::FUNCTION:RC4 | ||
471 | RC4_set_key 479 EXIST::FUNCTION:RC4 | ||
472 | RSAPrivateKey_asn1_meth 480 EXIST::FUNCTION:RSA | ||
473 | RSAPrivateKey_dup 481 EXIST::FUNCTION:RSA | ||
474 | RSAPublicKey_dup 482 EXIST::FUNCTION:RSA | ||
475 | RSA_PKCS1_SSLeay 483 EXIST::FUNCTION:RSA | ||
476 | RSA_free 484 EXIST::FUNCTION:RSA | ||
477 | RSA_generate_key 485 EXIST::FUNCTION:RSA | ||
478 | RSA_new 486 EXIST::FUNCTION:RSA | ||
479 | RSA_new_method 487 EXIST::FUNCTION:RSA | ||
480 | RSA_print 488 EXIST::FUNCTION:BIO,RSA | ||
481 | RSA_print_fp 489 EXIST::FUNCTION:FP_API,RSA | ||
482 | RSA_private_decrypt 490 EXIST::FUNCTION:RSA | ||
483 | RSA_private_encrypt 491 EXIST::FUNCTION:RSA | ||
484 | RSA_public_decrypt 492 EXIST::FUNCTION:RSA | ||
485 | RSA_public_encrypt 493 EXIST::FUNCTION:RSA | ||
486 | RSA_set_default_method 494 EXIST::FUNCTION:RSA | ||
487 | RSA_sign 495 EXIST::FUNCTION:RSA | ||
488 | RSA_sign_ASN1_OCTET_STRING 496 EXIST::FUNCTION:RSA | ||
489 | RSA_size 497 EXIST::FUNCTION:RSA | ||
490 | RSA_verify 498 EXIST::FUNCTION:RSA | ||
491 | RSA_verify_ASN1_OCTET_STRING 499 EXIST::FUNCTION:RSA | ||
492 | SHA 500 EXIST::FUNCTION:SHA,SHA0 | ||
493 | SHA1 501 EXIST::FUNCTION:SHA,SHA1 | ||
494 | SHA1_Final 502 EXIST::FUNCTION:SHA,SHA1 | ||
495 | SHA1_Init 503 EXIST::FUNCTION:SHA,SHA1 | ||
496 | SHA1_Update 504 EXIST::FUNCTION:SHA,SHA1 | ||
497 | SHA_Final 505 EXIST::FUNCTION:SHA,SHA0 | ||
498 | SHA_Init 506 EXIST::FUNCTION:SHA,SHA0 | ||
499 | SHA_Update 507 EXIST::FUNCTION:SHA,SHA0 | ||
500 | OpenSSL_add_all_algorithms 508 NOEXIST::FUNCTION: | ||
501 | OpenSSL_add_all_ciphers 509 EXIST::FUNCTION: | ||
502 | OpenSSL_add_all_digests 510 EXIST::FUNCTION: | ||
503 | TXT_DB_create_index 511 EXIST::FUNCTION: | ||
504 | TXT_DB_free 512 EXIST::FUNCTION: | ||
505 | TXT_DB_get_by_index 513 EXIST::FUNCTION: | ||
506 | TXT_DB_insert 514 EXIST::FUNCTION: | ||
507 | TXT_DB_read 515 EXIST::FUNCTION:BIO | ||
508 | TXT_DB_write 516 EXIST::FUNCTION:BIO | ||
509 | X509_ALGOR_free 517 EXIST::FUNCTION: | ||
510 | X509_ALGOR_new 518 EXIST::FUNCTION: | ||
511 | X509_ATTRIBUTE_free 519 EXIST::FUNCTION: | ||
512 | X509_ATTRIBUTE_new 520 EXIST::FUNCTION: | ||
513 | X509_CINF_free 521 EXIST::FUNCTION: | ||
514 | X509_CINF_new 522 EXIST::FUNCTION: | ||
515 | X509_CRL_INFO_free 523 EXIST::FUNCTION: | ||
516 | X509_CRL_INFO_new 524 EXIST::FUNCTION: | ||
517 | X509_CRL_add_ext 525 EXIST::FUNCTION: | ||
518 | X509_CRL_cmp 526 EXIST::FUNCTION: | ||
519 | X509_CRL_delete_ext 527 EXIST::FUNCTION: | ||
520 | X509_CRL_dup 528 EXIST::FUNCTION: | ||
521 | X509_CRL_free 529 EXIST::FUNCTION: | ||
522 | X509_CRL_get_ext 530 EXIST::FUNCTION: | ||
523 | X509_CRL_get_ext_by_NID 531 EXIST::FUNCTION: | ||
524 | X509_CRL_get_ext_by_OBJ 532 EXIST::FUNCTION: | ||
525 | X509_CRL_get_ext_by_critical 533 EXIST::FUNCTION: | ||
526 | X509_CRL_get_ext_count 534 EXIST::FUNCTION: | ||
527 | X509_CRL_new 535 EXIST::FUNCTION: | ||
528 | X509_CRL_sign 536 EXIST::FUNCTION:EVP | ||
529 | X509_CRL_verify 537 EXIST::FUNCTION:EVP | ||
530 | X509_EXTENSION_create_by_NID 538 EXIST::FUNCTION: | ||
531 | X509_EXTENSION_create_by_OBJ 539 EXIST::FUNCTION: | ||
532 | X509_EXTENSION_dup 540 EXIST::FUNCTION: | ||
533 | X509_EXTENSION_free 541 EXIST::FUNCTION: | ||
534 | X509_EXTENSION_get_critical 542 EXIST::FUNCTION: | ||
535 | X509_EXTENSION_get_data 543 EXIST::FUNCTION: | ||
536 | X509_EXTENSION_get_object 544 EXIST::FUNCTION: | ||
537 | X509_EXTENSION_new 545 EXIST::FUNCTION: | ||
538 | X509_EXTENSION_set_critical 546 EXIST::FUNCTION: | ||
539 | X509_EXTENSION_set_data 547 EXIST::FUNCTION: | ||
540 | X509_EXTENSION_set_object 548 EXIST::FUNCTION: | ||
541 | X509_INFO_free 549 EXIST::FUNCTION:EVP | ||
542 | X509_INFO_new 550 EXIST::FUNCTION:EVP | ||
543 | X509_LOOKUP_by_alias 551 EXIST::FUNCTION: | ||
544 | X509_LOOKUP_by_fingerprint 552 EXIST::FUNCTION: | ||
545 | X509_LOOKUP_by_issuer_serial 553 EXIST::FUNCTION: | ||
546 | X509_LOOKUP_by_subject 554 EXIST::FUNCTION: | ||
547 | X509_LOOKUP_ctrl 555 EXIST::FUNCTION: | ||
548 | X509_LOOKUP_file 556 EXIST::FUNCTION: | ||
549 | X509_LOOKUP_free 557 EXIST::FUNCTION: | ||
550 | X509_LOOKUP_hash_dir 558 EXIST::FUNCTION: | ||
551 | X509_LOOKUP_init 559 EXIST::FUNCTION: | ||
552 | X509_LOOKUP_new 560 EXIST::FUNCTION: | ||
553 | X509_LOOKUP_shutdown 561 EXIST::FUNCTION: | ||
554 | X509_NAME_ENTRY_create_by_NID 562 EXIST::FUNCTION: | ||
555 | X509_NAME_ENTRY_create_by_OBJ 563 EXIST::FUNCTION: | ||
556 | X509_NAME_ENTRY_dup 564 EXIST::FUNCTION: | ||
557 | X509_NAME_ENTRY_free 565 EXIST::FUNCTION: | ||
558 | X509_NAME_ENTRY_get_data 566 EXIST::FUNCTION: | ||
559 | X509_NAME_ENTRY_get_object 567 EXIST::FUNCTION: | ||
560 | X509_NAME_ENTRY_new 568 EXIST::FUNCTION: | ||
561 | X509_NAME_ENTRY_set_data 569 EXIST::FUNCTION: | ||
562 | X509_NAME_ENTRY_set_object 570 EXIST::FUNCTION: | ||
563 | X509_NAME_add_entry 571 EXIST::FUNCTION: | ||
564 | X509_NAME_cmp 572 EXIST::FUNCTION: | ||
565 | X509_NAME_delete_entry 573 EXIST::FUNCTION: | ||
566 | X509_NAME_digest 574 EXIST::FUNCTION:EVP | ||
567 | X509_NAME_dup 575 EXIST::FUNCTION: | ||
568 | X509_NAME_entry_count 576 EXIST::FUNCTION: | ||
569 | X509_NAME_free 577 EXIST::FUNCTION: | ||
570 | X509_NAME_get_entry 578 EXIST::FUNCTION: | ||
571 | X509_NAME_get_index_by_NID 579 EXIST::FUNCTION: | ||
572 | X509_NAME_get_index_by_OBJ 580 EXIST::FUNCTION: | ||
573 | X509_NAME_get_text_by_NID 581 EXIST::FUNCTION: | ||
574 | X509_NAME_get_text_by_OBJ 582 EXIST::FUNCTION: | ||
575 | X509_NAME_hash 583 EXIST::FUNCTION: | ||
576 | X509_NAME_new 584 EXIST::FUNCTION: | ||
577 | X509_NAME_oneline 585 EXIST::FUNCTION:EVP | ||
578 | X509_NAME_print 586 EXIST::FUNCTION:BIO | ||
579 | X509_NAME_set 587 EXIST::FUNCTION: | ||
580 | X509_OBJECT_free_contents 588 EXIST::FUNCTION: | ||
581 | X509_OBJECT_retrieve_by_subject 589 EXIST::FUNCTION: | ||
582 | X509_OBJECT_up_ref_count 590 EXIST::FUNCTION: | ||
583 | X509_PKEY_free 591 EXIST::FUNCTION: | ||
584 | X509_PKEY_new 592 EXIST::FUNCTION: | ||
585 | X509_PUBKEY_free 593 EXIST::FUNCTION: | ||
586 | X509_PUBKEY_get 594 EXIST::FUNCTION: | ||
587 | X509_PUBKEY_new 595 EXIST::FUNCTION: | ||
588 | X509_PUBKEY_set 596 EXIST::FUNCTION: | ||
589 | X509_REQ_INFO_free 597 EXIST::FUNCTION: | ||
590 | X509_REQ_INFO_new 598 EXIST::FUNCTION: | ||
591 | X509_REQ_dup 599 EXIST::FUNCTION: | ||
592 | X509_REQ_free 600 EXIST::FUNCTION: | ||
593 | X509_REQ_get_pubkey 601 EXIST::FUNCTION: | ||
594 | X509_REQ_new 602 EXIST::FUNCTION: | ||
595 | X509_REQ_print 603 EXIST::FUNCTION:BIO | ||
596 | X509_REQ_print_fp 604 EXIST::FUNCTION:FP_API | ||
597 | X509_REQ_set_pubkey 605 EXIST::FUNCTION: | ||
598 | X509_REQ_set_subject_name 606 EXIST::FUNCTION: | ||
599 | X509_REQ_set_version 607 EXIST::FUNCTION: | ||
600 | X509_REQ_sign 608 EXIST::FUNCTION:EVP | ||
601 | X509_REQ_to_X509 609 EXIST::FUNCTION: | ||
602 | X509_REQ_verify 610 EXIST::FUNCTION:EVP | ||
603 | X509_REVOKED_add_ext 611 EXIST::FUNCTION: | ||
604 | X509_REVOKED_delete_ext 612 EXIST::FUNCTION: | ||
605 | X509_REVOKED_free 613 EXIST::FUNCTION: | ||
606 | X509_REVOKED_get_ext 614 EXIST::FUNCTION: | ||
607 | X509_REVOKED_get_ext_by_NID 615 EXIST::FUNCTION: | ||
608 | X509_REVOKED_get_ext_by_OBJ 616 EXIST::FUNCTION: | ||
609 | X509_REVOKED_get_ext_by_critical 617 EXIST:!VMS:FUNCTION: | ||
610 | X509_REVOKED_get_ext_by_critic 617 EXIST:VMS:FUNCTION: | ||
611 | X509_REVOKED_get_ext_count 618 EXIST::FUNCTION: | ||
612 | X509_REVOKED_new 619 EXIST::FUNCTION: | ||
613 | X509_SIG_free 620 EXIST::FUNCTION: | ||
614 | X509_SIG_new 621 EXIST::FUNCTION: | ||
615 | X509_STORE_CTX_cleanup 622 EXIST::FUNCTION: | ||
616 | X509_STORE_CTX_init 623 EXIST::FUNCTION: | ||
617 | X509_STORE_add_cert 624 EXIST::FUNCTION: | ||
618 | X509_STORE_add_lookup 625 EXIST::FUNCTION: | ||
619 | X509_STORE_free 626 EXIST::FUNCTION: | ||
620 | X509_STORE_get_by_subject 627 EXIST::FUNCTION: | ||
621 | X509_STORE_load_locations 628 EXIST::FUNCTION:STDIO | ||
622 | X509_STORE_new 629 EXIST::FUNCTION: | ||
623 | X509_STORE_set_default_paths 630 EXIST::FUNCTION:STDIO | ||
624 | X509_VAL_free 631 EXIST::FUNCTION: | ||
625 | X509_VAL_new 632 EXIST::FUNCTION: | ||
626 | X509_add_ext 633 EXIST::FUNCTION: | ||
627 | X509_asn1_meth 634 EXIST::FUNCTION: | ||
628 | X509_certificate_type 635 EXIST::FUNCTION: | ||
629 | X509_check_private_key 636 EXIST::FUNCTION: | ||
630 | X509_cmp_current_time 637 EXIST::FUNCTION: | ||
631 | X509_delete_ext 638 EXIST::FUNCTION: | ||
632 | X509_digest 639 EXIST::FUNCTION:EVP | ||
633 | X509_dup 640 EXIST::FUNCTION: | ||
634 | X509_free 641 EXIST::FUNCTION: | ||
635 | X509_get_default_cert_area 642 EXIST::FUNCTION: | ||
636 | X509_get_default_cert_dir 643 EXIST::FUNCTION: | ||
637 | X509_get_default_cert_dir_env 644 EXIST::FUNCTION: | ||
638 | X509_get_default_cert_file 645 EXIST::FUNCTION: | ||
639 | X509_get_default_cert_file_env 646 EXIST::FUNCTION: | ||
640 | X509_get_default_private_dir 647 EXIST::FUNCTION: | ||
641 | X509_get_ext 648 EXIST::FUNCTION: | ||
642 | X509_get_ext_by_NID 649 EXIST::FUNCTION: | ||
643 | X509_get_ext_by_OBJ 650 EXIST::FUNCTION: | ||
644 | X509_get_ext_by_critical 651 EXIST::FUNCTION: | ||
645 | X509_get_ext_count 652 EXIST::FUNCTION: | ||
646 | X509_get_issuer_name 653 EXIST::FUNCTION: | ||
647 | X509_get_pubkey 654 EXIST::FUNCTION: | ||
648 | X509_get_pubkey_parameters 655 EXIST::FUNCTION: | ||
649 | X509_get_serialNumber 656 EXIST::FUNCTION: | ||
650 | X509_get_subject_name 657 EXIST::FUNCTION: | ||
651 | X509_gmtime_adj 658 EXIST::FUNCTION: | ||
652 | X509_issuer_and_serial_cmp 659 EXIST::FUNCTION: | ||
653 | X509_issuer_and_serial_hash 660 EXIST::FUNCTION: | ||
654 | X509_issuer_name_cmp 661 EXIST::FUNCTION: | ||
655 | X509_issuer_name_hash 662 EXIST::FUNCTION: | ||
656 | X509_load_cert_file 663 EXIST::FUNCTION:STDIO | ||
657 | X509_new 664 EXIST::FUNCTION: | ||
658 | X509_print 665 EXIST::FUNCTION:BIO | ||
659 | X509_print_fp 666 EXIST::FUNCTION:FP_API | ||
660 | X509_set_issuer_name 667 EXIST::FUNCTION: | ||
661 | X509_set_notAfter 668 EXIST::FUNCTION: | ||
662 | X509_set_notBefore 669 EXIST::FUNCTION: | ||
663 | X509_set_pubkey 670 EXIST::FUNCTION: | ||
664 | X509_set_serialNumber 671 EXIST::FUNCTION: | ||
665 | X509_set_subject_name 672 EXIST::FUNCTION: | ||
666 | X509_set_version 673 EXIST::FUNCTION: | ||
667 | X509_sign 674 EXIST::FUNCTION:EVP | ||
668 | X509_subject_name_cmp 675 EXIST::FUNCTION: | ||
669 | X509_subject_name_hash 676 EXIST::FUNCTION: | ||
670 | X509_to_X509_REQ 677 EXIST::FUNCTION: | ||
671 | X509_verify 678 EXIST::FUNCTION:EVP | ||
672 | X509_verify_cert 679 EXIST::FUNCTION: | ||
673 | X509_verify_cert_error_string 680 EXIST::FUNCTION: | ||
674 | X509v3_add_ext 681 EXIST::FUNCTION: | ||
675 | X509v3_add_extension 682 NOEXIST::FUNCTION: | ||
676 | X509v3_add_netscape_extensions 683 NOEXIST::FUNCTION: | ||
677 | X509v3_add_standard_extensions 684 NOEXIST::FUNCTION: | ||
678 | X509v3_cleanup_extensions 685 NOEXIST::FUNCTION: | ||
679 | X509v3_data_type_by_NID 686 NOEXIST::FUNCTION: | ||
680 | X509v3_data_type_by_OBJ 687 NOEXIST::FUNCTION: | ||
681 | X509v3_delete_ext 688 EXIST::FUNCTION: | ||
682 | X509v3_get_ext 689 EXIST::FUNCTION: | ||
683 | X509v3_get_ext_by_NID 690 EXIST::FUNCTION: | ||
684 | X509v3_get_ext_by_OBJ 691 EXIST::FUNCTION: | ||
685 | X509v3_get_ext_by_critical 692 EXIST::FUNCTION: | ||
686 | X509v3_get_ext_count 693 EXIST::FUNCTION: | ||
687 | X509v3_pack_string 694 NOEXIST::FUNCTION: | ||
688 | X509v3_pack_type_by_NID 695 NOEXIST::FUNCTION: | ||
689 | X509v3_pack_type_by_OBJ 696 NOEXIST::FUNCTION: | ||
690 | X509v3_unpack_string 697 NOEXIST::FUNCTION: | ||
691 | _des_crypt 698 NOEXIST::FUNCTION: | ||
692 | a2d_ASN1_OBJECT 699 EXIST::FUNCTION: | ||
693 | a2i_ASN1_INTEGER 700 EXIST::FUNCTION:BIO | ||
694 | a2i_ASN1_STRING 701 EXIST::FUNCTION:BIO | ||
695 | asn1_Finish 702 EXIST::FUNCTION: | ||
696 | asn1_GetSequence 703 EXIST::FUNCTION: | ||
697 | bn_div_words 704 EXIST::FUNCTION: | ||
698 | bn_expand2 705 EXIST::FUNCTION: | ||
699 | bn_mul_add_words 706 EXIST::FUNCTION: | ||
700 | bn_mul_words 707 EXIST::FUNCTION: | ||
701 | BN_uadd 708 EXIST::FUNCTION: | ||
702 | BN_usub 709 EXIST::FUNCTION: | ||
703 | bn_sqr_words 710 EXIST::FUNCTION: | ||
704 | _ossl_old_crypt 711 EXIST:!NeXT,!PERL5:FUNCTION:DES | ||
705 | d2i_ASN1_BIT_STRING 712 EXIST::FUNCTION: | ||
706 | d2i_ASN1_BOOLEAN 713 EXIST::FUNCTION: | ||
707 | d2i_ASN1_HEADER 714 EXIST::FUNCTION: | ||
708 | d2i_ASN1_IA5STRING 715 EXIST::FUNCTION: | ||
709 | d2i_ASN1_INTEGER 716 EXIST::FUNCTION: | ||
710 | d2i_ASN1_OBJECT 717 EXIST::FUNCTION: | ||
711 | d2i_ASN1_OCTET_STRING 718 EXIST::FUNCTION: | ||
712 | d2i_ASN1_PRINTABLE 719 EXIST::FUNCTION: | ||
713 | d2i_ASN1_PRINTABLESTRING 720 EXIST::FUNCTION: | ||
714 | d2i_ASN1_SET 721 EXIST::FUNCTION: | ||
715 | d2i_ASN1_T61STRING 722 EXIST::FUNCTION: | ||
716 | d2i_ASN1_TYPE 723 EXIST::FUNCTION: | ||
717 | d2i_ASN1_UTCTIME 724 EXIST::FUNCTION: | ||
718 | d2i_ASN1_bytes 725 EXIST::FUNCTION: | ||
719 | d2i_ASN1_type_bytes 726 EXIST::FUNCTION: | ||
720 | d2i_DHparams 727 EXIST::FUNCTION:DH | ||
721 | d2i_DSAPrivateKey 728 EXIST::FUNCTION:DSA | ||
722 | d2i_DSAPrivateKey_bio 729 EXIST::FUNCTION:BIO,DSA | ||
723 | d2i_DSAPrivateKey_fp 730 EXIST::FUNCTION:DSA,FP_API | ||
724 | d2i_DSAPublicKey 731 EXIST::FUNCTION:DSA | ||
725 | d2i_DSAparams 732 EXIST::FUNCTION:DSA | ||
726 | d2i_NETSCAPE_SPKAC 733 EXIST::FUNCTION: | ||
727 | d2i_NETSCAPE_SPKI 734 EXIST::FUNCTION: | ||
728 | d2i_Netscape_RSA 735 EXIST::FUNCTION:RSA | ||
729 | d2i_PKCS7 736 EXIST::FUNCTION: | ||
730 | d2i_PKCS7_DIGEST 737 EXIST::FUNCTION: | ||
731 | d2i_PKCS7_ENCRYPT 738 EXIST::FUNCTION: | ||
732 | d2i_PKCS7_ENC_CONTENT 739 EXIST::FUNCTION: | ||
733 | d2i_PKCS7_ENVELOPE 740 EXIST::FUNCTION: | ||
734 | d2i_PKCS7_ISSUER_AND_SERIAL 741 EXIST::FUNCTION: | ||
735 | d2i_PKCS7_RECIP_INFO 742 EXIST::FUNCTION: | ||
736 | d2i_PKCS7_SIGNED 743 EXIST::FUNCTION: | ||
737 | d2i_PKCS7_SIGNER_INFO 744 EXIST::FUNCTION: | ||
738 | d2i_PKCS7_SIGN_ENVELOPE 745 EXIST::FUNCTION: | ||
739 | d2i_PKCS7_bio 746 EXIST::FUNCTION: | ||
740 | d2i_PKCS7_fp 747 EXIST::FUNCTION:FP_API | ||
741 | d2i_PrivateKey 748 EXIST::FUNCTION: | ||
742 | d2i_PublicKey 749 EXIST::FUNCTION: | ||
743 | d2i_RSAPrivateKey 750 EXIST::FUNCTION:RSA | ||
744 | d2i_RSAPrivateKey_bio 751 EXIST::FUNCTION:BIO,RSA | ||
745 | d2i_RSAPrivateKey_fp 752 EXIST::FUNCTION:FP_API,RSA | ||
746 | d2i_RSAPublicKey 753 EXIST::FUNCTION:RSA | ||
747 | d2i_X509 754 EXIST::FUNCTION: | ||
748 | d2i_X509_ALGOR 755 EXIST::FUNCTION: | ||
749 | d2i_X509_ATTRIBUTE 756 EXIST::FUNCTION: | ||
750 | d2i_X509_CINF 757 EXIST::FUNCTION: | ||
751 | d2i_X509_CRL 758 EXIST::FUNCTION: | ||
752 | d2i_X509_CRL_INFO 759 EXIST::FUNCTION: | ||
753 | d2i_X509_CRL_bio 760 EXIST::FUNCTION:BIO | ||
754 | d2i_X509_CRL_fp 761 EXIST::FUNCTION:FP_API | ||
755 | d2i_X509_EXTENSION 762 EXIST::FUNCTION: | ||
756 | d2i_X509_NAME 763 EXIST::FUNCTION: | ||
757 | d2i_X509_NAME_ENTRY 764 EXIST::FUNCTION: | ||
758 | d2i_X509_PKEY 765 EXIST::FUNCTION: | ||
759 | d2i_X509_PUBKEY 766 EXIST::FUNCTION: | ||
760 | d2i_X509_REQ 767 EXIST::FUNCTION: | ||
761 | d2i_X509_REQ_INFO 768 EXIST::FUNCTION: | ||
762 | d2i_X509_REQ_bio 769 EXIST::FUNCTION:BIO | ||
763 | d2i_X509_REQ_fp 770 EXIST::FUNCTION:FP_API | ||
764 | d2i_X509_REVOKED 771 EXIST::FUNCTION: | ||
765 | d2i_X509_SIG 772 EXIST::FUNCTION: | ||
766 | d2i_X509_VAL 773 EXIST::FUNCTION: | ||
767 | d2i_X509_bio 774 EXIST::FUNCTION:BIO | ||
768 | d2i_X509_fp 775 EXIST::FUNCTION:FP_API | ||
769 | DES_cbc_cksum 777 EXIST::FUNCTION:DES | ||
770 | DES_cbc_encrypt 778 EXIST::FUNCTION:DES | ||
771 | DES_cblock_print_file 779 NOEXIST::FUNCTION: | ||
772 | DES_cfb64_encrypt 780 EXIST::FUNCTION:DES | ||
773 | DES_cfb_encrypt 781 EXIST::FUNCTION:DES | ||
774 | DES_decrypt3 782 EXIST::FUNCTION:DES | ||
775 | DES_ecb3_encrypt 783 EXIST::FUNCTION:DES | ||
776 | DES_ecb_encrypt 784 EXIST::FUNCTION:DES | ||
777 | DES_ede3_cbc_encrypt 785 EXIST::FUNCTION:DES | ||
778 | DES_ede3_cfb64_encrypt 786 EXIST::FUNCTION:DES | ||
779 | DES_ede3_ofb64_encrypt 787 EXIST::FUNCTION:DES | ||
780 | DES_enc_read 788 EXIST::FUNCTION:DES | ||
781 | DES_enc_write 789 EXIST::FUNCTION:DES | ||
782 | DES_encrypt1 790 EXIST::FUNCTION:DES | ||
783 | DES_encrypt2 791 EXIST::FUNCTION:DES | ||
784 | DES_encrypt3 792 EXIST::FUNCTION:DES | ||
785 | DES_fcrypt 793 EXIST::FUNCTION:DES | ||
786 | DES_is_weak_key 794 EXIST::FUNCTION:DES | ||
787 | DES_key_sched 795 EXIST::FUNCTION:DES | ||
788 | DES_ncbc_encrypt 796 EXIST::FUNCTION:DES | ||
789 | DES_ofb64_encrypt 797 EXIST::FUNCTION:DES | ||
790 | DES_ofb_encrypt 798 EXIST::FUNCTION:DES | ||
791 | DES_options 799 EXIST::FUNCTION:DES | ||
792 | DES_pcbc_encrypt 800 EXIST::FUNCTION:DES | ||
793 | DES_quad_cksum 801 EXIST::FUNCTION:DES | ||
794 | DES_random_key 802 EXIST::FUNCTION:DES | ||
795 | _ossl_old_des_random_seed 803 EXIST::FUNCTION:DES | ||
796 | _ossl_old_des_read_2passwords 804 EXIST::FUNCTION:DES | ||
797 | _ossl_old_des_read_password 805 EXIST::FUNCTION:DES | ||
798 | _ossl_old_des_read_pw 806 EXIST::FUNCTION: | ||
799 | _ossl_old_des_read_pw_string 807 EXIST::FUNCTION: | ||
800 | DES_set_key 808 EXIST::FUNCTION:DES | ||
801 | DES_set_odd_parity 809 EXIST::FUNCTION:DES | ||
802 | DES_string_to_2keys 810 EXIST::FUNCTION:DES | ||
803 | DES_string_to_key 811 EXIST::FUNCTION:DES | ||
804 | DES_xcbc_encrypt 812 EXIST::FUNCTION:DES | ||
805 | DES_xwhite_in2out 813 EXIST::FUNCTION:DES | ||
806 | fcrypt_body 814 NOEXIST::FUNCTION: | ||
807 | i2a_ASN1_INTEGER 815 EXIST::FUNCTION:BIO | ||
808 | i2a_ASN1_OBJECT 816 EXIST::FUNCTION:BIO | ||
809 | i2a_ASN1_STRING 817 EXIST::FUNCTION:BIO | ||
810 | i2d_ASN1_BIT_STRING 818 EXIST::FUNCTION: | ||
811 | i2d_ASN1_BOOLEAN 819 EXIST::FUNCTION: | ||
812 | i2d_ASN1_HEADER 820 EXIST::FUNCTION: | ||
813 | i2d_ASN1_IA5STRING 821 EXIST::FUNCTION: | ||
814 | i2d_ASN1_INTEGER 822 EXIST::FUNCTION: | ||
815 | i2d_ASN1_OBJECT 823 EXIST::FUNCTION: | ||
816 | i2d_ASN1_OCTET_STRING 824 EXIST::FUNCTION: | ||
817 | i2d_ASN1_PRINTABLE 825 EXIST::FUNCTION: | ||
818 | i2d_ASN1_SET 826 EXIST::FUNCTION: | ||
819 | i2d_ASN1_TYPE 827 EXIST::FUNCTION: | ||
820 | i2d_ASN1_UTCTIME 828 EXIST::FUNCTION: | ||
821 | i2d_ASN1_bytes 829 EXIST::FUNCTION: | ||
822 | i2d_DHparams 830 EXIST::FUNCTION:DH | ||
823 | i2d_DSAPrivateKey 831 EXIST::FUNCTION:DSA | ||
824 | i2d_DSAPrivateKey_bio 832 EXIST::FUNCTION:BIO,DSA | ||
825 | i2d_DSAPrivateKey_fp 833 EXIST::FUNCTION:DSA,FP_API | ||
826 | i2d_DSAPublicKey 834 EXIST::FUNCTION:DSA | ||
827 | i2d_DSAparams 835 EXIST::FUNCTION:DSA | ||
828 | i2d_NETSCAPE_SPKAC 836 EXIST::FUNCTION: | ||
829 | i2d_NETSCAPE_SPKI 837 EXIST::FUNCTION: | ||
830 | i2d_Netscape_RSA 838 EXIST::FUNCTION:RSA | ||
831 | i2d_PKCS7 839 EXIST::FUNCTION: | ||
832 | i2d_PKCS7_DIGEST 840 EXIST::FUNCTION: | ||
833 | i2d_PKCS7_ENCRYPT 841 EXIST::FUNCTION: | ||
834 | i2d_PKCS7_ENC_CONTENT 842 EXIST::FUNCTION: | ||
835 | i2d_PKCS7_ENVELOPE 843 EXIST::FUNCTION: | ||
836 | i2d_PKCS7_ISSUER_AND_SERIAL 844 EXIST::FUNCTION: | ||
837 | i2d_PKCS7_RECIP_INFO 845 EXIST::FUNCTION: | ||
838 | i2d_PKCS7_SIGNED 846 EXIST::FUNCTION: | ||
839 | i2d_PKCS7_SIGNER_INFO 847 EXIST::FUNCTION: | ||
840 | i2d_PKCS7_SIGN_ENVELOPE 848 EXIST::FUNCTION: | ||
841 | i2d_PKCS7_bio 849 EXIST::FUNCTION: | ||
842 | i2d_PKCS7_fp 850 EXIST::FUNCTION:FP_API | ||
843 | i2d_PrivateKey 851 EXIST::FUNCTION: | ||
844 | i2d_PublicKey 852 EXIST::FUNCTION: | ||
845 | i2d_RSAPrivateKey 853 EXIST::FUNCTION:RSA | ||
846 | i2d_RSAPrivateKey_bio 854 EXIST::FUNCTION:BIO,RSA | ||
847 | i2d_RSAPrivateKey_fp 855 EXIST::FUNCTION:FP_API,RSA | ||
848 | i2d_RSAPublicKey 856 EXIST::FUNCTION:RSA | ||
849 | i2d_X509 857 EXIST::FUNCTION: | ||
850 | i2d_X509_ALGOR 858 EXIST::FUNCTION: | ||
851 | i2d_X509_ATTRIBUTE 859 EXIST::FUNCTION: | ||
852 | i2d_X509_CINF 860 EXIST::FUNCTION: | ||
853 | i2d_X509_CRL 861 EXIST::FUNCTION: | ||
854 | i2d_X509_CRL_INFO 862 EXIST::FUNCTION: | ||
855 | i2d_X509_CRL_bio 863 EXIST::FUNCTION:BIO | ||
856 | i2d_X509_CRL_fp 864 EXIST::FUNCTION:FP_API | ||
857 | i2d_X509_EXTENSION 865 EXIST::FUNCTION: | ||
858 | i2d_X509_NAME 866 EXIST::FUNCTION: | ||
859 | i2d_X509_NAME_ENTRY 867 EXIST::FUNCTION: | ||
860 | i2d_X509_PKEY 868 EXIST::FUNCTION: | ||
861 | i2d_X509_PUBKEY 869 EXIST::FUNCTION: | ||
862 | i2d_X509_REQ 870 EXIST::FUNCTION: | ||
863 | i2d_X509_REQ_INFO 871 EXIST::FUNCTION: | ||
864 | i2d_X509_REQ_bio 872 EXIST::FUNCTION:BIO | ||
865 | i2d_X509_REQ_fp 873 EXIST::FUNCTION:FP_API | ||
866 | i2d_X509_REVOKED 874 EXIST::FUNCTION: | ||
867 | i2d_X509_SIG 875 EXIST::FUNCTION: | ||
868 | i2d_X509_VAL 876 EXIST::FUNCTION: | ||
869 | i2d_X509_bio 877 EXIST::FUNCTION:BIO | ||
870 | i2d_X509_fp 878 EXIST::FUNCTION:FP_API | ||
871 | idea_cbc_encrypt 879 EXIST::FUNCTION:IDEA | ||
872 | idea_cfb64_encrypt 880 EXIST::FUNCTION:IDEA | ||
873 | idea_ecb_encrypt 881 EXIST::FUNCTION:IDEA | ||
874 | idea_encrypt 882 EXIST::FUNCTION:IDEA | ||
875 | idea_ofb64_encrypt 883 EXIST::FUNCTION:IDEA | ||
876 | idea_options 884 EXIST::FUNCTION:IDEA | ||
877 | idea_set_decrypt_key 885 EXIST::FUNCTION:IDEA | ||
878 | idea_set_encrypt_key 886 EXIST::FUNCTION:IDEA | ||
879 | lh_delete 887 EXIST::FUNCTION: | ||
880 | lh_doall 888 EXIST::FUNCTION: | ||
881 | lh_doall_arg 889 EXIST::FUNCTION: | ||
882 | lh_free 890 EXIST::FUNCTION: | ||
883 | lh_insert 891 EXIST::FUNCTION: | ||
884 | lh_new 892 EXIST::FUNCTION: | ||
885 | lh_node_stats 893 EXIST::FUNCTION:FP_API | ||
886 | lh_node_stats_bio 894 EXIST::FUNCTION:BIO | ||
887 | lh_node_usage_stats 895 EXIST::FUNCTION:FP_API | ||
888 | lh_node_usage_stats_bio 896 EXIST::FUNCTION:BIO | ||
889 | lh_retrieve 897 EXIST::FUNCTION: | ||
890 | lh_stats 898 EXIST::FUNCTION:FP_API | ||
891 | lh_stats_bio 899 EXIST::FUNCTION:BIO | ||
892 | lh_strhash 900 EXIST::FUNCTION: | ||
893 | sk_delete 901 EXIST::FUNCTION: | ||
894 | sk_delete_ptr 902 EXIST::FUNCTION: | ||
895 | sk_dup 903 EXIST::FUNCTION: | ||
896 | sk_find 904 EXIST::FUNCTION: | ||
897 | sk_free 905 EXIST::FUNCTION: | ||
898 | sk_insert 906 EXIST::FUNCTION: | ||
899 | sk_new 907 EXIST::FUNCTION: | ||
900 | sk_pop 908 EXIST::FUNCTION: | ||
901 | sk_pop_free 909 EXIST::FUNCTION: | ||
902 | sk_push 910 EXIST::FUNCTION: | ||
903 | sk_set_cmp_func 911 EXIST::FUNCTION: | ||
904 | sk_shift 912 EXIST::FUNCTION: | ||
905 | sk_unshift 913 EXIST::FUNCTION: | ||
906 | sk_zero 914 EXIST::FUNCTION: | ||
907 | BIO_f_nbio_test 915 EXIST::FUNCTION: | ||
908 | ASN1_TYPE_get 916 EXIST::FUNCTION: | ||
909 | ASN1_TYPE_set 917 EXIST::FUNCTION: | ||
910 | PKCS7_content_free 918 NOEXIST::FUNCTION: | ||
911 | ERR_load_PKCS7_strings 919 EXIST::FUNCTION: | ||
912 | X509_find_by_issuer_and_serial 920 EXIST::FUNCTION: | ||
913 | X509_find_by_subject 921 EXIST::FUNCTION: | ||
914 | PKCS7_ctrl 927 EXIST::FUNCTION: | ||
915 | PKCS7_set_type 928 EXIST::FUNCTION: | ||
916 | PKCS7_set_content 929 EXIST::FUNCTION: | ||
917 | PKCS7_SIGNER_INFO_set 930 EXIST::FUNCTION: | ||
918 | PKCS7_add_signer 931 EXIST::FUNCTION: | ||
919 | PKCS7_add_certificate 932 EXIST::FUNCTION: | ||
920 | PKCS7_add_crl 933 EXIST::FUNCTION: | ||
921 | PKCS7_content_new 934 EXIST::FUNCTION: | ||
922 | PKCS7_dataSign 935 NOEXIST::FUNCTION: | ||
923 | PKCS7_dataVerify 936 EXIST::FUNCTION: | ||
924 | PKCS7_dataInit 937 EXIST::FUNCTION: | ||
925 | PKCS7_add_signature 938 EXIST::FUNCTION: | ||
926 | PKCS7_cert_from_signer_info 939 EXIST::FUNCTION: | ||
927 | PKCS7_get_signer_info 940 EXIST::FUNCTION: | ||
928 | EVP_delete_alias 941 NOEXIST::FUNCTION: | ||
929 | EVP_mdc2 942 EXIST::FUNCTION:MDC2 | ||
930 | PEM_read_bio_RSAPublicKey 943 EXIST::FUNCTION:RSA | ||
931 | PEM_write_bio_RSAPublicKey 944 EXIST::FUNCTION:RSA | ||
932 | d2i_RSAPublicKey_bio 945 EXIST::FUNCTION:BIO,RSA | ||
933 | i2d_RSAPublicKey_bio 946 EXIST::FUNCTION:BIO,RSA | ||
934 | PEM_read_RSAPublicKey 947 EXIST:!WIN16:FUNCTION:RSA | ||
935 | PEM_write_RSAPublicKey 949 EXIST:!WIN16:FUNCTION:RSA | ||
936 | d2i_RSAPublicKey_fp 952 EXIST::FUNCTION:FP_API,RSA | ||
937 | i2d_RSAPublicKey_fp 954 EXIST::FUNCTION:FP_API,RSA | ||
938 | BIO_copy_next_retry 955 EXIST::FUNCTION: | ||
939 | RSA_flags 956 EXIST::FUNCTION:RSA | ||
940 | X509_STORE_add_crl 957 EXIST::FUNCTION: | ||
941 | X509_load_crl_file 958 EXIST::FUNCTION:STDIO | ||
942 | EVP_rc2_40_cbc 959 EXIST::FUNCTION:RC2 | ||
943 | EVP_rc4_40 960 EXIST::FUNCTION:RC4 | ||
944 | EVP_CIPHER_CTX_init 961 EXIST::FUNCTION: | ||
945 | HMAC 962 EXIST::FUNCTION:HMAC | ||
946 | HMAC_Init 963 EXIST::FUNCTION:HMAC | ||
947 | HMAC_Update 964 EXIST::FUNCTION:HMAC | ||
948 | HMAC_Final 965 EXIST::FUNCTION:HMAC | ||
949 | ERR_get_next_error_library 966 EXIST::FUNCTION: | ||
950 | EVP_PKEY_cmp_parameters 967 EXIST::FUNCTION: | ||
951 | HMAC_cleanup 968 NOEXIST::FUNCTION: | ||
952 | BIO_ptr_ctrl 969 EXIST::FUNCTION: | ||
953 | BIO_new_file_internal 970 EXIST:WIN16:FUNCTION:FP_API | ||
954 | BIO_new_fp_internal 971 EXIST:WIN16:FUNCTION:FP_API | ||
955 | BIO_s_file_internal 972 EXIST:WIN16:FUNCTION:FP_API | ||
956 | BN_BLINDING_convert 973 EXIST::FUNCTION: | ||
957 | BN_BLINDING_invert 974 EXIST::FUNCTION: | ||
958 | BN_BLINDING_update 975 EXIST::FUNCTION: | ||
959 | RSA_blinding_on 977 EXIST::FUNCTION:RSA | ||
960 | RSA_blinding_off 978 EXIST::FUNCTION:RSA | ||
961 | i2t_ASN1_OBJECT 979 EXIST::FUNCTION: | ||
962 | BN_BLINDING_new 980 EXIST::FUNCTION: | ||
963 | BN_BLINDING_free 981 EXIST::FUNCTION: | ||
964 | EVP_cast5_cbc 983 EXIST::FUNCTION:CAST | ||
965 | EVP_cast5_cfb 984 EXIST::FUNCTION:CAST | ||
966 | EVP_cast5_ecb 985 EXIST::FUNCTION:CAST | ||
967 | EVP_cast5_ofb 986 EXIST::FUNCTION:CAST | ||
968 | BF_decrypt 987 EXIST::FUNCTION:BF | ||
969 | CAST_set_key 988 EXIST::FUNCTION:CAST | ||
970 | CAST_encrypt 989 EXIST::FUNCTION:CAST | ||
971 | CAST_decrypt 990 EXIST::FUNCTION:CAST | ||
972 | CAST_ecb_encrypt 991 EXIST::FUNCTION:CAST | ||
973 | CAST_cbc_encrypt 992 EXIST::FUNCTION:CAST | ||
974 | CAST_cfb64_encrypt 993 EXIST::FUNCTION:CAST | ||
975 | CAST_ofb64_encrypt 994 EXIST::FUNCTION:CAST | ||
976 | RC2_decrypt 995 EXIST::FUNCTION:RC2 | ||
977 | OBJ_create_objects 997 EXIST::FUNCTION: | ||
978 | BN_exp 998 EXIST::FUNCTION: | ||
979 | BN_mul_word 999 EXIST::FUNCTION: | ||
980 | BN_sub_word 1000 EXIST::FUNCTION: | ||
981 | BN_dec2bn 1001 EXIST::FUNCTION: | ||
982 | BN_bn2dec 1002 EXIST::FUNCTION: | ||
983 | BIO_ghbn_ctrl 1003 NOEXIST::FUNCTION: | ||
984 | CRYPTO_free_ex_data 1004 EXIST::FUNCTION: | ||
985 | CRYPTO_get_ex_data 1005 EXIST::FUNCTION: | ||
986 | CRYPTO_set_ex_data 1007 EXIST::FUNCTION: | ||
987 | ERR_load_CRYPTO_strings 1009 EXIST:!OS2,!VMS,!WIN16:FUNCTION: | ||
988 | ERR_load_CRYPTOlib_strings 1009 EXIST:OS2,VMS,WIN16:FUNCTION: | ||
989 | EVP_PKEY_bits 1010 EXIST::FUNCTION: | ||
990 | MD5_Transform 1011 EXIST::FUNCTION:MD5 | ||
991 | SHA1_Transform 1012 EXIST::FUNCTION:SHA,SHA1 | ||
992 | SHA_Transform 1013 EXIST::FUNCTION:SHA,SHA0 | ||
993 | X509_STORE_CTX_get_chain 1014 EXIST::FUNCTION: | ||
994 | X509_STORE_CTX_get_current_cert 1015 EXIST::FUNCTION: | ||
995 | X509_STORE_CTX_get_error 1016 EXIST::FUNCTION: | ||
996 | X509_STORE_CTX_get_error_depth 1017 EXIST::FUNCTION: | ||
997 | X509_STORE_CTX_get_ex_data 1018 EXIST::FUNCTION: | ||
998 | X509_STORE_CTX_set_cert 1020 EXIST::FUNCTION: | ||
999 | X509_STORE_CTX_set_chain 1021 EXIST::FUNCTION: | ||
1000 | X509_STORE_CTX_set_error 1022 EXIST::FUNCTION: | ||
1001 | X509_STORE_CTX_set_ex_data 1023 EXIST::FUNCTION: | ||
1002 | CRYPTO_dup_ex_data 1025 EXIST::FUNCTION: | ||
1003 | CRYPTO_get_new_lockid 1026 EXIST::FUNCTION: | ||
1004 | CRYPTO_new_ex_data 1027 EXIST::FUNCTION: | ||
1005 | RSA_set_ex_data 1028 EXIST::FUNCTION:RSA | ||
1006 | RSA_get_ex_data 1029 EXIST::FUNCTION:RSA | ||
1007 | RSA_get_ex_new_index 1030 EXIST::FUNCTION:RSA | ||
1008 | RSA_padding_add_PKCS1_type_1 1031 EXIST::FUNCTION:RSA | ||
1009 | RSA_padding_add_PKCS1_type_2 1032 EXIST::FUNCTION:RSA | ||
1010 | RSA_padding_add_SSLv23 1033 EXIST::FUNCTION:RSA | ||
1011 | RSA_padding_add_none 1034 EXIST::FUNCTION:RSA | ||
1012 | RSA_padding_check_PKCS1_type_1 1035 EXIST::FUNCTION:RSA | ||
1013 | RSA_padding_check_PKCS1_type_2 1036 EXIST::FUNCTION:RSA | ||
1014 | RSA_padding_check_SSLv23 1037 EXIST::FUNCTION:RSA | ||
1015 | RSA_padding_check_none 1038 EXIST::FUNCTION:RSA | ||
1016 | bn_add_words 1039 EXIST::FUNCTION: | ||
1017 | d2i_Netscape_RSA_2 1040 NOEXIST::FUNCTION: | ||
1018 | CRYPTO_get_ex_new_index 1041 EXIST::FUNCTION: | ||
1019 | RIPEMD160_Init 1042 EXIST::FUNCTION:RIPEMD | ||
1020 | RIPEMD160_Update 1043 EXIST::FUNCTION:RIPEMD | ||
1021 | RIPEMD160_Final 1044 EXIST::FUNCTION:RIPEMD | ||
1022 | RIPEMD160 1045 EXIST::FUNCTION:RIPEMD | ||
1023 | RIPEMD160_Transform 1046 EXIST::FUNCTION:RIPEMD | ||
1024 | RC5_32_set_key 1047 EXIST::FUNCTION:RC5 | ||
1025 | RC5_32_ecb_encrypt 1048 EXIST::FUNCTION:RC5 | ||
1026 | RC5_32_encrypt 1049 EXIST::FUNCTION:RC5 | ||
1027 | RC5_32_decrypt 1050 EXIST::FUNCTION:RC5 | ||
1028 | RC5_32_cbc_encrypt 1051 EXIST::FUNCTION:RC5 | ||
1029 | RC5_32_cfb64_encrypt 1052 EXIST::FUNCTION:RC5 | ||
1030 | RC5_32_ofb64_encrypt 1053 EXIST::FUNCTION:RC5 | ||
1031 | BN_bn2mpi 1058 EXIST::FUNCTION: | ||
1032 | BN_mpi2bn 1059 EXIST::FUNCTION: | ||
1033 | ASN1_BIT_STRING_get_bit 1060 EXIST::FUNCTION: | ||
1034 | ASN1_BIT_STRING_set_bit 1061 EXIST::FUNCTION: | ||
1035 | BIO_get_ex_data 1062 EXIST::FUNCTION: | ||
1036 | BIO_get_ex_new_index 1063 EXIST::FUNCTION: | ||
1037 | BIO_set_ex_data 1064 EXIST::FUNCTION: | ||
1038 | X509v3_get_key_usage 1066 NOEXIST::FUNCTION: | ||
1039 | X509v3_set_key_usage 1067 NOEXIST::FUNCTION: | ||
1040 | a2i_X509v3_key_usage 1068 NOEXIST::FUNCTION: | ||
1041 | i2a_X509v3_key_usage 1069 NOEXIST::FUNCTION: | ||
1042 | EVP_PKEY_decrypt 1070 EXIST::FUNCTION: | ||
1043 | EVP_PKEY_encrypt 1071 EXIST::FUNCTION: | ||
1044 | PKCS7_RECIP_INFO_set 1072 EXIST::FUNCTION: | ||
1045 | PKCS7_add_recipient 1073 EXIST::FUNCTION: | ||
1046 | PKCS7_add_recipient_info 1074 EXIST::FUNCTION: | ||
1047 | PKCS7_set_cipher 1075 EXIST::FUNCTION: | ||
1048 | ASN1_TYPE_get_int_octetstring 1076 EXIST::FUNCTION: | ||
1049 | ASN1_TYPE_get_octetstring 1077 EXIST::FUNCTION: | ||
1050 | ASN1_TYPE_set_int_octetstring 1078 EXIST::FUNCTION: | ||
1051 | ASN1_TYPE_set_octetstring 1079 EXIST::FUNCTION: | ||
1052 | ASN1_UTCTIME_set_string 1080 EXIST::FUNCTION: | ||
1053 | ERR_add_error_data 1081 EXIST::FUNCTION:BIO | ||
1054 | ERR_set_error_data 1082 EXIST::FUNCTION: | ||
1055 | EVP_CIPHER_asn1_to_param 1083 EXIST::FUNCTION: | ||
1056 | EVP_CIPHER_param_to_asn1 1084 EXIST::FUNCTION: | ||
1057 | EVP_CIPHER_get_asn1_iv 1085 EXIST::FUNCTION: | ||
1058 | EVP_CIPHER_set_asn1_iv 1086 EXIST::FUNCTION: | ||
1059 | EVP_rc5_32_12_16_cbc 1087 EXIST::FUNCTION:RC5 | ||
1060 | EVP_rc5_32_12_16_cfb 1088 EXIST::FUNCTION:RC5 | ||
1061 | EVP_rc5_32_12_16_ecb 1089 EXIST::FUNCTION:RC5 | ||
1062 | EVP_rc5_32_12_16_ofb 1090 EXIST::FUNCTION:RC5 | ||
1063 | asn1_add_error 1091 EXIST::FUNCTION: | ||
1064 | d2i_ASN1_BMPSTRING 1092 EXIST::FUNCTION: | ||
1065 | i2d_ASN1_BMPSTRING 1093 EXIST::FUNCTION: | ||
1066 | BIO_f_ber 1094 NOEXIST::FUNCTION: | ||
1067 | BN_init 1095 EXIST::FUNCTION: | ||
1068 | COMP_CTX_new 1096 EXIST::FUNCTION: | ||
1069 | COMP_CTX_free 1097 EXIST::FUNCTION: | ||
1070 | COMP_CTX_compress_block 1098 NOEXIST::FUNCTION: | ||
1071 | COMP_CTX_expand_block 1099 NOEXIST::FUNCTION: | ||
1072 | X509_STORE_CTX_get_ex_new_index 1100 EXIST::FUNCTION: | ||
1073 | OBJ_NAME_add 1101 EXIST::FUNCTION: | ||
1074 | BIO_socket_nbio 1102 EXIST::FUNCTION: | ||
1075 | EVP_rc2_64_cbc 1103 EXIST::FUNCTION:RC2 | ||
1076 | OBJ_NAME_cleanup 1104 EXIST::FUNCTION: | ||
1077 | OBJ_NAME_get 1105 EXIST::FUNCTION: | ||
1078 | OBJ_NAME_init 1106 EXIST::FUNCTION: | ||
1079 | OBJ_NAME_new_index 1107 EXIST::FUNCTION: | ||
1080 | OBJ_NAME_remove 1108 EXIST::FUNCTION: | ||
1081 | BN_MONT_CTX_copy 1109 EXIST::FUNCTION: | ||
1082 | BIO_new_socks4a_connect 1110 NOEXIST::FUNCTION: | ||
1083 | BIO_s_socks4a_connect 1111 NOEXIST::FUNCTION: | ||
1084 | PROXY_set_connect_mode 1112 NOEXIST::FUNCTION: | ||
1085 | RAND_SSLeay 1113 EXIST::FUNCTION: | ||
1086 | RAND_set_rand_method 1114 EXIST::FUNCTION: | ||
1087 | RSA_memory_lock 1115 EXIST::FUNCTION:RSA | ||
1088 | bn_sub_words 1116 EXIST::FUNCTION: | ||
1089 | bn_mul_normal 1117 NOEXIST::FUNCTION: | ||
1090 | bn_mul_comba8 1118 NOEXIST::FUNCTION: | ||
1091 | bn_mul_comba4 1119 NOEXIST::FUNCTION: | ||
1092 | bn_sqr_normal 1120 NOEXIST::FUNCTION: | ||
1093 | bn_sqr_comba8 1121 NOEXIST::FUNCTION: | ||
1094 | bn_sqr_comba4 1122 NOEXIST::FUNCTION: | ||
1095 | bn_cmp_words 1123 NOEXIST::FUNCTION: | ||
1096 | bn_mul_recursive 1124 NOEXIST::FUNCTION: | ||
1097 | bn_mul_part_recursive 1125 NOEXIST::FUNCTION: | ||
1098 | bn_sqr_recursive 1126 NOEXIST::FUNCTION: | ||
1099 | bn_mul_low_normal 1127 NOEXIST::FUNCTION: | ||
1100 | BN_RECP_CTX_init 1128 EXIST::FUNCTION: | ||
1101 | BN_RECP_CTX_new 1129 EXIST::FUNCTION: | ||
1102 | BN_RECP_CTX_free 1130 EXIST::FUNCTION: | ||
1103 | BN_RECP_CTX_set 1131 EXIST::FUNCTION: | ||
1104 | BN_mod_mul_reciprocal 1132 EXIST::FUNCTION: | ||
1105 | BN_mod_exp_recp 1133 EXIST::FUNCTION: | ||
1106 | BN_div_recp 1134 EXIST::FUNCTION: | ||
1107 | BN_CTX_init 1135 EXIST::FUNCTION: | ||
1108 | BN_MONT_CTX_init 1136 EXIST::FUNCTION: | ||
1109 | RAND_get_rand_method 1137 EXIST::FUNCTION: | ||
1110 | PKCS7_add_attribute 1138 EXIST::FUNCTION: | ||
1111 | PKCS7_add_signed_attribute 1139 EXIST::FUNCTION: | ||
1112 | PKCS7_digest_from_attributes 1140 EXIST::FUNCTION: | ||
1113 | PKCS7_get_attribute 1141 EXIST::FUNCTION: | ||
1114 | PKCS7_get_issuer_and_serial 1142 EXIST::FUNCTION: | ||
1115 | PKCS7_get_signed_attribute 1143 EXIST::FUNCTION: | ||
1116 | COMP_compress_block 1144 EXIST::FUNCTION: | ||
1117 | COMP_expand_block 1145 EXIST::FUNCTION: | ||
1118 | COMP_rle 1146 EXIST::FUNCTION: | ||
1119 | COMP_zlib 1147 EXIST::FUNCTION: | ||
1120 | ms_time_diff 1148 EXIST::FUNCTION: | ||
1121 | ms_time_new 1149 EXIST::FUNCTION: | ||
1122 | ms_time_free 1150 EXIST::FUNCTION: | ||
1123 | ms_time_cmp 1151 EXIST::FUNCTION: | ||
1124 | ms_time_get 1152 EXIST::FUNCTION: | ||
1125 | PKCS7_set_attributes 1153 EXIST::FUNCTION: | ||
1126 | PKCS7_set_signed_attributes 1154 EXIST::FUNCTION: | ||
1127 | X509_ATTRIBUTE_create 1155 EXIST::FUNCTION: | ||
1128 | X509_ATTRIBUTE_dup 1156 EXIST::FUNCTION: | ||
1129 | ASN1_GENERALIZEDTIME_check 1157 EXIST::FUNCTION: | ||
1130 | ASN1_GENERALIZEDTIME_print 1158 EXIST::FUNCTION:BIO | ||
1131 | ASN1_GENERALIZEDTIME_set 1159 EXIST::FUNCTION: | ||
1132 | ASN1_GENERALIZEDTIME_set_string 1160 EXIST::FUNCTION: | ||
1133 | ASN1_TIME_print 1161 EXIST::FUNCTION:BIO | ||
1134 | BASIC_CONSTRAINTS_free 1162 EXIST::FUNCTION: | ||
1135 | BASIC_CONSTRAINTS_new 1163 EXIST::FUNCTION: | ||
1136 | ERR_load_X509V3_strings 1164 EXIST::FUNCTION: | ||
1137 | NETSCAPE_CERT_SEQUENCE_free 1165 EXIST::FUNCTION: | ||
1138 | NETSCAPE_CERT_SEQUENCE_new 1166 EXIST::FUNCTION: | ||
1139 | OBJ_txt2obj 1167 EXIST::FUNCTION: | ||
1140 | PEM_read_NETSCAPE_CERT_SEQUENCE 1168 EXIST:!VMS,!WIN16:FUNCTION: | ||
1141 | PEM_read_NS_CERT_SEQ 1168 EXIST:VMS:FUNCTION: | ||
1142 | PEM_read_bio_NETSCAPE_CERT_SEQUENCE 1169 EXIST:!VMS:FUNCTION: | ||
1143 | PEM_read_bio_NS_CERT_SEQ 1169 EXIST:VMS:FUNCTION: | ||
1144 | PEM_write_NETSCAPE_CERT_SEQUENCE 1170 EXIST:!VMS,!WIN16:FUNCTION: | ||
1145 | PEM_write_NS_CERT_SEQ 1170 EXIST:VMS:FUNCTION: | ||
1146 | PEM_write_bio_NETSCAPE_CERT_SEQUENCE 1171 EXIST:!VMS:FUNCTION: | ||
1147 | PEM_write_bio_NS_CERT_SEQ 1171 EXIST:VMS:FUNCTION: | ||
1148 | X509V3_EXT_add 1172 EXIST::FUNCTION: | ||
1149 | X509V3_EXT_add_alias 1173 EXIST::FUNCTION: | ||
1150 | X509V3_EXT_add_conf 1174 EXIST::FUNCTION: | ||
1151 | X509V3_EXT_cleanup 1175 EXIST::FUNCTION: | ||
1152 | X509V3_EXT_conf 1176 EXIST::FUNCTION: | ||
1153 | X509V3_EXT_conf_nid 1177 EXIST::FUNCTION: | ||
1154 | X509V3_EXT_get 1178 EXIST::FUNCTION: | ||
1155 | X509V3_EXT_get_nid 1179 EXIST::FUNCTION: | ||
1156 | X509V3_EXT_print 1180 EXIST::FUNCTION: | ||
1157 | X509V3_EXT_print_fp 1181 EXIST::FUNCTION: | ||
1158 | X509V3_add_standard_extensions 1182 EXIST::FUNCTION: | ||
1159 | X509V3_add_value 1183 EXIST::FUNCTION: | ||
1160 | X509V3_add_value_bool 1184 EXIST::FUNCTION: | ||
1161 | X509V3_add_value_int 1185 EXIST::FUNCTION: | ||
1162 | X509V3_conf_free 1186 EXIST::FUNCTION: | ||
1163 | X509V3_get_value_bool 1187 EXIST::FUNCTION: | ||
1164 | X509V3_get_value_int 1188 EXIST::FUNCTION: | ||
1165 | X509V3_parse_list 1189 EXIST::FUNCTION: | ||
1166 | d2i_ASN1_GENERALIZEDTIME 1190 EXIST::FUNCTION: | ||
1167 | d2i_ASN1_TIME 1191 EXIST::FUNCTION: | ||
1168 | d2i_BASIC_CONSTRAINTS 1192 EXIST::FUNCTION: | ||
1169 | d2i_NETSCAPE_CERT_SEQUENCE 1193 EXIST::FUNCTION: | ||
1170 | d2i_ext_ku 1194 NOEXIST::FUNCTION: | ||
1171 | ext_ku_free 1195 NOEXIST::FUNCTION: | ||
1172 | ext_ku_new 1196 NOEXIST::FUNCTION: | ||
1173 | i2d_ASN1_GENERALIZEDTIME 1197 EXIST::FUNCTION: | ||
1174 | i2d_ASN1_TIME 1198 EXIST::FUNCTION: | ||
1175 | i2d_BASIC_CONSTRAINTS 1199 EXIST::FUNCTION: | ||
1176 | i2d_NETSCAPE_CERT_SEQUENCE 1200 EXIST::FUNCTION: | ||
1177 | i2d_ext_ku 1201 NOEXIST::FUNCTION: | ||
1178 | EVP_MD_CTX_copy 1202 EXIST::FUNCTION: | ||
1179 | i2d_ASN1_ENUMERATED 1203 EXIST::FUNCTION: | ||
1180 | d2i_ASN1_ENUMERATED 1204 EXIST::FUNCTION: | ||
1181 | ASN1_ENUMERATED_set 1205 EXIST::FUNCTION: | ||
1182 | ASN1_ENUMERATED_get 1206 EXIST::FUNCTION: | ||
1183 | BN_to_ASN1_ENUMERATED 1207 EXIST::FUNCTION: | ||
1184 | ASN1_ENUMERATED_to_BN 1208 EXIST::FUNCTION: | ||
1185 | i2a_ASN1_ENUMERATED 1209 EXIST::FUNCTION:BIO | ||
1186 | a2i_ASN1_ENUMERATED 1210 EXIST::FUNCTION:BIO | ||
1187 | i2d_GENERAL_NAME 1211 EXIST::FUNCTION: | ||
1188 | d2i_GENERAL_NAME 1212 EXIST::FUNCTION: | ||
1189 | GENERAL_NAME_new 1213 EXIST::FUNCTION: | ||
1190 | GENERAL_NAME_free 1214 EXIST::FUNCTION: | ||
1191 | GENERAL_NAMES_new 1215 EXIST::FUNCTION: | ||
1192 | GENERAL_NAMES_free 1216 EXIST::FUNCTION: | ||
1193 | d2i_GENERAL_NAMES 1217 EXIST::FUNCTION: | ||
1194 | i2d_GENERAL_NAMES 1218 EXIST::FUNCTION: | ||
1195 | i2v_GENERAL_NAMES 1219 EXIST::FUNCTION: | ||
1196 | i2s_ASN1_OCTET_STRING 1220 EXIST::FUNCTION: | ||
1197 | s2i_ASN1_OCTET_STRING 1221 EXIST::FUNCTION: | ||
1198 | X509V3_EXT_check_conf 1222 NOEXIST::FUNCTION: | ||
1199 | hex_to_string 1223 EXIST::FUNCTION: | ||
1200 | string_to_hex 1224 EXIST::FUNCTION: | ||
1201 | DES_ede3_cbcm_encrypt 1225 EXIST::FUNCTION:DES | ||
1202 | RSA_padding_add_PKCS1_OAEP 1226 EXIST::FUNCTION:RSA | ||
1203 | RSA_padding_check_PKCS1_OAEP 1227 EXIST::FUNCTION:RSA | ||
1204 | X509_CRL_print_fp 1228 EXIST::FUNCTION:FP_API | ||
1205 | X509_CRL_print 1229 EXIST::FUNCTION:BIO | ||
1206 | i2v_GENERAL_NAME 1230 EXIST::FUNCTION: | ||
1207 | v2i_GENERAL_NAME 1231 EXIST::FUNCTION: | ||
1208 | i2d_PKEY_USAGE_PERIOD 1232 EXIST::FUNCTION: | ||
1209 | d2i_PKEY_USAGE_PERIOD 1233 EXIST::FUNCTION: | ||
1210 | PKEY_USAGE_PERIOD_new 1234 EXIST::FUNCTION: | ||
1211 | PKEY_USAGE_PERIOD_free 1235 EXIST::FUNCTION: | ||
1212 | v2i_GENERAL_NAMES 1236 EXIST::FUNCTION: | ||
1213 | i2s_ASN1_INTEGER 1237 EXIST::FUNCTION: | ||
1214 | X509V3_EXT_d2i 1238 EXIST::FUNCTION: | ||
1215 | name_cmp 1239 EXIST::FUNCTION: | ||
1216 | str_dup 1240 NOEXIST::FUNCTION: | ||
1217 | i2s_ASN1_ENUMERATED 1241 EXIST::FUNCTION: | ||
1218 | i2s_ASN1_ENUMERATED_TABLE 1242 EXIST::FUNCTION: | ||
1219 | BIO_s_log 1243 EXIST:!OS2,!WIN16,!WIN32,!macintosh:FUNCTION: | ||
1220 | BIO_f_reliable 1244 EXIST::FUNCTION:BIO | ||
1221 | PKCS7_dataFinal 1245 EXIST::FUNCTION: | ||
1222 | PKCS7_dataDecode 1246 EXIST::FUNCTION: | ||
1223 | X509V3_EXT_CRL_add_conf 1247 EXIST::FUNCTION: | ||
1224 | BN_set_params 1248 EXIST::FUNCTION: | ||
1225 | BN_get_params 1249 EXIST::FUNCTION: | ||
1226 | BIO_get_ex_num 1250 NOEXIST::FUNCTION: | ||
1227 | BIO_set_ex_free_func 1251 NOEXIST::FUNCTION: | ||
1228 | EVP_ripemd160 1252 EXIST::FUNCTION:RIPEMD | ||
1229 | ASN1_TIME_set 1253 EXIST::FUNCTION: | ||
1230 | i2d_AUTHORITY_KEYID 1254 EXIST::FUNCTION: | ||
1231 | d2i_AUTHORITY_KEYID 1255 EXIST::FUNCTION: | ||
1232 | AUTHORITY_KEYID_new 1256 EXIST::FUNCTION: | ||
1233 | AUTHORITY_KEYID_free 1257 EXIST::FUNCTION: | ||
1234 | ASN1_seq_unpack 1258 EXIST::FUNCTION: | ||
1235 | ASN1_seq_pack 1259 EXIST::FUNCTION: | ||
1236 | ASN1_unpack_string 1260 EXIST::FUNCTION: | ||
1237 | ASN1_pack_string 1261 EXIST::FUNCTION: | ||
1238 | PKCS12_pack_safebag 1262 NOEXIST::FUNCTION: | ||
1239 | PKCS12_MAKE_KEYBAG 1263 EXIST::FUNCTION: | ||
1240 | PKCS8_encrypt 1264 EXIST::FUNCTION: | ||
1241 | PKCS12_MAKE_SHKEYBAG 1265 EXIST::FUNCTION: | ||
1242 | PKCS12_pack_p7data 1266 EXIST::FUNCTION: | ||
1243 | PKCS12_pack_p7encdata 1267 EXIST::FUNCTION: | ||
1244 | PKCS12_add_localkeyid 1268 EXIST::FUNCTION: | ||
1245 | PKCS12_add_friendlyname_asc 1269 EXIST::FUNCTION: | ||
1246 | PKCS12_add_friendlyname_uni 1270 EXIST::FUNCTION: | ||
1247 | PKCS12_get_friendlyname 1271 EXIST::FUNCTION: | ||
1248 | PKCS12_pbe_crypt 1272 EXIST::FUNCTION: | ||
1249 | PKCS12_decrypt_d2i 1273 NOEXIST::FUNCTION: | ||
1250 | PKCS12_i2d_encrypt 1274 NOEXIST::FUNCTION: | ||
1251 | PKCS12_init 1275 EXIST::FUNCTION: | ||
1252 | PKCS12_key_gen_asc 1276 EXIST::FUNCTION: | ||
1253 | PKCS12_key_gen_uni 1277 EXIST::FUNCTION: | ||
1254 | PKCS12_gen_mac 1278 EXIST::FUNCTION: | ||
1255 | PKCS12_verify_mac 1279 EXIST::FUNCTION: | ||
1256 | PKCS12_set_mac 1280 EXIST::FUNCTION: | ||
1257 | PKCS12_setup_mac 1281 EXIST::FUNCTION: | ||
1258 | asc2uni 1282 EXIST::FUNCTION: | ||
1259 | uni2asc 1283 EXIST::FUNCTION: | ||
1260 | i2d_PKCS12_BAGS 1284 EXIST::FUNCTION: | ||
1261 | PKCS12_BAGS_new 1285 EXIST::FUNCTION: | ||
1262 | d2i_PKCS12_BAGS 1286 EXIST::FUNCTION: | ||
1263 | PKCS12_BAGS_free 1287 EXIST::FUNCTION: | ||
1264 | i2d_PKCS12 1288 EXIST::FUNCTION: | ||
1265 | d2i_PKCS12 1289 EXIST::FUNCTION: | ||
1266 | PKCS12_new 1290 EXIST::FUNCTION: | ||
1267 | PKCS12_free 1291 EXIST::FUNCTION: | ||
1268 | i2d_PKCS12_MAC_DATA 1292 EXIST::FUNCTION: | ||
1269 | PKCS12_MAC_DATA_new 1293 EXIST::FUNCTION: | ||
1270 | d2i_PKCS12_MAC_DATA 1294 EXIST::FUNCTION: | ||
1271 | PKCS12_MAC_DATA_free 1295 EXIST::FUNCTION: | ||
1272 | i2d_PKCS12_SAFEBAG 1296 EXIST::FUNCTION: | ||
1273 | PKCS12_SAFEBAG_new 1297 EXIST::FUNCTION: | ||
1274 | d2i_PKCS12_SAFEBAG 1298 EXIST::FUNCTION: | ||
1275 | PKCS12_SAFEBAG_free 1299 EXIST::FUNCTION: | ||
1276 | ERR_load_PKCS12_strings 1300 EXIST::FUNCTION: | ||
1277 | PKCS12_PBE_add 1301 EXIST::FUNCTION: | ||
1278 | PKCS8_add_keyusage 1302 EXIST::FUNCTION: | ||
1279 | PKCS12_get_attr_gen 1303 EXIST::FUNCTION: | ||
1280 | PKCS12_parse 1304 EXIST::FUNCTION: | ||
1281 | PKCS12_create 1305 EXIST::FUNCTION: | ||
1282 | i2d_PKCS12_bio 1306 EXIST::FUNCTION: | ||
1283 | i2d_PKCS12_fp 1307 EXIST::FUNCTION: | ||
1284 | d2i_PKCS12_bio 1308 EXIST::FUNCTION: | ||
1285 | d2i_PKCS12_fp 1309 EXIST::FUNCTION: | ||
1286 | i2d_PBEPARAM 1310 EXIST::FUNCTION: | ||
1287 | PBEPARAM_new 1311 EXIST::FUNCTION: | ||
1288 | d2i_PBEPARAM 1312 EXIST::FUNCTION: | ||
1289 | PBEPARAM_free 1313 EXIST::FUNCTION: | ||
1290 | i2d_PKCS8_PRIV_KEY_INFO 1314 EXIST::FUNCTION: | ||
1291 | PKCS8_PRIV_KEY_INFO_new 1315 EXIST::FUNCTION: | ||
1292 | d2i_PKCS8_PRIV_KEY_INFO 1316 EXIST::FUNCTION: | ||
1293 | PKCS8_PRIV_KEY_INFO_free 1317 EXIST::FUNCTION: | ||
1294 | EVP_PKCS82PKEY 1318 EXIST::FUNCTION: | ||
1295 | EVP_PKEY2PKCS8 1319 EXIST::FUNCTION: | ||
1296 | PKCS8_set_broken 1320 EXIST::FUNCTION: | ||
1297 | EVP_PBE_ALGOR_CipherInit 1321 NOEXIST::FUNCTION: | ||
1298 | EVP_PBE_alg_add 1322 EXIST::FUNCTION: | ||
1299 | PKCS5_pbe_set 1323 EXIST::FUNCTION: | ||
1300 | EVP_PBE_cleanup 1324 EXIST::FUNCTION: | ||
1301 | i2d_SXNET 1325 EXIST::FUNCTION: | ||
1302 | d2i_SXNET 1326 EXIST::FUNCTION: | ||
1303 | SXNET_new 1327 EXIST::FUNCTION: | ||
1304 | SXNET_free 1328 EXIST::FUNCTION: | ||
1305 | i2d_SXNETID 1329 EXIST::FUNCTION: | ||
1306 | d2i_SXNETID 1330 EXIST::FUNCTION: | ||
1307 | SXNETID_new 1331 EXIST::FUNCTION: | ||
1308 | SXNETID_free 1332 EXIST::FUNCTION: | ||
1309 | DSA_SIG_new 1333 EXIST::FUNCTION:DSA | ||
1310 | DSA_SIG_free 1334 EXIST::FUNCTION:DSA | ||
1311 | DSA_do_sign 1335 EXIST::FUNCTION:DSA | ||
1312 | DSA_do_verify 1336 EXIST::FUNCTION:DSA | ||
1313 | d2i_DSA_SIG 1337 EXIST::FUNCTION:DSA | ||
1314 | i2d_DSA_SIG 1338 EXIST::FUNCTION:DSA | ||
1315 | i2d_ASN1_VISIBLESTRING 1339 EXIST::FUNCTION: | ||
1316 | d2i_ASN1_VISIBLESTRING 1340 EXIST::FUNCTION: | ||
1317 | i2d_ASN1_UTF8STRING 1341 EXIST::FUNCTION: | ||
1318 | d2i_ASN1_UTF8STRING 1342 EXIST::FUNCTION: | ||
1319 | i2d_DIRECTORYSTRING 1343 EXIST::FUNCTION: | ||
1320 | d2i_DIRECTORYSTRING 1344 EXIST::FUNCTION: | ||
1321 | i2d_DISPLAYTEXT 1345 EXIST::FUNCTION: | ||
1322 | d2i_DISPLAYTEXT 1346 EXIST::FUNCTION: | ||
1323 | d2i_ASN1_SET_OF_X509 1379 NOEXIST::FUNCTION: | ||
1324 | i2d_ASN1_SET_OF_X509 1380 NOEXIST::FUNCTION: | ||
1325 | i2d_PBKDF2PARAM 1397 EXIST::FUNCTION: | ||
1326 | PBKDF2PARAM_new 1398 EXIST::FUNCTION: | ||
1327 | d2i_PBKDF2PARAM 1399 EXIST::FUNCTION: | ||
1328 | PBKDF2PARAM_free 1400 EXIST::FUNCTION: | ||
1329 | i2d_PBE2PARAM 1401 EXIST::FUNCTION: | ||
1330 | PBE2PARAM_new 1402 EXIST::FUNCTION: | ||
1331 | d2i_PBE2PARAM 1403 EXIST::FUNCTION: | ||
1332 | PBE2PARAM_free 1404 EXIST::FUNCTION: | ||
1333 | d2i_ASN1_SET_OF_GENERAL_NAME 1421 NOEXIST::FUNCTION: | ||
1334 | i2d_ASN1_SET_OF_GENERAL_NAME 1422 NOEXIST::FUNCTION: | ||
1335 | d2i_ASN1_SET_OF_SXNETID 1439 NOEXIST::FUNCTION: | ||
1336 | i2d_ASN1_SET_OF_SXNETID 1440 NOEXIST::FUNCTION: | ||
1337 | d2i_ASN1_SET_OF_POLICYQUALINFO 1457 NOEXIST::FUNCTION: | ||
1338 | i2d_ASN1_SET_OF_POLICYQUALINFO 1458 NOEXIST::FUNCTION: | ||
1339 | d2i_ASN1_SET_OF_POLICYINFO 1475 NOEXIST::FUNCTION: | ||
1340 | i2d_ASN1_SET_OF_POLICYINFO 1476 NOEXIST::FUNCTION: | ||
1341 | SXNET_add_id_asc 1477 EXIST::FUNCTION: | ||
1342 | SXNET_add_id_ulong 1478 EXIST::FUNCTION: | ||
1343 | SXNET_add_id_INTEGER 1479 EXIST::FUNCTION: | ||
1344 | SXNET_get_id_asc 1480 EXIST::FUNCTION: | ||
1345 | SXNET_get_id_ulong 1481 EXIST::FUNCTION: | ||
1346 | SXNET_get_id_INTEGER 1482 EXIST::FUNCTION: | ||
1347 | X509V3_set_conf_lhash 1483 EXIST::FUNCTION: | ||
1348 | i2d_CERTIFICATEPOLICIES 1484 EXIST::FUNCTION: | ||
1349 | CERTIFICATEPOLICIES_new 1485 EXIST::FUNCTION: | ||
1350 | CERTIFICATEPOLICIES_free 1486 EXIST::FUNCTION: | ||
1351 | d2i_CERTIFICATEPOLICIES 1487 EXIST::FUNCTION: | ||
1352 | i2d_POLICYINFO 1488 EXIST::FUNCTION: | ||
1353 | POLICYINFO_new 1489 EXIST::FUNCTION: | ||
1354 | d2i_POLICYINFO 1490 EXIST::FUNCTION: | ||
1355 | POLICYINFO_free 1491 EXIST::FUNCTION: | ||
1356 | i2d_POLICYQUALINFO 1492 EXIST::FUNCTION: | ||
1357 | POLICYQUALINFO_new 1493 EXIST::FUNCTION: | ||
1358 | d2i_POLICYQUALINFO 1494 EXIST::FUNCTION: | ||
1359 | POLICYQUALINFO_free 1495 EXIST::FUNCTION: | ||
1360 | i2d_USERNOTICE 1496 EXIST::FUNCTION: | ||
1361 | USERNOTICE_new 1497 EXIST::FUNCTION: | ||
1362 | d2i_USERNOTICE 1498 EXIST::FUNCTION: | ||
1363 | USERNOTICE_free 1499 EXIST::FUNCTION: | ||
1364 | i2d_NOTICEREF 1500 EXIST::FUNCTION: | ||
1365 | NOTICEREF_new 1501 EXIST::FUNCTION: | ||
1366 | d2i_NOTICEREF 1502 EXIST::FUNCTION: | ||
1367 | NOTICEREF_free 1503 EXIST::FUNCTION: | ||
1368 | X509V3_get_string 1504 EXIST::FUNCTION: | ||
1369 | X509V3_get_section 1505 EXIST::FUNCTION: | ||
1370 | X509V3_string_free 1506 EXIST::FUNCTION: | ||
1371 | X509V3_section_free 1507 EXIST::FUNCTION: | ||
1372 | X509V3_set_ctx 1508 EXIST::FUNCTION: | ||
1373 | s2i_ASN1_INTEGER 1509 EXIST::FUNCTION: | ||
1374 | CRYPTO_set_locked_mem_functions 1510 EXIST::FUNCTION: | ||
1375 | CRYPTO_get_locked_mem_functions 1511 EXIST::FUNCTION: | ||
1376 | CRYPTO_malloc_locked 1512 EXIST::FUNCTION: | ||
1377 | CRYPTO_free_locked 1513 EXIST::FUNCTION: | ||
1378 | BN_mod_exp2_mont 1514 EXIST::FUNCTION: | ||
1379 | ERR_get_error_line_data 1515 EXIST::FUNCTION: | ||
1380 | ERR_peek_error_line_data 1516 EXIST::FUNCTION: | ||
1381 | PKCS12_PBE_keyivgen 1517 EXIST::FUNCTION: | ||
1382 | X509_ALGOR_dup 1518 EXIST::FUNCTION: | ||
1383 | d2i_ASN1_SET_OF_DIST_POINT 1535 NOEXIST::FUNCTION: | ||
1384 | i2d_ASN1_SET_OF_DIST_POINT 1536 NOEXIST::FUNCTION: | ||
1385 | i2d_CRL_DIST_POINTS 1537 EXIST::FUNCTION: | ||
1386 | CRL_DIST_POINTS_new 1538 EXIST::FUNCTION: | ||
1387 | CRL_DIST_POINTS_free 1539 EXIST::FUNCTION: | ||
1388 | d2i_CRL_DIST_POINTS 1540 EXIST::FUNCTION: | ||
1389 | i2d_DIST_POINT 1541 EXIST::FUNCTION: | ||
1390 | DIST_POINT_new 1542 EXIST::FUNCTION: | ||
1391 | d2i_DIST_POINT 1543 EXIST::FUNCTION: | ||
1392 | DIST_POINT_free 1544 EXIST::FUNCTION: | ||
1393 | i2d_DIST_POINT_NAME 1545 EXIST::FUNCTION: | ||
1394 | DIST_POINT_NAME_new 1546 EXIST::FUNCTION: | ||
1395 | DIST_POINT_NAME_free 1547 EXIST::FUNCTION: | ||
1396 | d2i_DIST_POINT_NAME 1548 EXIST::FUNCTION: | ||
1397 | X509V3_add_value_uchar 1549 EXIST::FUNCTION: | ||
1398 | d2i_ASN1_SET_OF_X509_ATTRIBUTE 1555 NOEXIST::FUNCTION: | ||
1399 | i2d_ASN1_SET_OF_ASN1_TYPE 1560 NOEXIST::FUNCTION: | ||
1400 | d2i_ASN1_SET_OF_X509_EXTENSION 1567 NOEXIST::FUNCTION: | ||
1401 | d2i_ASN1_SET_OF_X509_NAME_ENTRY 1574 NOEXIST::FUNCTION: | ||
1402 | d2i_ASN1_SET_OF_ASN1_TYPE 1589 NOEXIST::FUNCTION: | ||
1403 | i2d_ASN1_SET_OF_X509_ATTRIBUTE 1615 NOEXIST::FUNCTION: | ||
1404 | i2d_ASN1_SET_OF_X509_EXTENSION 1624 NOEXIST::FUNCTION: | ||
1405 | i2d_ASN1_SET_OF_X509_NAME_ENTRY 1633 NOEXIST::FUNCTION: | ||
1406 | X509V3_EXT_i2d 1646 EXIST::FUNCTION: | ||
1407 | X509V3_EXT_val_prn 1647 EXIST::FUNCTION: | ||
1408 | X509V3_EXT_add_list 1648 EXIST::FUNCTION: | ||
1409 | EVP_CIPHER_type 1649 EXIST::FUNCTION: | ||
1410 | EVP_PBE_CipherInit 1650 EXIST::FUNCTION: | ||
1411 | X509V3_add_value_bool_nf 1651 EXIST::FUNCTION: | ||
1412 | d2i_ASN1_UINTEGER 1652 EXIST::FUNCTION: | ||
1413 | sk_value 1653 EXIST::FUNCTION: | ||
1414 | sk_num 1654 EXIST::FUNCTION: | ||
1415 | sk_set 1655 EXIST::FUNCTION: | ||
1416 | i2d_ASN1_SET_OF_X509_REVOKED 1661 NOEXIST::FUNCTION: | ||
1417 | sk_sort 1671 EXIST::FUNCTION: | ||
1418 | d2i_ASN1_SET_OF_X509_REVOKED 1674 NOEXIST::FUNCTION: | ||
1419 | i2d_ASN1_SET_OF_X509_ALGOR 1682 NOEXIST::FUNCTION: | ||
1420 | i2d_ASN1_SET_OF_X509_CRL 1685 NOEXIST::FUNCTION: | ||
1421 | d2i_ASN1_SET_OF_X509_ALGOR 1696 NOEXIST::FUNCTION: | ||
1422 | d2i_ASN1_SET_OF_X509_CRL 1702 NOEXIST::FUNCTION: | ||
1423 | i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO 1723 NOEXIST::FUNCTION: | ||
1424 | i2d_ASN1_SET_OF_PKCS7_RECIP_INFO 1738 NOEXIST::FUNCTION: | ||
1425 | d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO 1748 NOEXIST::FUNCTION: | ||
1426 | d2i_ASN1_SET_OF_PKCS7_RECIP_INFO 1753 NOEXIST::FUNCTION: | ||
1427 | PKCS5_PBE_add 1775 EXIST::FUNCTION: | ||
1428 | PEM_write_bio_PKCS8 1776 EXIST::FUNCTION: | ||
1429 | i2d_PKCS8_fp 1777 EXIST::FUNCTION:FP_API | ||
1430 | PEM_read_bio_PKCS8_PRIV_KEY_INFO 1778 EXIST:!VMS:FUNCTION: | ||
1431 | PEM_read_bio_P8_PRIV_KEY_INFO 1778 EXIST:VMS:FUNCTION: | ||
1432 | d2i_PKCS8_bio 1779 EXIST::FUNCTION:BIO | ||
1433 | d2i_PKCS8_PRIV_KEY_INFO_fp 1780 EXIST::FUNCTION:FP_API | ||
1434 | PEM_write_bio_PKCS8_PRIV_KEY_INFO 1781 EXIST:!VMS:FUNCTION: | ||
1435 | PEM_write_bio_P8_PRIV_KEY_INFO 1781 EXIST:VMS:FUNCTION: | ||
1436 | PEM_read_PKCS8 1782 EXIST:!WIN16:FUNCTION: | ||
1437 | d2i_PKCS8_PRIV_KEY_INFO_bio 1783 EXIST::FUNCTION:BIO | ||
1438 | d2i_PKCS8_fp 1784 EXIST::FUNCTION:FP_API | ||
1439 | PEM_write_PKCS8 1785 EXIST:!WIN16:FUNCTION: | ||
1440 | PEM_read_PKCS8_PRIV_KEY_INFO 1786 EXIST:!VMS,!WIN16:FUNCTION: | ||
1441 | PEM_read_P8_PRIV_KEY_INFO 1786 EXIST:VMS:FUNCTION: | ||
1442 | PEM_read_bio_PKCS8 1787 EXIST::FUNCTION: | ||
1443 | PEM_write_PKCS8_PRIV_KEY_INFO 1788 EXIST:!VMS,!WIN16:FUNCTION: | ||
1444 | PEM_write_P8_PRIV_KEY_INFO 1788 EXIST:VMS:FUNCTION: | ||
1445 | PKCS5_PBE_keyivgen 1789 EXIST::FUNCTION: | ||
1446 | i2d_PKCS8_bio 1790 EXIST::FUNCTION:BIO | ||
1447 | i2d_PKCS8_PRIV_KEY_INFO_fp 1791 EXIST::FUNCTION:FP_API | ||
1448 | i2d_PKCS8_PRIV_KEY_INFO_bio 1792 EXIST::FUNCTION:BIO | ||
1449 | BIO_s_bio 1793 EXIST::FUNCTION: | ||
1450 | PKCS5_pbe2_set 1794 EXIST::FUNCTION: | ||
1451 | PKCS5_PBKDF2_HMAC_SHA1 1795 EXIST::FUNCTION: | ||
1452 | PKCS5_v2_PBE_keyivgen 1796 EXIST::FUNCTION: | ||
1453 | PEM_write_bio_PKCS8PrivateKey 1797 EXIST::FUNCTION: | ||
1454 | PEM_write_PKCS8PrivateKey 1798 EXIST::FUNCTION: | ||
1455 | BIO_ctrl_get_read_request 1799 EXIST::FUNCTION: | ||
1456 | BIO_ctrl_pending 1800 EXIST::FUNCTION: | ||
1457 | BIO_ctrl_wpending 1801 EXIST::FUNCTION: | ||
1458 | BIO_new_bio_pair 1802 EXIST::FUNCTION: | ||
1459 | BIO_ctrl_get_write_guarantee 1803 EXIST::FUNCTION: | ||
1460 | CRYPTO_num_locks 1804 EXIST::FUNCTION: | ||
1461 | CONF_load_bio 1805 EXIST::FUNCTION: | ||
1462 | CONF_load_fp 1806 EXIST::FUNCTION:FP_API | ||
1463 | i2d_ASN1_SET_OF_ASN1_OBJECT 1837 NOEXIST::FUNCTION: | ||
1464 | d2i_ASN1_SET_OF_ASN1_OBJECT 1844 NOEXIST::FUNCTION: | ||
1465 | PKCS7_signatureVerify 1845 EXIST::FUNCTION: | ||
1466 | RSA_set_method 1846 EXIST::FUNCTION:RSA | ||
1467 | RSA_get_method 1847 EXIST::FUNCTION:RSA | ||
1468 | RSA_get_default_method 1848 EXIST::FUNCTION:RSA | ||
1469 | RSA_check_key 1869 EXIST::FUNCTION:RSA | ||
1470 | OBJ_obj2txt 1870 EXIST::FUNCTION: | ||
1471 | DSA_dup_DH 1871 EXIST::FUNCTION:DH,DSA | ||
1472 | X509_REQ_get_extensions 1872 EXIST::FUNCTION: | ||
1473 | X509_REQ_set_extension_nids 1873 EXIST::FUNCTION: | ||
1474 | BIO_nwrite 1874 EXIST::FUNCTION: | ||
1475 | X509_REQ_extension_nid 1875 EXIST::FUNCTION: | ||
1476 | BIO_nread 1876 EXIST::FUNCTION: | ||
1477 | X509_REQ_get_extension_nids 1877 EXIST::FUNCTION: | ||
1478 | BIO_nwrite0 1878 EXIST::FUNCTION: | ||
1479 | X509_REQ_add_extensions_nid 1879 EXIST::FUNCTION: | ||
1480 | BIO_nread0 1880 EXIST::FUNCTION: | ||
1481 | X509_REQ_add_extensions 1881 EXIST::FUNCTION: | ||
1482 | BIO_new_mem_buf 1882 EXIST::FUNCTION: | ||
1483 | DH_set_ex_data 1883 EXIST::FUNCTION:DH | ||
1484 | DH_set_method 1884 EXIST::FUNCTION:DH | ||
1485 | DSA_OpenSSL 1885 EXIST::FUNCTION:DSA | ||
1486 | DH_get_ex_data 1886 EXIST::FUNCTION:DH | ||
1487 | DH_get_ex_new_index 1887 EXIST::FUNCTION:DH | ||
1488 | DSA_new_method 1888 EXIST::FUNCTION:DSA | ||
1489 | DH_new_method 1889 EXIST::FUNCTION:DH | ||
1490 | DH_OpenSSL 1890 EXIST::FUNCTION:DH | ||
1491 | DSA_get_ex_new_index 1891 EXIST::FUNCTION:DSA | ||
1492 | DH_get_default_method 1892 EXIST::FUNCTION:DH | ||
1493 | DSA_set_ex_data 1893 EXIST::FUNCTION:DSA | ||
1494 | DH_set_default_method 1894 EXIST::FUNCTION:DH | ||
1495 | DSA_get_ex_data 1895 EXIST::FUNCTION:DSA | ||
1496 | X509V3_EXT_REQ_add_conf 1896 EXIST::FUNCTION: | ||
1497 | NETSCAPE_SPKI_print 1897 EXIST::FUNCTION:EVP | ||
1498 | NETSCAPE_SPKI_set_pubkey 1898 EXIST::FUNCTION:EVP | ||
1499 | NETSCAPE_SPKI_b64_encode 1899 EXIST::FUNCTION:EVP | ||
1500 | NETSCAPE_SPKI_get_pubkey 1900 EXIST::FUNCTION:EVP | ||
1501 | NETSCAPE_SPKI_b64_decode 1901 EXIST::FUNCTION:EVP | ||
1502 | UTF8_putc 1902 EXIST::FUNCTION: | ||
1503 | UTF8_getc 1903 EXIST::FUNCTION: | ||
1504 | RSA_null_method 1904 EXIST::FUNCTION:RSA | ||
1505 | ASN1_tag2str 1905 EXIST::FUNCTION: | ||
1506 | BIO_ctrl_reset_read_request 1906 EXIST::FUNCTION: | ||
1507 | DISPLAYTEXT_new 1907 EXIST::FUNCTION: | ||
1508 | ASN1_GENERALIZEDTIME_free 1908 EXIST::FUNCTION: | ||
1509 | X509_REVOKED_get_ext_d2i 1909 EXIST::FUNCTION: | ||
1510 | X509_set_ex_data 1910 EXIST::FUNCTION: | ||
1511 | X509_reject_set_bit_asc 1911 NOEXIST::FUNCTION: | ||
1512 | X509_NAME_add_entry_by_txt 1912 EXIST::FUNCTION: | ||
1513 | X509_NAME_add_entry_by_NID 1914 EXIST::FUNCTION: | ||
1514 | X509_PURPOSE_get0 1915 EXIST::FUNCTION: | ||
1515 | PEM_read_X509_AUX 1917 EXIST:!WIN16:FUNCTION: | ||
1516 | d2i_AUTHORITY_INFO_ACCESS 1918 EXIST::FUNCTION: | ||
1517 | PEM_write_PUBKEY 1921 EXIST:!WIN16:FUNCTION: | ||
1518 | ACCESS_DESCRIPTION_new 1925 EXIST::FUNCTION: | ||
1519 | X509_CERT_AUX_free 1926 EXIST::FUNCTION: | ||
1520 | d2i_ACCESS_DESCRIPTION 1927 EXIST::FUNCTION: | ||
1521 | X509_trust_clear 1928 EXIST::FUNCTION: | ||
1522 | X509_TRUST_add 1931 EXIST::FUNCTION: | ||
1523 | ASN1_VISIBLESTRING_new 1932 EXIST::FUNCTION: | ||
1524 | X509_alias_set1 1933 EXIST::FUNCTION: | ||
1525 | ASN1_PRINTABLESTRING_free 1934 EXIST::FUNCTION: | ||
1526 | EVP_PKEY_get1_DSA 1935 EXIST::FUNCTION:DSA | ||
1527 | ASN1_BMPSTRING_new 1936 EXIST::FUNCTION: | ||
1528 | ASN1_mbstring_copy 1937 EXIST::FUNCTION: | ||
1529 | ASN1_UTF8STRING_new 1938 EXIST::FUNCTION: | ||
1530 | DSA_get_default_method 1941 EXIST::FUNCTION:DSA | ||
1531 | i2d_ASN1_SET_OF_ACCESS_DESCRIPTION 1945 NOEXIST::FUNCTION: | ||
1532 | ASN1_T61STRING_free 1946 EXIST::FUNCTION: | ||
1533 | DSA_set_method 1949 EXIST::FUNCTION:DSA | ||
1534 | X509_get_ex_data 1950 EXIST::FUNCTION: | ||
1535 | ASN1_STRING_type 1951 EXIST::FUNCTION: | ||
1536 | X509_PURPOSE_get_by_sname 1952 EXIST::FUNCTION: | ||
1537 | ASN1_TIME_free 1954 EXIST::FUNCTION: | ||
1538 | ASN1_OCTET_STRING_cmp 1955 EXIST::FUNCTION: | ||
1539 | ASN1_BIT_STRING_new 1957 EXIST::FUNCTION: | ||
1540 | X509_get_ext_d2i 1958 EXIST::FUNCTION: | ||
1541 | PEM_read_bio_X509_AUX 1959 EXIST::FUNCTION: | ||
1542 | ASN1_STRING_set_default_mask_asc 1960 EXIST:!VMS:FUNCTION: | ||
1543 | ASN1_STRING_set_def_mask_asc 1960 EXIST:VMS:FUNCTION: | ||
1544 | PEM_write_bio_RSA_PUBKEY 1961 EXIST::FUNCTION:RSA | ||
1545 | ASN1_INTEGER_cmp 1963 EXIST::FUNCTION: | ||
1546 | d2i_RSA_PUBKEY_fp 1964 EXIST::FUNCTION:FP_API,RSA | ||
1547 | X509_trust_set_bit_asc 1967 NOEXIST::FUNCTION: | ||
1548 | PEM_write_bio_DSA_PUBKEY 1968 EXIST::FUNCTION:DSA | ||
1549 | X509_STORE_CTX_free 1969 EXIST::FUNCTION: | ||
1550 | EVP_PKEY_set1_DSA 1970 EXIST::FUNCTION:DSA | ||
1551 | i2d_DSA_PUBKEY_fp 1971 EXIST::FUNCTION:DSA,FP_API | ||
1552 | X509_load_cert_crl_file 1972 EXIST::FUNCTION:STDIO | ||
1553 | ASN1_TIME_new 1973 EXIST::FUNCTION: | ||
1554 | i2d_RSA_PUBKEY 1974 EXIST::FUNCTION:RSA | ||
1555 | X509_STORE_CTX_purpose_inherit 1976 EXIST::FUNCTION: | ||
1556 | PEM_read_RSA_PUBKEY 1977 EXIST:!WIN16:FUNCTION:RSA | ||
1557 | d2i_X509_AUX 1980 EXIST::FUNCTION: | ||
1558 | i2d_DSA_PUBKEY 1981 EXIST::FUNCTION:DSA | ||
1559 | X509_CERT_AUX_print 1982 EXIST::FUNCTION:BIO | ||
1560 | PEM_read_DSA_PUBKEY 1984 EXIST:!WIN16:FUNCTION:DSA | ||
1561 | i2d_RSA_PUBKEY_bio 1985 EXIST::FUNCTION:BIO,RSA | ||
1562 | ASN1_BIT_STRING_num_asc 1986 EXIST::FUNCTION: | ||
1563 | i2d_PUBKEY 1987 EXIST::FUNCTION: | ||
1564 | ASN1_UTCTIME_free 1988 EXIST::FUNCTION: | ||
1565 | DSA_set_default_method 1989 EXIST::FUNCTION:DSA | ||
1566 | X509_PURPOSE_get_by_id 1990 EXIST::FUNCTION: | ||
1567 | ACCESS_DESCRIPTION_free 1994 EXIST::FUNCTION: | ||
1568 | PEM_read_bio_PUBKEY 1995 EXIST::FUNCTION: | ||
1569 | ASN1_STRING_set_by_NID 1996 EXIST::FUNCTION: | ||
1570 | X509_PURPOSE_get_id 1997 EXIST::FUNCTION: | ||
1571 | DISPLAYTEXT_free 1998 EXIST::FUNCTION: | ||
1572 | OTHERNAME_new 1999 EXIST::FUNCTION: | ||
1573 | X509_CERT_AUX_new 2001 EXIST::FUNCTION: | ||
1574 | X509_TRUST_cleanup 2007 EXIST::FUNCTION: | ||
1575 | X509_NAME_add_entry_by_OBJ 2008 EXIST::FUNCTION: | ||
1576 | X509_CRL_get_ext_d2i 2009 EXIST::FUNCTION: | ||
1577 | X509_PURPOSE_get0_name 2011 EXIST::FUNCTION: | ||
1578 | PEM_read_PUBKEY 2012 EXIST:!WIN16:FUNCTION: | ||
1579 | i2d_DSA_PUBKEY_bio 2014 EXIST::FUNCTION:BIO,DSA | ||
1580 | i2d_OTHERNAME 2015 EXIST::FUNCTION: | ||
1581 | ASN1_OCTET_STRING_free 2016 EXIST::FUNCTION: | ||
1582 | ASN1_BIT_STRING_set_asc 2017 EXIST::FUNCTION: | ||
1583 | X509_get_ex_new_index 2019 EXIST::FUNCTION: | ||
1584 | ASN1_STRING_TABLE_cleanup 2020 EXIST::FUNCTION: | ||
1585 | X509_TRUST_get_by_id 2021 EXIST::FUNCTION: | ||
1586 | X509_PURPOSE_get_trust 2022 EXIST::FUNCTION: | ||
1587 | ASN1_STRING_length 2023 EXIST::FUNCTION: | ||
1588 | d2i_ASN1_SET_OF_ACCESS_DESCRIPTION 2024 NOEXIST::FUNCTION: | ||
1589 | ASN1_PRINTABLESTRING_new 2025 EXIST::FUNCTION: | ||
1590 | X509V3_get_d2i 2026 EXIST::FUNCTION: | ||
1591 | ASN1_ENUMERATED_free 2027 EXIST::FUNCTION: | ||
1592 | i2d_X509_CERT_AUX 2028 EXIST::FUNCTION: | ||
1593 | X509_STORE_CTX_set_trust 2030 EXIST::FUNCTION: | ||
1594 | ASN1_STRING_set_default_mask 2032 EXIST::FUNCTION: | ||
1595 | X509_STORE_CTX_new 2033 EXIST::FUNCTION: | ||
1596 | EVP_PKEY_get1_RSA 2034 EXIST::FUNCTION:RSA | ||
1597 | DIRECTORYSTRING_free 2038 EXIST::FUNCTION: | ||
1598 | PEM_write_X509_AUX 2039 EXIST:!WIN16:FUNCTION: | ||
1599 | ASN1_OCTET_STRING_set 2040 EXIST::FUNCTION: | ||
1600 | d2i_DSA_PUBKEY_fp 2041 EXIST::FUNCTION:DSA,FP_API | ||
1601 | d2i_RSA_PUBKEY 2044 EXIST::FUNCTION:RSA | ||
1602 | X509_TRUST_get0_name 2046 EXIST::FUNCTION: | ||
1603 | X509_TRUST_get0 2047 EXIST::FUNCTION: | ||
1604 | AUTHORITY_INFO_ACCESS_free 2048 EXIST::FUNCTION: | ||
1605 | ASN1_IA5STRING_new 2049 EXIST::FUNCTION: | ||
1606 | d2i_DSA_PUBKEY 2050 EXIST::FUNCTION:DSA | ||
1607 | X509_check_purpose 2051 EXIST::FUNCTION: | ||
1608 | ASN1_ENUMERATED_new 2052 EXIST::FUNCTION: | ||
1609 | d2i_RSA_PUBKEY_bio 2053 EXIST::FUNCTION:BIO,RSA | ||
1610 | d2i_PUBKEY 2054 EXIST::FUNCTION: | ||
1611 | X509_TRUST_get_trust 2055 EXIST::FUNCTION: | ||
1612 | X509_TRUST_get_flags 2056 EXIST::FUNCTION: | ||
1613 | ASN1_BMPSTRING_free 2057 EXIST::FUNCTION: | ||
1614 | ASN1_T61STRING_new 2058 EXIST::FUNCTION: | ||
1615 | ASN1_UTCTIME_new 2060 EXIST::FUNCTION: | ||
1616 | i2d_AUTHORITY_INFO_ACCESS 2062 EXIST::FUNCTION: | ||
1617 | EVP_PKEY_set1_RSA 2063 EXIST::FUNCTION:RSA | ||
1618 | X509_STORE_CTX_set_purpose 2064 EXIST::FUNCTION: | ||
1619 | ASN1_IA5STRING_free 2065 EXIST::FUNCTION: | ||
1620 | PEM_write_bio_X509_AUX 2066 EXIST::FUNCTION: | ||
1621 | X509_PURPOSE_get_count 2067 EXIST::FUNCTION: | ||
1622 | CRYPTO_add_info 2068 NOEXIST::FUNCTION: | ||
1623 | X509_NAME_ENTRY_create_by_txt 2071 EXIST::FUNCTION: | ||
1624 | ASN1_STRING_get_default_mask 2072 EXIST::FUNCTION: | ||
1625 | X509_alias_get0 2074 EXIST::FUNCTION: | ||
1626 | ASN1_STRING_data 2075 EXIST::FUNCTION: | ||
1627 | i2d_ACCESS_DESCRIPTION 2077 EXIST::FUNCTION: | ||
1628 | X509_trust_set_bit 2078 NOEXIST::FUNCTION: | ||
1629 | ASN1_BIT_STRING_free 2080 EXIST::FUNCTION: | ||
1630 | PEM_read_bio_RSA_PUBKEY 2081 EXIST::FUNCTION:RSA | ||
1631 | X509_add1_reject_object 2082 EXIST::FUNCTION: | ||
1632 | X509_check_trust 2083 EXIST::FUNCTION: | ||
1633 | PEM_read_bio_DSA_PUBKEY 2088 EXIST::FUNCTION:DSA | ||
1634 | X509_PURPOSE_add 2090 EXIST::FUNCTION: | ||
1635 | ASN1_STRING_TABLE_get 2091 EXIST::FUNCTION: | ||
1636 | ASN1_UTF8STRING_free 2092 EXIST::FUNCTION: | ||
1637 | d2i_DSA_PUBKEY_bio 2093 EXIST::FUNCTION:BIO,DSA | ||
1638 | PEM_write_RSA_PUBKEY 2095 EXIST:!WIN16:FUNCTION:RSA | ||
1639 | d2i_OTHERNAME 2096 EXIST::FUNCTION: | ||
1640 | X509_reject_set_bit 2098 NOEXIST::FUNCTION: | ||
1641 | PEM_write_DSA_PUBKEY 2101 EXIST:!WIN16:FUNCTION:DSA | ||
1642 | X509_PURPOSE_get0_sname 2105 EXIST::FUNCTION: | ||
1643 | EVP_PKEY_set1_DH 2107 EXIST::FUNCTION:DH | ||
1644 | ASN1_OCTET_STRING_dup 2108 EXIST::FUNCTION: | ||
1645 | ASN1_BIT_STRING_set 2109 EXIST::FUNCTION: | ||
1646 | X509_TRUST_get_count 2110 EXIST::FUNCTION: | ||
1647 | ASN1_INTEGER_free 2111 EXIST::FUNCTION: | ||
1648 | OTHERNAME_free 2112 EXIST::FUNCTION: | ||
1649 | i2d_RSA_PUBKEY_fp 2113 EXIST::FUNCTION:FP_API,RSA | ||
1650 | ASN1_INTEGER_dup 2114 EXIST::FUNCTION: | ||
1651 | d2i_X509_CERT_AUX 2115 EXIST::FUNCTION: | ||
1652 | PEM_write_bio_PUBKEY 2117 EXIST::FUNCTION: | ||
1653 | ASN1_VISIBLESTRING_free 2118 EXIST::FUNCTION: | ||
1654 | X509_PURPOSE_cleanup 2119 EXIST::FUNCTION: | ||
1655 | ASN1_mbstring_ncopy 2123 EXIST::FUNCTION: | ||
1656 | ASN1_GENERALIZEDTIME_new 2126 EXIST::FUNCTION: | ||
1657 | EVP_PKEY_get1_DH 2128 EXIST::FUNCTION:DH | ||
1658 | ASN1_OCTET_STRING_new 2130 EXIST::FUNCTION: | ||
1659 | ASN1_INTEGER_new 2131 EXIST::FUNCTION: | ||
1660 | i2d_X509_AUX 2132 EXIST::FUNCTION: | ||
1661 | ASN1_BIT_STRING_name_print 2134 EXIST::FUNCTION:BIO | ||
1662 | X509_cmp 2135 EXIST::FUNCTION: | ||
1663 | ASN1_STRING_length_set 2136 EXIST::FUNCTION: | ||
1664 | DIRECTORYSTRING_new 2137 EXIST::FUNCTION: | ||
1665 | X509_add1_trust_object 2140 EXIST::FUNCTION: | ||
1666 | PKCS12_newpass 2141 EXIST::FUNCTION: | ||
1667 | SMIME_write_PKCS7 2142 EXIST::FUNCTION: | ||
1668 | SMIME_read_PKCS7 2143 EXIST::FUNCTION: | ||
1669 | DES_set_key_checked 2144 EXIST::FUNCTION:DES | ||
1670 | PKCS7_verify 2145 EXIST::FUNCTION: | ||
1671 | PKCS7_encrypt 2146 EXIST::FUNCTION: | ||
1672 | DES_set_key_unchecked 2147 EXIST::FUNCTION:DES | ||
1673 | SMIME_crlf_copy 2148 EXIST::FUNCTION: | ||
1674 | i2d_ASN1_PRINTABLESTRING 2149 EXIST::FUNCTION: | ||
1675 | PKCS7_get0_signers 2150 EXIST::FUNCTION: | ||
1676 | PKCS7_decrypt 2151 EXIST::FUNCTION: | ||
1677 | SMIME_text 2152 EXIST::FUNCTION: | ||
1678 | PKCS7_simple_smimecap 2153 EXIST::FUNCTION: | ||
1679 | PKCS7_get_smimecap 2154 EXIST::FUNCTION: | ||
1680 | PKCS7_sign 2155 EXIST::FUNCTION: | ||
1681 | PKCS7_add_attrib_smimecap 2156 EXIST::FUNCTION: | ||
1682 | CRYPTO_dbg_set_options 2157 EXIST::FUNCTION: | ||
1683 | CRYPTO_remove_all_info 2158 EXIST::FUNCTION: | ||
1684 | CRYPTO_get_mem_debug_functions 2159 EXIST::FUNCTION: | ||
1685 | CRYPTO_is_mem_check_on 2160 EXIST::FUNCTION: | ||
1686 | CRYPTO_set_mem_debug_functions 2161 EXIST::FUNCTION: | ||
1687 | CRYPTO_pop_info 2162 EXIST::FUNCTION: | ||
1688 | CRYPTO_push_info_ 2163 EXIST::FUNCTION: | ||
1689 | CRYPTO_set_mem_debug_options 2164 EXIST::FUNCTION: | ||
1690 | PEM_write_PKCS8PrivateKey_nid 2165 EXIST::FUNCTION: | ||
1691 | PEM_write_bio_PKCS8PrivateKey_nid 2166 EXIST:!VMS:FUNCTION: | ||
1692 | PEM_write_bio_PKCS8PrivKey_nid 2166 EXIST:VMS:FUNCTION: | ||
1693 | d2i_PKCS8PrivateKey_bio 2167 EXIST::FUNCTION: | ||
1694 | ASN1_NULL_free 2168 EXIST::FUNCTION: | ||
1695 | d2i_ASN1_NULL 2169 EXIST::FUNCTION: | ||
1696 | ASN1_NULL_new 2170 EXIST::FUNCTION: | ||
1697 | i2d_PKCS8PrivateKey_bio 2171 EXIST::FUNCTION: | ||
1698 | i2d_PKCS8PrivateKey_fp 2172 EXIST::FUNCTION: | ||
1699 | i2d_ASN1_NULL 2173 EXIST::FUNCTION: | ||
1700 | i2d_PKCS8PrivateKey_nid_fp 2174 EXIST::FUNCTION: | ||
1701 | d2i_PKCS8PrivateKey_fp 2175 EXIST::FUNCTION: | ||
1702 | i2d_PKCS8PrivateKey_nid_bio 2176 EXIST::FUNCTION: | ||
1703 | i2d_PKCS8PrivateKeyInfo_fp 2177 EXIST::FUNCTION:FP_API | ||
1704 | i2d_PKCS8PrivateKeyInfo_bio 2178 EXIST::FUNCTION:BIO | ||
1705 | PEM_cb 2179 NOEXIST::FUNCTION: | ||
1706 | i2d_PrivateKey_fp 2180 EXIST::FUNCTION:FP_API | ||
1707 | d2i_PrivateKey_bio 2181 EXIST::FUNCTION:BIO | ||
1708 | d2i_PrivateKey_fp 2182 EXIST::FUNCTION:FP_API | ||
1709 | i2d_PrivateKey_bio 2183 EXIST::FUNCTION:BIO | ||
1710 | X509_reject_clear 2184 EXIST::FUNCTION: | ||
1711 | X509_TRUST_set_default 2185 EXIST::FUNCTION: | ||
1712 | d2i_AutoPrivateKey 2186 EXIST::FUNCTION: | ||
1713 | X509_ATTRIBUTE_get0_type 2187 EXIST::FUNCTION: | ||
1714 | X509_ATTRIBUTE_set1_data 2188 EXIST::FUNCTION: | ||
1715 | X509at_get_attr 2189 EXIST::FUNCTION: | ||
1716 | X509at_get_attr_count 2190 EXIST::FUNCTION: | ||
1717 | X509_ATTRIBUTE_create_by_NID 2191 EXIST::FUNCTION: | ||
1718 | X509_ATTRIBUTE_set1_object 2192 EXIST::FUNCTION: | ||
1719 | X509_ATTRIBUTE_count 2193 EXIST::FUNCTION: | ||
1720 | X509_ATTRIBUTE_create_by_OBJ 2194 EXIST::FUNCTION: | ||
1721 | X509_ATTRIBUTE_get0_object 2195 EXIST::FUNCTION: | ||
1722 | X509at_get_attr_by_NID 2196 EXIST::FUNCTION: | ||
1723 | X509at_add1_attr 2197 EXIST::FUNCTION: | ||
1724 | X509_ATTRIBUTE_get0_data 2198 EXIST::FUNCTION: | ||
1725 | X509at_delete_attr 2199 EXIST::FUNCTION: | ||
1726 | X509at_get_attr_by_OBJ 2200 EXIST::FUNCTION: | ||
1727 | RAND_add 2201 EXIST::FUNCTION: | ||
1728 | BIO_number_written 2202 EXIST::FUNCTION: | ||
1729 | BIO_number_read 2203 EXIST::FUNCTION: | ||
1730 | X509_STORE_CTX_get1_chain 2204 EXIST::FUNCTION: | ||
1731 | ERR_load_RAND_strings 2205 EXIST::FUNCTION: | ||
1732 | RAND_pseudo_bytes 2206 EXIST::FUNCTION: | ||
1733 | X509_REQ_get_attr_by_NID 2207 EXIST::FUNCTION: | ||
1734 | X509_REQ_get_attr 2208 EXIST::FUNCTION: | ||
1735 | X509_REQ_add1_attr_by_NID 2209 EXIST::FUNCTION: | ||
1736 | X509_REQ_get_attr_by_OBJ 2210 EXIST::FUNCTION: | ||
1737 | X509at_add1_attr_by_NID 2211 EXIST::FUNCTION: | ||
1738 | X509_REQ_add1_attr_by_OBJ 2212 EXIST::FUNCTION: | ||
1739 | X509_REQ_get_attr_count 2213 EXIST::FUNCTION: | ||
1740 | X509_REQ_add1_attr 2214 EXIST::FUNCTION: | ||
1741 | X509_REQ_delete_attr 2215 EXIST::FUNCTION: | ||
1742 | X509at_add1_attr_by_OBJ 2216 EXIST::FUNCTION: | ||
1743 | X509_REQ_add1_attr_by_txt 2217 EXIST::FUNCTION: | ||
1744 | X509_ATTRIBUTE_create_by_txt 2218 EXIST::FUNCTION: | ||
1745 | X509at_add1_attr_by_txt 2219 EXIST::FUNCTION: | ||
1746 | BN_pseudo_rand 2239 EXIST::FUNCTION: | ||
1747 | BN_is_prime_fasttest 2240 EXIST::FUNCTION: | ||
1748 | BN_CTX_end 2241 EXIST::FUNCTION: | ||
1749 | BN_CTX_start 2242 EXIST::FUNCTION: | ||
1750 | BN_CTX_get 2243 EXIST::FUNCTION: | ||
1751 | EVP_PKEY2PKCS8_broken 2244 EXIST::FUNCTION: | ||
1752 | ASN1_STRING_TABLE_add 2245 EXIST::FUNCTION: | ||
1753 | CRYPTO_dbg_get_options 2246 EXIST::FUNCTION: | ||
1754 | AUTHORITY_INFO_ACCESS_new 2247 EXIST::FUNCTION: | ||
1755 | CRYPTO_get_mem_debug_options 2248 EXIST::FUNCTION: | ||
1756 | DES_crypt 2249 EXIST::FUNCTION:DES | ||
1757 | PEM_write_bio_X509_REQ_NEW 2250 EXIST::FUNCTION: | ||
1758 | PEM_write_X509_REQ_NEW 2251 EXIST:!WIN16:FUNCTION: | ||
1759 | BIO_callback_ctrl 2252 EXIST::FUNCTION: | ||
1760 | RAND_egd 2253 EXIST::FUNCTION: | ||
1761 | RAND_status 2254 EXIST::FUNCTION: | ||
1762 | bn_dump1 2255 NOEXIST::FUNCTION: | ||
1763 | DES_check_key_parity 2256 EXIST::FUNCTION:DES | ||
1764 | lh_num_items 2257 EXIST::FUNCTION: | ||
1765 | RAND_event 2258 EXIST:WIN32:FUNCTION: | ||
1766 | DSO_new 2259 EXIST::FUNCTION: | ||
1767 | DSO_new_method 2260 EXIST::FUNCTION: | ||
1768 | DSO_free 2261 EXIST::FUNCTION: | ||
1769 | DSO_flags 2262 EXIST::FUNCTION: | ||
1770 | DSO_up 2263 NOEXIST::FUNCTION: | ||
1771 | DSO_set_default_method 2264 EXIST::FUNCTION: | ||
1772 | DSO_get_default_method 2265 EXIST::FUNCTION: | ||
1773 | DSO_get_method 2266 EXIST::FUNCTION: | ||
1774 | DSO_set_method 2267 EXIST::FUNCTION: | ||
1775 | DSO_load 2268 EXIST::FUNCTION: | ||
1776 | DSO_bind_var 2269 EXIST::FUNCTION: | ||
1777 | DSO_METHOD_null 2270 EXIST::FUNCTION: | ||
1778 | DSO_METHOD_openssl 2271 EXIST::FUNCTION: | ||
1779 | DSO_METHOD_dlfcn 2272 EXIST::FUNCTION: | ||
1780 | DSO_METHOD_win32 2273 EXIST::FUNCTION: | ||
1781 | ERR_load_DSO_strings 2274 EXIST::FUNCTION: | ||
1782 | DSO_METHOD_dl 2275 EXIST::FUNCTION: | ||
1783 | NCONF_load 2276 EXIST::FUNCTION: | ||
1784 | NCONF_load_fp 2278 EXIST::FUNCTION:FP_API | ||
1785 | NCONF_new 2279 EXIST::FUNCTION: | ||
1786 | NCONF_get_string 2280 EXIST::FUNCTION: | ||
1787 | NCONF_free 2281 EXIST::FUNCTION: | ||
1788 | NCONF_get_number 2282 NOEXIST::FUNCTION: | ||
1789 | CONF_dump_fp 2283 EXIST::FUNCTION: | ||
1790 | NCONF_load_bio 2284 EXIST::FUNCTION: | ||
1791 | NCONF_dump_fp 2285 EXIST::FUNCTION: | ||
1792 | NCONF_get_section 2286 EXIST::FUNCTION: | ||
1793 | NCONF_dump_bio 2287 EXIST::FUNCTION: | ||
1794 | CONF_dump_bio 2288 EXIST::FUNCTION: | ||
1795 | NCONF_free_data 2289 EXIST::FUNCTION: | ||
1796 | CONF_set_default_method 2290 EXIST::FUNCTION: | ||
1797 | ERR_error_string_n 2291 EXIST::FUNCTION: | ||
1798 | BIO_snprintf 2292 EXIST::FUNCTION: | ||
1799 | DSO_ctrl 2293 EXIST::FUNCTION: | ||
1800 | i2d_ASN1_SET_OF_ASN1_INTEGER 2317 NOEXIST::FUNCTION: | ||
1801 | i2d_ASN1_SET_OF_PKCS12_SAFEBAG 2320 NOEXIST::FUNCTION: | ||
1802 | i2d_ASN1_SET_OF_PKCS7 2328 NOEXIST::FUNCTION: | ||
1803 | BIO_vfree 2334 EXIST::FUNCTION: | ||
1804 | d2i_ASN1_SET_OF_ASN1_INTEGER 2339 NOEXIST::FUNCTION: | ||
1805 | d2i_ASN1_SET_OF_PKCS12_SAFEBAG 2341 NOEXIST::FUNCTION: | ||
1806 | ASN1_UTCTIME_get 2350 NOEXIST::FUNCTION: | ||
1807 | X509_REQ_digest 2362 EXIST::FUNCTION:EVP | ||
1808 | X509_CRL_digest 2391 EXIST::FUNCTION:EVP | ||
1809 | d2i_ASN1_SET_OF_PKCS7 2397 NOEXIST::FUNCTION: | ||
1810 | EVP_CIPHER_CTX_set_key_length 2399 EXIST::FUNCTION: | ||
1811 | EVP_CIPHER_CTX_ctrl 2400 EXIST::FUNCTION: | ||
1812 | BN_mod_exp_mont_word 2401 EXIST::FUNCTION: | ||
1813 | RAND_egd_bytes 2402 EXIST::FUNCTION: | ||
1814 | X509_REQ_get1_email 2403 EXIST::FUNCTION: | ||
1815 | X509_get1_email 2404 EXIST::FUNCTION: | ||
1816 | X509_email_free 2405 EXIST::FUNCTION: | ||
1817 | i2d_RSA_NET 2406 EXIST::FUNCTION:RSA | ||
1818 | d2i_RSA_NET_2 2407 NOEXIST::FUNCTION: | ||
1819 | d2i_RSA_NET 2408 EXIST::FUNCTION:RSA | ||
1820 | DSO_bind_func 2409 EXIST::FUNCTION: | ||
1821 | CRYPTO_get_new_dynlockid 2410 EXIST::FUNCTION: | ||
1822 | sk_new_null 2411 EXIST::FUNCTION: | ||
1823 | CRYPTO_set_dynlock_destroy_callback 2412 EXIST:!VMS:FUNCTION: | ||
1824 | CRYPTO_set_dynlock_destroy_cb 2412 EXIST:VMS:FUNCTION: | ||
1825 | CRYPTO_destroy_dynlockid 2413 EXIST::FUNCTION: | ||
1826 | CRYPTO_set_dynlock_size 2414 NOEXIST::FUNCTION: | ||
1827 | CRYPTO_set_dynlock_create_callback 2415 EXIST:!VMS:FUNCTION: | ||
1828 | CRYPTO_set_dynlock_create_cb 2415 EXIST:VMS:FUNCTION: | ||
1829 | CRYPTO_set_dynlock_lock_callback 2416 EXIST:!VMS:FUNCTION: | ||
1830 | CRYPTO_set_dynlock_lock_cb 2416 EXIST:VMS:FUNCTION: | ||
1831 | CRYPTO_get_dynlock_lock_callback 2417 EXIST:!VMS:FUNCTION: | ||
1832 | CRYPTO_get_dynlock_lock_cb 2417 EXIST:VMS:FUNCTION: | ||
1833 | CRYPTO_get_dynlock_destroy_callback 2418 EXIST:!VMS:FUNCTION: | ||
1834 | CRYPTO_get_dynlock_destroy_cb 2418 EXIST:VMS:FUNCTION: | ||
1835 | CRYPTO_get_dynlock_value 2419 EXIST::FUNCTION: | ||
1836 | CRYPTO_get_dynlock_create_callback 2420 EXIST:!VMS:FUNCTION: | ||
1837 | CRYPTO_get_dynlock_create_cb 2420 EXIST:VMS:FUNCTION: | ||
1838 | c2i_ASN1_BIT_STRING 2421 EXIST::FUNCTION: | ||
1839 | i2c_ASN1_BIT_STRING 2422 EXIST::FUNCTION: | ||
1840 | RAND_poll 2423 EXIST::FUNCTION: | ||
1841 | c2i_ASN1_INTEGER 2424 EXIST::FUNCTION: | ||
1842 | i2c_ASN1_INTEGER 2425 EXIST::FUNCTION: | ||
1843 | BIO_dump_indent 2426 EXIST::FUNCTION: | ||
1844 | ASN1_parse_dump 2427 EXIST::FUNCTION:BIO | ||
1845 | c2i_ASN1_OBJECT 2428 EXIST::FUNCTION: | ||
1846 | X509_NAME_print_ex_fp 2429 EXIST::FUNCTION:FP_API | ||
1847 | ASN1_STRING_print_ex_fp 2430 EXIST::FUNCTION:FP_API | ||
1848 | X509_NAME_print_ex 2431 EXIST::FUNCTION:BIO | ||
1849 | ASN1_STRING_print_ex 2432 EXIST::FUNCTION:BIO | ||
1850 | MD4 2433 EXIST::FUNCTION:MD4 | ||
1851 | MD4_Transform 2434 EXIST::FUNCTION:MD4 | ||
1852 | MD4_Final 2435 EXIST::FUNCTION:MD4 | ||
1853 | MD4_Update 2436 EXIST::FUNCTION:MD4 | ||
1854 | MD4_Init 2437 EXIST::FUNCTION:MD4 | ||
1855 | EVP_md4 2438 EXIST::FUNCTION:MD4 | ||
1856 | i2d_PUBKEY_bio 2439 EXIST::FUNCTION:BIO | ||
1857 | i2d_PUBKEY_fp 2440 EXIST::FUNCTION:FP_API | ||
1858 | d2i_PUBKEY_bio 2441 EXIST::FUNCTION:BIO | ||
1859 | ASN1_STRING_to_UTF8 2442 EXIST::FUNCTION: | ||
1860 | BIO_vprintf 2443 EXIST::FUNCTION: | ||
1861 | BIO_vsnprintf 2444 EXIST::FUNCTION: | ||
1862 | d2i_PUBKEY_fp 2445 EXIST::FUNCTION:FP_API | ||
1863 | X509_cmp_time 2446 EXIST::FUNCTION: | ||
1864 | X509_STORE_CTX_set_time 2447 EXIST::FUNCTION: | ||
1865 | X509_STORE_CTX_get1_issuer 2448 EXIST::FUNCTION: | ||
1866 | X509_OBJECT_retrieve_match 2449 EXIST::FUNCTION: | ||
1867 | X509_OBJECT_idx_by_subject 2450 EXIST::FUNCTION: | ||
1868 | X509_STORE_CTX_set_flags 2451 EXIST::FUNCTION: | ||
1869 | X509_STORE_CTX_trusted_stack 2452 EXIST::FUNCTION: | ||
1870 | X509_time_adj 2453 EXIST::FUNCTION: | ||
1871 | X509_check_issued 2454 EXIST::FUNCTION: | ||
1872 | ASN1_UTCTIME_cmp_time_t 2455 EXIST::FUNCTION: | ||
1873 | DES_set_weak_key_flag 2456 NOEXIST::FUNCTION: | ||
1874 | DES_check_key 2457 NOEXIST::FUNCTION: | ||
1875 | DES_rw_mode 2458 NOEXIST::FUNCTION: | ||
1876 | RSA_PKCS1_RSAref 2459 NOEXIST::FUNCTION: | ||
1877 | X509_keyid_set1 2460 EXIST::FUNCTION: | ||
1878 | BIO_next 2461 EXIST::FUNCTION: | ||
1879 | DSO_METHOD_vms 2462 EXIST::FUNCTION: | ||
1880 | BIO_f_linebuffer 2463 EXIST:VMS:FUNCTION: | ||
1881 | BN_bntest_rand 2464 EXIST::FUNCTION: | ||
1882 | OPENSSL_issetugid 2465 EXIST::FUNCTION: | ||
1883 | BN_rand_range 2466 EXIST::FUNCTION: | ||
1884 | ERR_load_ENGINE_strings 2467 EXIST::FUNCTION:ENGINE | ||
1885 | ENGINE_set_DSA 2468 EXIST::FUNCTION:ENGINE | ||
1886 | ENGINE_get_finish_function 2469 EXIST::FUNCTION:ENGINE | ||
1887 | ENGINE_get_default_RSA 2470 EXIST::FUNCTION:ENGINE | ||
1888 | ENGINE_get_BN_mod_exp 2471 NOEXIST::FUNCTION: | ||
1889 | DSA_get_default_openssl_method 2472 NOEXIST::FUNCTION: | ||
1890 | ENGINE_set_DH 2473 EXIST::FUNCTION:ENGINE | ||
1891 | ENGINE_set_def_BN_mod_exp_crt 2474 NOEXIST::FUNCTION: | ||
1892 | ENGINE_set_default_BN_mod_exp_crt 2474 NOEXIST::FUNCTION: | ||
1893 | ENGINE_init 2475 EXIST::FUNCTION:ENGINE | ||
1894 | DH_get_default_openssl_method 2476 NOEXIST::FUNCTION: | ||
1895 | RSA_set_default_openssl_method 2477 NOEXIST::FUNCTION: | ||
1896 | ENGINE_finish 2478 EXIST::FUNCTION:ENGINE | ||
1897 | ENGINE_load_public_key 2479 EXIST::FUNCTION:ENGINE | ||
1898 | ENGINE_get_DH 2480 EXIST::FUNCTION:ENGINE | ||
1899 | ENGINE_ctrl 2481 EXIST::FUNCTION:ENGINE | ||
1900 | ENGINE_get_init_function 2482 EXIST::FUNCTION:ENGINE | ||
1901 | ENGINE_set_init_function 2483 EXIST::FUNCTION:ENGINE | ||
1902 | ENGINE_set_default_DSA 2484 EXIST::FUNCTION:ENGINE | ||
1903 | ENGINE_get_name 2485 EXIST::FUNCTION:ENGINE | ||
1904 | ENGINE_get_last 2486 EXIST::FUNCTION:ENGINE | ||
1905 | ENGINE_get_prev 2487 EXIST::FUNCTION:ENGINE | ||
1906 | ENGINE_get_default_DH 2488 EXIST::FUNCTION:ENGINE | ||
1907 | ENGINE_get_RSA 2489 EXIST::FUNCTION:ENGINE | ||
1908 | ENGINE_set_default 2490 EXIST::FUNCTION:ENGINE | ||
1909 | ENGINE_get_RAND 2491 EXIST::FUNCTION:ENGINE | ||
1910 | ENGINE_get_first 2492 EXIST::FUNCTION:ENGINE | ||
1911 | ENGINE_by_id 2493 EXIST::FUNCTION:ENGINE | ||
1912 | ENGINE_set_finish_function 2494 EXIST::FUNCTION:ENGINE | ||
1913 | ENGINE_get_def_BN_mod_exp_crt 2495 NOEXIST::FUNCTION: | ||
1914 | ENGINE_get_default_BN_mod_exp_crt 2495 NOEXIST::FUNCTION: | ||
1915 | RSA_get_default_openssl_method 2496 NOEXIST::FUNCTION: | ||
1916 | ENGINE_set_RSA 2497 EXIST::FUNCTION:ENGINE | ||
1917 | ENGINE_load_private_key 2498 EXIST::FUNCTION:ENGINE | ||
1918 | ENGINE_set_default_RAND 2499 EXIST::FUNCTION:ENGINE | ||
1919 | ENGINE_set_BN_mod_exp 2500 NOEXIST::FUNCTION: | ||
1920 | ENGINE_remove 2501 EXIST::FUNCTION:ENGINE | ||
1921 | ENGINE_free 2502 EXIST::FUNCTION:ENGINE | ||
1922 | ENGINE_get_BN_mod_exp_crt 2503 NOEXIST::FUNCTION: | ||
1923 | ENGINE_get_next 2504 EXIST::FUNCTION:ENGINE | ||
1924 | ENGINE_set_name 2505 EXIST::FUNCTION:ENGINE | ||
1925 | ENGINE_get_default_DSA 2506 EXIST::FUNCTION:ENGINE | ||
1926 | ENGINE_set_default_BN_mod_exp 2507 NOEXIST::FUNCTION: | ||
1927 | ENGINE_set_default_RSA 2508 EXIST::FUNCTION:ENGINE | ||
1928 | ENGINE_get_default_RAND 2509 EXIST::FUNCTION:ENGINE | ||
1929 | ENGINE_get_default_BN_mod_exp 2510 NOEXIST::FUNCTION: | ||
1930 | ENGINE_set_RAND 2511 EXIST::FUNCTION:ENGINE | ||
1931 | ENGINE_set_id 2512 EXIST::FUNCTION:ENGINE | ||
1932 | ENGINE_set_BN_mod_exp_crt 2513 NOEXIST::FUNCTION: | ||
1933 | ENGINE_set_default_DH 2514 EXIST::FUNCTION:ENGINE | ||
1934 | ENGINE_new 2515 EXIST::FUNCTION:ENGINE | ||
1935 | ENGINE_get_id 2516 EXIST::FUNCTION:ENGINE | ||
1936 | DSA_set_default_openssl_method 2517 NOEXIST::FUNCTION: | ||
1937 | ENGINE_add 2518 EXIST::FUNCTION:ENGINE | ||
1938 | DH_set_default_openssl_method 2519 NOEXIST::FUNCTION: | ||
1939 | ENGINE_get_DSA 2520 EXIST::FUNCTION:ENGINE | ||
1940 | ENGINE_get_ctrl_function 2521 EXIST::FUNCTION:ENGINE | ||
1941 | ENGINE_set_ctrl_function 2522 EXIST::FUNCTION:ENGINE | ||
1942 | BN_pseudo_rand_range 2523 EXIST::FUNCTION: | ||
1943 | X509_STORE_CTX_set_verify_cb 2524 EXIST::FUNCTION: | ||
1944 | ERR_load_COMP_strings 2525 EXIST::FUNCTION: | ||
1945 | PKCS12_item_decrypt_d2i 2526 EXIST::FUNCTION: | ||
1946 | ASN1_UTF8STRING_it 2527 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
1947 | ASN1_UTF8STRING_it 2527 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
1948 | ENGINE_unregister_ciphers 2528 EXIST::FUNCTION:ENGINE | ||
1949 | ENGINE_get_ciphers 2529 EXIST::FUNCTION:ENGINE | ||
1950 | d2i_OCSP_BASICRESP 2530 EXIST::FUNCTION: | ||
1951 | KRB5_CHECKSUM_it 2531 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
1952 | KRB5_CHECKSUM_it 2531 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
1953 | EC_POINT_add 2532 EXIST::FUNCTION:EC | ||
1954 | ASN1_item_ex_i2d 2533 EXIST::FUNCTION: | ||
1955 | OCSP_CERTID_it 2534 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
1956 | OCSP_CERTID_it 2534 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
1957 | d2i_OCSP_RESPBYTES 2535 EXIST::FUNCTION: | ||
1958 | X509V3_add1_i2d 2536 EXIST::FUNCTION: | ||
1959 | PKCS7_ENVELOPE_it 2537 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
1960 | PKCS7_ENVELOPE_it 2537 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
1961 | UI_add_input_boolean 2538 EXIST::FUNCTION: | ||
1962 | ENGINE_unregister_RSA 2539 EXIST::FUNCTION:ENGINE | ||
1963 | X509V3_EXT_nconf 2540 EXIST::FUNCTION: | ||
1964 | ASN1_GENERALSTRING_free 2541 EXIST::FUNCTION: | ||
1965 | d2i_OCSP_CERTSTATUS 2542 EXIST::FUNCTION: | ||
1966 | X509_REVOKED_set_serialNumber 2543 EXIST::FUNCTION: | ||
1967 | X509_print_ex 2544 EXIST::FUNCTION:BIO | ||
1968 | OCSP_ONEREQ_get1_ext_d2i 2545 EXIST::FUNCTION: | ||
1969 | ENGINE_register_all_RAND 2546 EXIST::FUNCTION:ENGINE | ||
1970 | ENGINE_load_dynamic 2547 EXIST::FUNCTION:ENGINE | ||
1971 | PBKDF2PARAM_it 2548 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
1972 | PBKDF2PARAM_it 2548 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
1973 | EXTENDED_KEY_USAGE_new 2549 EXIST::FUNCTION: | ||
1974 | EC_GROUP_clear_free 2550 EXIST::FUNCTION:EC | ||
1975 | OCSP_sendreq_bio 2551 EXIST::FUNCTION: | ||
1976 | ASN1_item_digest 2552 EXIST::FUNCTION:EVP | ||
1977 | OCSP_BASICRESP_delete_ext 2553 EXIST::FUNCTION: | ||
1978 | OCSP_SIGNATURE_it 2554 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
1979 | OCSP_SIGNATURE_it 2554 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
1980 | X509_CRL_it 2555 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
1981 | X509_CRL_it 2555 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
1982 | OCSP_BASICRESP_add_ext 2556 EXIST::FUNCTION: | ||
1983 | KRB5_ENCKEY_it 2557 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
1984 | KRB5_ENCKEY_it 2557 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
1985 | UI_method_set_closer 2558 EXIST::FUNCTION: | ||
1986 | X509_STORE_set_purpose 2559 EXIST::FUNCTION: | ||
1987 | i2d_ASN1_GENERALSTRING 2560 EXIST::FUNCTION: | ||
1988 | OCSP_response_status 2561 EXIST::FUNCTION: | ||
1989 | i2d_OCSP_SERVICELOC 2562 EXIST::FUNCTION: | ||
1990 | ENGINE_get_digest_engine 2563 EXIST::FUNCTION:ENGINE | ||
1991 | EC_GROUP_set_curve_GFp 2564 EXIST::FUNCTION:EC | ||
1992 | OCSP_REQUEST_get_ext_by_OBJ 2565 EXIST::FUNCTION: | ||
1993 | _ossl_old_des_random_key 2566 EXIST::FUNCTION:DES | ||
1994 | ASN1_T61STRING_it 2567 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
1995 | ASN1_T61STRING_it 2567 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
1996 | EC_GROUP_method_of 2568 EXIST::FUNCTION:EC | ||
1997 | i2d_KRB5_APREQ 2569 EXIST::FUNCTION: | ||
1998 | _ossl_old_des_encrypt 2570 EXIST::FUNCTION:DES | ||
1999 | ASN1_PRINTABLE_new 2571 EXIST::FUNCTION: | ||
2000 | HMAC_Init_ex 2572 EXIST::FUNCTION:HMAC | ||
2001 | d2i_KRB5_AUTHENT 2573 EXIST::FUNCTION: | ||
2002 | OCSP_archive_cutoff_new 2574 EXIST::FUNCTION: | ||
2003 | EC_POINT_set_Jprojective_coordinates_GFp 2575 EXIST:!VMS:FUNCTION:EC | ||
2004 | EC_POINT_set_Jproj_coords_GFp 2575 EXIST:VMS:FUNCTION:EC | ||
2005 | _ossl_old_des_is_weak_key 2576 EXIST::FUNCTION:DES | ||
2006 | OCSP_BASICRESP_get_ext_by_OBJ 2577 EXIST::FUNCTION: | ||
2007 | EC_POINT_oct2point 2578 EXIST::FUNCTION:EC | ||
2008 | OCSP_SINGLERESP_get_ext_count 2579 EXIST::FUNCTION: | ||
2009 | UI_ctrl 2580 EXIST::FUNCTION: | ||
2010 | _shadow_DES_rw_mode 2581 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:DES | ||
2011 | _shadow_DES_rw_mode 2581 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:DES | ||
2012 | asn1_do_adb 2582 EXIST::FUNCTION: | ||
2013 | ASN1_template_i2d 2583 EXIST::FUNCTION: | ||
2014 | ENGINE_register_DH 2584 EXIST::FUNCTION:ENGINE | ||
2015 | UI_construct_prompt 2585 EXIST::FUNCTION: | ||
2016 | X509_STORE_set_trust 2586 EXIST::FUNCTION: | ||
2017 | UI_dup_input_string 2587 EXIST::FUNCTION: | ||
2018 | d2i_KRB5_APREQ 2588 EXIST::FUNCTION: | ||
2019 | EVP_MD_CTX_copy_ex 2589 EXIST::FUNCTION: | ||
2020 | OCSP_request_is_signed 2590 EXIST::FUNCTION: | ||
2021 | i2d_OCSP_REQINFO 2591 EXIST::FUNCTION: | ||
2022 | KRB5_ENCKEY_free 2592 EXIST::FUNCTION: | ||
2023 | OCSP_resp_get0 2593 EXIST::FUNCTION: | ||
2024 | GENERAL_NAME_it 2594 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2025 | GENERAL_NAME_it 2594 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2026 | ASN1_GENERALIZEDTIME_it 2595 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2027 | ASN1_GENERALIZEDTIME_it 2595 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2028 | X509_STORE_set_flags 2596 EXIST::FUNCTION: | ||
2029 | EC_POINT_set_compressed_coordinates_GFp 2597 EXIST:!VMS:FUNCTION:EC | ||
2030 | EC_POINT_set_compr_coords_GFp 2597 EXIST:VMS:FUNCTION:EC | ||
2031 | OCSP_response_status_str 2598 EXIST::FUNCTION: | ||
2032 | d2i_OCSP_REVOKEDINFO 2599 EXIST::FUNCTION: | ||
2033 | OCSP_basic_add1_cert 2600 EXIST::FUNCTION: | ||
2034 | ERR_get_implementation 2601 EXIST::FUNCTION: | ||
2035 | EVP_CipherFinal_ex 2602 EXIST::FUNCTION: | ||
2036 | OCSP_CERTSTATUS_new 2603 EXIST::FUNCTION: | ||
2037 | CRYPTO_cleanup_all_ex_data 2604 EXIST::FUNCTION: | ||
2038 | OCSP_resp_find 2605 EXIST::FUNCTION: | ||
2039 | BN_nnmod 2606 EXIST::FUNCTION: | ||
2040 | X509_CRL_sort 2607 EXIST::FUNCTION: | ||
2041 | X509_REVOKED_set_revocationDate 2608 EXIST::FUNCTION: | ||
2042 | ENGINE_register_RAND 2609 EXIST::FUNCTION:ENGINE | ||
2043 | OCSP_SERVICELOC_new 2610 EXIST::FUNCTION: | ||
2044 | EC_POINT_set_affine_coordinates_GFp 2611 EXIST:!VMS:FUNCTION:EC | ||
2045 | EC_POINT_set_affine_coords_GFp 2611 EXIST:VMS:FUNCTION:EC | ||
2046 | _ossl_old_des_options 2612 EXIST::FUNCTION:DES | ||
2047 | SXNET_it 2613 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2048 | SXNET_it 2613 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2049 | UI_dup_input_boolean 2614 EXIST::FUNCTION: | ||
2050 | PKCS12_add_CSPName_asc 2615 EXIST::FUNCTION: | ||
2051 | EC_POINT_is_at_infinity 2616 EXIST::FUNCTION:EC | ||
2052 | ENGINE_load_cryptodev 2617 EXIST::FUNCTION:ENGINE | ||
2053 | DSO_convert_filename 2618 EXIST::FUNCTION: | ||
2054 | POLICYQUALINFO_it 2619 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2055 | POLICYQUALINFO_it 2619 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2056 | ENGINE_register_ciphers 2620 EXIST::FUNCTION:ENGINE | ||
2057 | BN_mod_lshift_quick 2621 EXIST::FUNCTION: | ||
2058 | DSO_set_filename 2622 EXIST::FUNCTION: | ||
2059 | ASN1_item_free 2623 EXIST::FUNCTION: | ||
2060 | KRB5_TKTBODY_free 2624 EXIST::FUNCTION: | ||
2061 | AUTHORITY_KEYID_it 2625 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2062 | AUTHORITY_KEYID_it 2625 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2063 | KRB5_APREQBODY_new 2626 EXIST::FUNCTION: | ||
2064 | X509V3_EXT_REQ_add_nconf 2627 EXIST::FUNCTION: | ||
2065 | ENGINE_ctrl_cmd_string 2628 EXIST::FUNCTION:ENGINE | ||
2066 | i2d_OCSP_RESPDATA 2629 EXIST::FUNCTION: | ||
2067 | EVP_MD_CTX_init 2630 EXIST::FUNCTION: | ||
2068 | EXTENDED_KEY_USAGE_free 2631 EXIST::FUNCTION: | ||
2069 | PKCS7_ATTR_SIGN_it 2632 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2070 | PKCS7_ATTR_SIGN_it 2632 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2071 | UI_add_error_string 2633 EXIST::FUNCTION: | ||
2072 | KRB5_CHECKSUM_free 2634 EXIST::FUNCTION: | ||
2073 | OCSP_REQUEST_get_ext 2635 EXIST::FUNCTION: | ||
2074 | ENGINE_load_ubsec 2636 EXIST::FUNCTION:ENGINE | ||
2075 | ENGINE_register_all_digests 2637 EXIST::FUNCTION:ENGINE | ||
2076 | PKEY_USAGE_PERIOD_it 2638 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2077 | PKEY_USAGE_PERIOD_it 2638 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2078 | PKCS12_unpack_authsafes 2639 EXIST::FUNCTION: | ||
2079 | ASN1_item_unpack 2640 EXIST::FUNCTION: | ||
2080 | NETSCAPE_SPKAC_it 2641 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2081 | NETSCAPE_SPKAC_it 2641 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2082 | X509_REVOKED_it 2642 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2083 | X509_REVOKED_it 2642 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2084 | ASN1_STRING_encode 2643 EXIST::FUNCTION: | ||
2085 | EVP_aes_128_ecb 2644 EXIST::FUNCTION:AES | ||
2086 | KRB5_AUTHENT_free 2645 EXIST::FUNCTION: | ||
2087 | OCSP_BASICRESP_get_ext_by_critical 2646 EXIST:!VMS:FUNCTION: | ||
2088 | OCSP_BASICRESP_get_ext_by_crit 2646 EXIST:VMS:FUNCTION: | ||
2089 | OCSP_cert_status_str 2647 EXIST::FUNCTION: | ||
2090 | d2i_OCSP_REQUEST 2648 EXIST::FUNCTION: | ||
2091 | UI_dup_info_string 2649 EXIST::FUNCTION: | ||
2092 | _ossl_old_des_xwhite_in2out 2650 EXIST::FUNCTION:DES | ||
2093 | PKCS12_it 2651 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2094 | PKCS12_it 2651 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2095 | OCSP_SINGLERESP_get_ext_by_critical 2652 EXIST:!VMS:FUNCTION: | ||
2096 | OCSP_SINGLERESP_get_ext_by_crit 2652 EXIST:VMS:FUNCTION: | ||
2097 | OCSP_CERTSTATUS_free 2653 EXIST::FUNCTION: | ||
2098 | _ossl_old_des_crypt 2654 EXIST::FUNCTION:DES | ||
2099 | ASN1_item_i2d 2655 EXIST::FUNCTION: | ||
2100 | EVP_DecryptFinal_ex 2656 EXIST::FUNCTION: | ||
2101 | ENGINE_load_openssl 2657 EXIST::FUNCTION:ENGINE | ||
2102 | ENGINE_get_cmd_defns 2658 EXIST::FUNCTION:ENGINE | ||
2103 | ENGINE_set_load_privkey_function 2659 EXIST:!VMS:FUNCTION:ENGINE | ||
2104 | ENGINE_set_load_privkey_fn 2659 EXIST:VMS:FUNCTION:ENGINE | ||
2105 | EVP_EncryptFinal_ex 2660 EXIST::FUNCTION: | ||
2106 | ENGINE_set_default_digests 2661 EXIST::FUNCTION:ENGINE | ||
2107 | X509_get0_pubkey_bitstr 2662 EXIST::FUNCTION: | ||
2108 | asn1_ex_i2c 2663 EXIST::FUNCTION: | ||
2109 | ENGINE_register_RSA 2664 EXIST::FUNCTION:ENGINE | ||
2110 | ENGINE_unregister_DSA 2665 EXIST::FUNCTION:ENGINE | ||
2111 | _ossl_old_des_key_sched 2666 EXIST::FUNCTION:DES | ||
2112 | X509_EXTENSION_it 2667 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2113 | X509_EXTENSION_it 2667 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2114 | i2d_KRB5_AUTHENT 2668 EXIST::FUNCTION: | ||
2115 | SXNETID_it 2669 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2116 | SXNETID_it 2669 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2117 | d2i_OCSP_SINGLERESP 2670 EXIST::FUNCTION: | ||
2118 | EDIPARTYNAME_new 2671 EXIST::FUNCTION: | ||
2119 | PKCS12_certbag2x509 2672 EXIST::FUNCTION: | ||
2120 | _ossl_old_des_ofb64_encrypt 2673 EXIST::FUNCTION:DES | ||
2121 | d2i_EXTENDED_KEY_USAGE 2674 EXIST::FUNCTION: | ||
2122 | ERR_print_errors_cb 2675 EXIST::FUNCTION: | ||
2123 | ENGINE_set_ciphers 2676 EXIST::FUNCTION:ENGINE | ||
2124 | d2i_KRB5_APREQBODY 2677 EXIST::FUNCTION: | ||
2125 | UI_method_get_flusher 2678 EXIST::FUNCTION: | ||
2126 | X509_PUBKEY_it 2679 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2127 | X509_PUBKEY_it 2679 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2128 | _ossl_old_des_enc_read 2680 EXIST::FUNCTION:DES | ||
2129 | PKCS7_ENCRYPT_it 2681 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2130 | PKCS7_ENCRYPT_it 2681 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2131 | i2d_OCSP_RESPONSE 2682 EXIST::FUNCTION: | ||
2132 | EC_GROUP_get_cofactor 2683 EXIST::FUNCTION:EC | ||
2133 | PKCS12_unpack_p7data 2684 EXIST::FUNCTION: | ||
2134 | d2i_KRB5_AUTHDATA 2685 EXIST::FUNCTION: | ||
2135 | OCSP_copy_nonce 2686 EXIST::FUNCTION: | ||
2136 | KRB5_AUTHDATA_new 2687 EXIST::FUNCTION: | ||
2137 | OCSP_RESPDATA_new 2688 EXIST::FUNCTION: | ||
2138 | EC_GFp_mont_method 2689 EXIST::FUNCTION:EC | ||
2139 | OCSP_REVOKEDINFO_free 2690 EXIST::FUNCTION: | ||
2140 | UI_get_ex_data 2691 EXIST::FUNCTION: | ||
2141 | KRB5_APREQBODY_free 2692 EXIST::FUNCTION: | ||
2142 | EC_GROUP_get0_generator 2693 EXIST::FUNCTION:EC | ||
2143 | UI_get_default_method 2694 EXIST::FUNCTION: | ||
2144 | X509V3_set_nconf 2695 EXIST::FUNCTION: | ||
2145 | PKCS12_item_i2d_encrypt 2696 EXIST::FUNCTION: | ||
2146 | X509_add1_ext_i2d 2697 EXIST::FUNCTION: | ||
2147 | PKCS7_SIGNER_INFO_it 2698 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2148 | PKCS7_SIGNER_INFO_it 2698 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2149 | KRB5_PRINCNAME_new 2699 EXIST::FUNCTION: | ||
2150 | PKCS12_SAFEBAG_it 2700 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2151 | PKCS12_SAFEBAG_it 2700 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2152 | EC_GROUP_get_order 2701 EXIST::FUNCTION:EC | ||
2153 | d2i_OCSP_RESPID 2702 EXIST::FUNCTION: | ||
2154 | OCSP_request_verify 2703 EXIST::FUNCTION: | ||
2155 | NCONF_get_number_e 2704 EXIST::FUNCTION: | ||
2156 | _ossl_old_des_decrypt3 2705 EXIST::FUNCTION:DES | ||
2157 | X509_signature_print 2706 EXIST::FUNCTION:EVP | ||
2158 | OCSP_SINGLERESP_free 2707 EXIST::FUNCTION: | ||
2159 | ENGINE_load_builtin_engines 2708 EXIST::FUNCTION:ENGINE | ||
2160 | i2d_OCSP_ONEREQ 2709 EXIST::FUNCTION: | ||
2161 | OCSP_REQUEST_add_ext 2710 EXIST::FUNCTION: | ||
2162 | OCSP_RESPBYTES_new 2711 EXIST::FUNCTION: | ||
2163 | EVP_MD_CTX_create 2712 EXIST::FUNCTION: | ||
2164 | OCSP_resp_find_status 2713 EXIST::FUNCTION: | ||
2165 | X509_ALGOR_it 2714 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2166 | X509_ALGOR_it 2714 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2167 | ASN1_TIME_it 2715 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2168 | ASN1_TIME_it 2715 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2169 | OCSP_request_set1_name 2716 EXIST::FUNCTION: | ||
2170 | OCSP_ONEREQ_get_ext_count 2717 EXIST::FUNCTION: | ||
2171 | UI_get0_result 2718 EXIST::FUNCTION: | ||
2172 | PKCS12_AUTHSAFES_it 2719 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2173 | PKCS12_AUTHSAFES_it 2719 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2174 | EVP_aes_256_ecb 2720 EXIST::FUNCTION:AES | ||
2175 | PKCS12_pack_authsafes 2721 EXIST::FUNCTION: | ||
2176 | ASN1_IA5STRING_it 2722 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2177 | ASN1_IA5STRING_it 2722 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2178 | UI_get_input_flags 2723 EXIST::FUNCTION: | ||
2179 | EC_GROUP_set_generator 2724 EXIST::FUNCTION:EC | ||
2180 | _ossl_old_des_string_to_2keys 2725 EXIST::FUNCTION:DES | ||
2181 | OCSP_CERTID_free 2726 EXIST::FUNCTION: | ||
2182 | X509_CERT_AUX_it 2727 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2183 | X509_CERT_AUX_it 2727 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2184 | CERTIFICATEPOLICIES_it 2728 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2185 | CERTIFICATEPOLICIES_it 2728 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2186 | _ossl_old_des_ede3_cbc_encrypt 2729 EXIST::FUNCTION:DES | ||
2187 | RAND_set_rand_engine 2730 EXIST::FUNCTION:ENGINE | ||
2188 | DSO_get_loaded_filename 2731 EXIST::FUNCTION: | ||
2189 | X509_ATTRIBUTE_it 2732 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2190 | X509_ATTRIBUTE_it 2732 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2191 | OCSP_ONEREQ_get_ext_by_NID 2733 EXIST::FUNCTION: | ||
2192 | PKCS12_decrypt_skey 2734 EXIST::FUNCTION: | ||
2193 | KRB5_AUTHENT_it 2735 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2194 | KRB5_AUTHENT_it 2735 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2195 | UI_dup_error_string 2736 EXIST::FUNCTION: | ||
2196 | RSAPublicKey_it 2737 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:RSA | ||
2197 | RSAPublicKey_it 2737 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:RSA | ||
2198 | i2d_OCSP_REQUEST 2738 EXIST::FUNCTION: | ||
2199 | PKCS12_x509crl2certbag 2739 EXIST::FUNCTION: | ||
2200 | OCSP_SERVICELOC_it 2740 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2201 | OCSP_SERVICELOC_it 2740 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2202 | ASN1_item_sign 2741 EXIST::FUNCTION:EVP | ||
2203 | X509_CRL_set_issuer_name 2742 EXIST::FUNCTION: | ||
2204 | OBJ_NAME_do_all_sorted 2743 EXIST::FUNCTION: | ||
2205 | i2d_OCSP_BASICRESP 2744 EXIST::FUNCTION: | ||
2206 | i2d_OCSP_RESPBYTES 2745 EXIST::FUNCTION: | ||
2207 | PKCS12_unpack_p7encdata 2746 EXIST::FUNCTION: | ||
2208 | HMAC_CTX_init 2747 EXIST::FUNCTION:HMAC | ||
2209 | ENGINE_get_digest 2748 EXIST::FUNCTION:ENGINE | ||
2210 | OCSP_RESPONSE_print 2749 EXIST::FUNCTION: | ||
2211 | KRB5_TKTBODY_it 2750 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2212 | KRB5_TKTBODY_it 2750 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2213 | ACCESS_DESCRIPTION_it 2751 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2214 | ACCESS_DESCRIPTION_it 2751 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2215 | PKCS7_ISSUER_AND_SERIAL_it 2752 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2216 | PKCS7_ISSUER_AND_SERIAL_it 2752 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2217 | PBE2PARAM_it 2753 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2218 | PBE2PARAM_it 2753 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2219 | PKCS12_certbag2x509crl 2754 EXIST::FUNCTION: | ||
2220 | PKCS7_SIGNED_it 2755 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2221 | PKCS7_SIGNED_it 2755 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2222 | ENGINE_get_cipher 2756 EXIST::FUNCTION:ENGINE | ||
2223 | i2d_OCSP_CRLID 2757 EXIST::FUNCTION: | ||
2224 | OCSP_SINGLERESP_new 2758 EXIST::FUNCTION: | ||
2225 | ENGINE_cmd_is_executable 2759 EXIST::FUNCTION:ENGINE | ||
2226 | RSA_up_ref 2760 EXIST::FUNCTION:RSA | ||
2227 | ASN1_GENERALSTRING_it 2761 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2228 | ASN1_GENERALSTRING_it 2761 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2229 | ENGINE_register_DSA 2762 EXIST::FUNCTION:ENGINE | ||
2230 | X509V3_EXT_add_nconf_sk 2763 EXIST::FUNCTION: | ||
2231 | ENGINE_set_load_pubkey_function 2764 EXIST::FUNCTION:ENGINE | ||
2232 | PKCS8_decrypt 2765 EXIST::FUNCTION: | ||
2233 | PEM_bytes_read_bio 2766 EXIST::FUNCTION:BIO | ||
2234 | DIRECTORYSTRING_it 2767 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2235 | DIRECTORYSTRING_it 2767 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2236 | d2i_OCSP_CRLID 2768 EXIST::FUNCTION: | ||
2237 | EC_POINT_is_on_curve 2769 EXIST::FUNCTION:EC | ||
2238 | CRYPTO_set_locked_mem_ex_functions 2770 EXIST:!VMS:FUNCTION: | ||
2239 | CRYPTO_set_locked_mem_ex_funcs 2770 EXIST:VMS:FUNCTION: | ||
2240 | d2i_KRB5_CHECKSUM 2771 EXIST::FUNCTION: | ||
2241 | ASN1_item_dup 2772 EXIST::FUNCTION: | ||
2242 | X509_it 2773 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2243 | X509_it 2773 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2244 | BN_mod_add 2774 EXIST::FUNCTION: | ||
2245 | KRB5_AUTHDATA_free 2775 EXIST::FUNCTION: | ||
2246 | _ossl_old_des_cbc_cksum 2776 EXIST::FUNCTION:DES | ||
2247 | ASN1_item_verify 2777 EXIST::FUNCTION:EVP | ||
2248 | CRYPTO_set_mem_ex_functions 2778 EXIST::FUNCTION: | ||
2249 | EC_POINT_get_Jprojective_coordinates_GFp 2779 EXIST:!VMS:FUNCTION:EC | ||
2250 | EC_POINT_get_Jproj_coords_GFp 2779 EXIST:VMS:FUNCTION:EC | ||
2251 | ZLONG_it 2780 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2252 | ZLONG_it 2780 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2253 | CRYPTO_get_locked_mem_ex_functions 2781 EXIST:!VMS:FUNCTION: | ||
2254 | CRYPTO_get_locked_mem_ex_funcs 2781 EXIST:VMS:FUNCTION: | ||
2255 | ASN1_TIME_check 2782 EXIST::FUNCTION: | ||
2256 | UI_get0_user_data 2783 EXIST::FUNCTION: | ||
2257 | HMAC_CTX_cleanup 2784 EXIST::FUNCTION:HMAC | ||
2258 | DSA_up_ref 2785 EXIST::FUNCTION:DSA | ||
2259 | _ossl_old_des_ede3_cfb64_encrypt 2786 EXIST:!VMS:FUNCTION:DES | ||
2260 | _ossl_odes_ede3_cfb64_encrypt 2786 EXIST:VMS:FUNCTION:DES | ||
2261 | ASN1_BMPSTRING_it 2787 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2262 | ASN1_BMPSTRING_it 2787 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2263 | ASN1_tag2bit 2788 EXIST::FUNCTION: | ||
2264 | UI_method_set_flusher 2789 EXIST::FUNCTION: | ||
2265 | X509_ocspid_print 2790 EXIST::FUNCTION:BIO | ||
2266 | KRB5_ENCDATA_it 2791 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2267 | KRB5_ENCDATA_it 2791 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2268 | ENGINE_get_load_pubkey_function 2792 EXIST::FUNCTION:ENGINE | ||
2269 | UI_add_user_data 2793 EXIST::FUNCTION: | ||
2270 | OCSP_REQUEST_delete_ext 2794 EXIST::FUNCTION: | ||
2271 | UI_get_method 2795 EXIST::FUNCTION: | ||
2272 | OCSP_ONEREQ_free 2796 EXIST::FUNCTION: | ||
2273 | ASN1_PRINTABLESTRING_it 2797 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2274 | ASN1_PRINTABLESTRING_it 2797 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2275 | X509_CRL_set_nextUpdate 2798 EXIST::FUNCTION: | ||
2276 | OCSP_REQUEST_it 2799 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2277 | OCSP_REQUEST_it 2799 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2278 | OCSP_BASICRESP_it 2800 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2279 | OCSP_BASICRESP_it 2800 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2280 | AES_ecb_encrypt 2801 EXIST::FUNCTION:AES | ||
2281 | BN_mod_sqr 2802 EXIST::FUNCTION: | ||
2282 | NETSCAPE_CERT_SEQUENCE_it 2803 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2283 | NETSCAPE_CERT_SEQUENCE_it 2803 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2284 | GENERAL_NAMES_it 2804 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2285 | GENERAL_NAMES_it 2804 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2286 | AUTHORITY_INFO_ACCESS_it 2805 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2287 | AUTHORITY_INFO_ACCESS_it 2805 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2288 | ASN1_FBOOLEAN_it 2806 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2289 | ASN1_FBOOLEAN_it 2806 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2290 | UI_set_ex_data 2807 EXIST::FUNCTION: | ||
2291 | _ossl_old_des_string_to_key 2808 EXIST::FUNCTION:DES | ||
2292 | ENGINE_register_all_RSA 2809 EXIST::FUNCTION:ENGINE | ||
2293 | d2i_KRB5_PRINCNAME 2810 EXIST::FUNCTION: | ||
2294 | OCSP_RESPBYTES_it 2811 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2295 | OCSP_RESPBYTES_it 2811 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2296 | X509_CINF_it 2812 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2297 | X509_CINF_it 2812 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2298 | ENGINE_unregister_digests 2813 EXIST::FUNCTION:ENGINE | ||
2299 | d2i_EDIPARTYNAME 2814 EXIST::FUNCTION: | ||
2300 | d2i_OCSP_SERVICELOC 2815 EXIST::FUNCTION: | ||
2301 | ENGINE_get_digests 2816 EXIST::FUNCTION:ENGINE | ||
2302 | _ossl_old_des_set_odd_parity 2817 EXIST::FUNCTION:DES | ||
2303 | OCSP_RESPDATA_free 2818 EXIST::FUNCTION: | ||
2304 | d2i_KRB5_TICKET 2819 EXIST::FUNCTION: | ||
2305 | OTHERNAME_it 2820 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2306 | OTHERNAME_it 2820 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2307 | EVP_MD_CTX_cleanup 2821 EXIST::FUNCTION: | ||
2308 | d2i_ASN1_GENERALSTRING 2822 EXIST::FUNCTION: | ||
2309 | X509_CRL_set_version 2823 EXIST::FUNCTION: | ||
2310 | BN_mod_sub 2824 EXIST::FUNCTION: | ||
2311 | OCSP_SINGLERESP_get_ext_by_NID 2825 EXIST::FUNCTION: | ||
2312 | ENGINE_get_ex_new_index 2826 EXIST::FUNCTION:ENGINE | ||
2313 | OCSP_REQUEST_free 2827 EXIST::FUNCTION: | ||
2314 | OCSP_REQUEST_add1_ext_i2d 2828 EXIST::FUNCTION: | ||
2315 | X509_VAL_it 2829 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2316 | X509_VAL_it 2829 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2317 | EC_POINTs_make_affine 2830 EXIST::FUNCTION:EC | ||
2318 | EC_POINT_mul 2831 EXIST::FUNCTION:EC | ||
2319 | X509V3_EXT_add_nconf 2832 EXIST::FUNCTION: | ||
2320 | X509_TRUST_set 2833 EXIST::FUNCTION: | ||
2321 | X509_CRL_add1_ext_i2d 2834 EXIST::FUNCTION: | ||
2322 | _ossl_old_des_fcrypt 2835 EXIST::FUNCTION:DES | ||
2323 | DISPLAYTEXT_it 2836 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2324 | DISPLAYTEXT_it 2836 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2325 | X509_CRL_set_lastUpdate 2837 EXIST::FUNCTION: | ||
2326 | OCSP_BASICRESP_free 2838 EXIST::FUNCTION: | ||
2327 | OCSP_BASICRESP_add1_ext_i2d 2839 EXIST::FUNCTION: | ||
2328 | d2i_KRB5_AUTHENTBODY 2840 EXIST::FUNCTION: | ||
2329 | CRYPTO_set_ex_data_implementation 2841 EXIST:!VMS:FUNCTION: | ||
2330 | CRYPTO_set_ex_data_impl 2841 EXIST:VMS:FUNCTION: | ||
2331 | KRB5_ENCDATA_new 2842 EXIST::FUNCTION: | ||
2332 | DSO_up_ref 2843 EXIST::FUNCTION: | ||
2333 | OCSP_crl_reason_str 2844 EXIST::FUNCTION: | ||
2334 | UI_get0_result_string 2845 EXIST::FUNCTION: | ||
2335 | ASN1_GENERALSTRING_new 2846 EXIST::FUNCTION: | ||
2336 | X509_SIG_it 2847 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2337 | X509_SIG_it 2847 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2338 | ERR_set_implementation 2848 EXIST::FUNCTION: | ||
2339 | ERR_load_EC_strings 2849 EXIST::FUNCTION:EC | ||
2340 | UI_get0_action_string 2850 EXIST::FUNCTION: | ||
2341 | OCSP_ONEREQ_get_ext 2851 EXIST::FUNCTION: | ||
2342 | EC_POINT_method_of 2852 EXIST::FUNCTION:EC | ||
2343 | i2d_KRB5_APREQBODY 2853 EXIST::FUNCTION: | ||
2344 | _ossl_old_des_ecb3_encrypt 2854 EXIST::FUNCTION:DES | ||
2345 | CRYPTO_get_mem_ex_functions 2855 EXIST::FUNCTION: | ||
2346 | ENGINE_get_ex_data 2856 EXIST::FUNCTION:ENGINE | ||
2347 | UI_destroy_method 2857 EXIST::FUNCTION: | ||
2348 | ASN1_item_i2d_bio 2858 EXIST::FUNCTION:BIO | ||
2349 | OCSP_ONEREQ_get_ext_by_OBJ 2859 EXIST::FUNCTION: | ||
2350 | ASN1_primitive_new 2860 EXIST::FUNCTION: | ||
2351 | ASN1_PRINTABLE_it 2861 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2352 | ASN1_PRINTABLE_it 2861 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2353 | EVP_aes_192_ecb 2862 EXIST::FUNCTION:AES | ||
2354 | OCSP_SIGNATURE_new 2863 EXIST::FUNCTION: | ||
2355 | LONG_it 2864 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2356 | LONG_it 2864 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2357 | ASN1_VISIBLESTRING_it 2865 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2358 | ASN1_VISIBLESTRING_it 2865 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2359 | OCSP_SINGLERESP_add1_ext_i2d 2866 EXIST::FUNCTION: | ||
2360 | d2i_OCSP_CERTID 2867 EXIST::FUNCTION: | ||
2361 | ASN1_item_d2i_fp 2868 EXIST::FUNCTION:FP_API | ||
2362 | CRL_DIST_POINTS_it 2869 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2363 | CRL_DIST_POINTS_it 2869 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2364 | GENERAL_NAME_print 2870 EXIST::FUNCTION: | ||
2365 | OCSP_SINGLERESP_delete_ext 2871 EXIST::FUNCTION: | ||
2366 | PKCS12_SAFEBAGS_it 2872 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2367 | PKCS12_SAFEBAGS_it 2872 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2368 | d2i_OCSP_SIGNATURE 2873 EXIST::FUNCTION: | ||
2369 | OCSP_request_add1_nonce 2874 EXIST::FUNCTION: | ||
2370 | ENGINE_set_cmd_defns 2875 EXIST::FUNCTION:ENGINE | ||
2371 | OCSP_SERVICELOC_free 2876 EXIST::FUNCTION: | ||
2372 | EC_GROUP_free 2877 EXIST::FUNCTION:EC | ||
2373 | ASN1_BIT_STRING_it 2878 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2374 | ASN1_BIT_STRING_it 2878 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2375 | X509_REQ_it 2879 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2376 | X509_REQ_it 2879 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2377 | _ossl_old_des_cbc_encrypt 2880 EXIST::FUNCTION:DES | ||
2378 | ERR_unload_strings 2881 EXIST::FUNCTION: | ||
2379 | PKCS7_SIGN_ENVELOPE_it 2882 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2380 | PKCS7_SIGN_ENVELOPE_it 2882 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2381 | EDIPARTYNAME_free 2883 EXIST::FUNCTION: | ||
2382 | OCSP_REQINFO_free 2884 EXIST::FUNCTION: | ||
2383 | EC_GROUP_new_curve_GFp 2885 EXIST::FUNCTION:EC | ||
2384 | OCSP_REQUEST_get1_ext_d2i 2886 EXIST::FUNCTION: | ||
2385 | PKCS12_item_pack_safebag 2887 EXIST::FUNCTION: | ||
2386 | asn1_ex_c2i 2888 EXIST::FUNCTION: | ||
2387 | ENGINE_register_digests 2889 EXIST::FUNCTION:ENGINE | ||
2388 | i2d_OCSP_REVOKEDINFO 2890 EXIST::FUNCTION: | ||
2389 | asn1_enc_restore 2891 EXIST::FUNCTION: | ||
2390 | UI_free 2892 EXIST::FUNCTION: | ||
2391 | UI_new_method 2893 EXIST::FUNCTION: | ||
2392 | EVP_EncryptInit_ex 2894 EXIST::FUNCTION: | ||
2393 | X509_pubkey_digest 2895 EXIST::FUNCTION:EVP | ||
2394 | EC_POINT_invert 2896 EXIST::FUNCTION:EC | ||
2395 | OCSP_basic_sign 2897 EXIST::FUNCTION: | ||
2396 | i2d_OCSP_RESPID 2898 EXIST::FUNCTION: | ||
2397 | OCSP_check_nonce 2899 EXIST::FUNCTION: | ||
2398 | ENGINE_ctrl_cmd 2900 EXIST::FUNCTION:ENGINE | ||
2399 | d2i_KRB5_ENCKEY 2901 EXIST::FUNCTION: | ||
2400 | OCSP_parse_url 2902 EXIST::FUNCTION: | ||
2401 | OCSP_SINGLERESP_get_ext 2903 EXIST::FUNCTION: | ||
2402 | OCSP_CRLID_free 2904 EXIST::FUNCTION: | ||
2403 | OCSP_BASICRESP_get1_ext_d2i 2905 EXIST::FUNCTION: | ||
2404 | RSAPrivateKey_it 2906 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:RSA | ||
2405 | RSAPrivateKey_it 2906 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:RSA | ||
2406 | ENGINE_register_all_DH 2907 EXIST::FUNCTION:ENGINE | ||
2407 | i2d_EDIPARTYNAME 2908 EXIST::FUNCTION: | ||
2408 | EC_POINT_get_affine_coordinates_GFp 2909 EXIST:!VMS:FUNCTION:EC | ||
2409 | EC_POINT_get_affine_coords_GFp 2909 EXIST:VMS:FUNCTION:EC | ||
2410 | OCSP_CRLID_new 2910 EXIST::FUNCTION: | ||
2411 | ENGINE_get_flags 2911 EXIST::FUNCTION:ENGINE | ||
2412 | OCSP_ONEREQ_it 2912 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2413 | OCSP_ONEREQ_it 2912 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2414 | UI_process 2913 EXIST::FUNCTION: | ||
2415 | ASN1_INTEGER_it 2914 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2416 | ASN1_INTEGER_it 2914 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2417 | EVP_CipherInit_ex 2915 EXIST::FUNCTION: | ||
2418 | UI_get_string_type 2916 EXIST::FUNCTION: | ||
2419 | ENGINE_unregister_DH 2917 EXIST::FUNCTION:ENGINE | ||
2420 | ENGINE_register_all_DSA 2918 EXIST::FUNCTION:ENGINE | ||
2421 | OCSP_ONEREQ_get_ext_by_critical 2919 EXIST::FUNCTION: | ||
2422 | bn_dup_expand 2920 EXIST::FUNCTION: | ||
2423 | OCSP_cert_id_new 2921 EXIST::FUNCTION: | ||
2424 | BASIC_CONSTRAINTS_it 2922 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2425 | BASIC_CONSTRAINTS_it 2922 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2426 | BN_mod_add_quick 2923 EXIST::FUNCTION: | ||
2427 | EC_POINT_new 2924 EXIST::FUNCTION:EC | ||
2428 | EVP_MD_CTX_destroy 2925 EXIST::FUNCTION: | ||
2429 | OCSP_RESPBYTES_free 2926 EXIST::FUNCTION: | ||
2430 | EVP_aes_128_cbc 2927 EXIST::FUNCTION:AES | ||
2431 | OCSP_SINGLERESP_get1_ext_d2i 2928 EXIST::FUNCTION: | ||
2432 | EC_POINT_free 2929 EXIST::FUNCTION:EC | ||
2433 | DH_up_ref 2930 EXIST::FUNCTION:DH | ||
2434 | X509_NAME_ENTRY_it 2931 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2435 | X509_NAME_ENTRY_it 2931 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2436 | UI_get_ex_new_index 2932 EXIST::FUNCTION: | ||
2437 | BN_mod_sub_quick 2933 EXIST::FUNCTION: | ||
2438 | OCSP_ONEREQ_add_ext 2934 EXIST::FUNCTION: | ||
2439 | OCSP_request_sign 2935 EXIST::FUNCTION: | ||
2440 | EVP_DigestFinal_ex 2936 EXIST::FUNCTION: | ||
2441 | ENGINE_set_digests 2937 EXIST::FUNCTION:ENGINE | ||
2442 | OCSP_id_issuer_cmp 2938 EXIST::FUNCTION: | ||
2443 | OBJ_NAME_do_all 2939 EXIST::FUNCTION: | ||
2444 | EC_POINTs_mul 2940 EXIST::FUNCTION:EC | ||
2445 | ENGINE_register_complete 2941 EXIST::FUNCTION:ENGINE | ||
2446 | X509V3_EXT_nconf_nid 2942 EXIST::FUNCTION: | ||
2447 | ASN1_SEQUENCE_it 2943 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2448 | ASN1_SEQUENCE_it 2943 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2449 | UI_set_default_method 2944 EXIST::FUNCTION: | ||
2450 | RAND_query_egd_bytes 2945 EXIST::FUNCTION: | ||
2451 | UI_method_get_writer 2946 EXIST::FUNCTION: | ||
2452 | UI_OpenSSL 2947 EXIST::FUNCTION: | ||
2453 | PEM_def_callback 2948 EXIST::FUNCTION: | ||
2454 | ENGINE_cleanup 2949 EXIST::FUNCTION:ENGINE | ||
2455 | DIST_POINT_it 2950 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2456 | DIST_POINT_it 2950 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2457 | OCSP_SINGLERESP_it 2951 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2458 | OCSP_SINGLERESP_it 2951 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2459 | d2i_KRB5_TKTBODY 2952 EXIST::FUNCTION: | ||
2460 | EC_POINT_cmp 2953 EXIST::FUNCTION:EC | ||
2461 | OCSP_REVOKEDINFO_new 2954 EXIST::FUNCTION: | ||
2462 | i2d_OCSP_CERTSTATUS 2955 EXIST::FUNCTION: | ||
2463 | OCSP_basic_add1_nonce 2956 EXIST::FUNCTION: | ||
2464 | ASN1_item_ex_d2i 2957 EXIST::FUNCTION: | ||
2465 | BN_mod_lshift1_quick 2958 EXIST::FUNCTION: | ||
2466 | UI_set_method 2959 EXIST::FUNCTION: | ||
2467 | OCSP_id_get0_info 2960 EXIST::FUNCTION: | ||
2468 | BN_mod_sqrt 2961 EXIST::FUNCTION: | ||
2469 | EC_GROUP_copy 2962 EXIST::FUNCTION:EC | ||
2470 | KRB5_ENCDATA_free 2963 EXIST::FUNCTION: | ||
2471 | _ossl_old_des_cfb_encrypt 2964 EXIST::FUNCTION:DES | ||
2472 | OCSP_SINGLERESP_get_ext_by_OBJ 2965 EXIST::FUNCTION: | ||
2473 | OCSP_cert_to_id 2966 EXIST::FUNCTION: | ||
2474 | OCSP_RESPID_new 2967 EXIST::FUNCTION: | ||
2475 | OCSP_RESPDATA_it 2968 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2476 | OCSP_RESPDATA_it 2968 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2477 | d2i_OCSP_RESPDATA 2969 EXIST::FUNCTION: | ||
2478 | ENGINE_register_all_complete 2970 EXIST::FUNCTION:ENGINE | ||
2479 | OCSP_check_validity 2971 EXIST::FUNCTION: | ||
2480 | PKCS12_BAGS_it 2972 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2481 | PKCS12_BAGS_it 2972 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2482 | OCSP_url_svcloc_new 2973 EXIST::FUNCTION: | ||
2483 | ASN1_template_free 2974 EXIST::FUNCTION: | ||
2484 | OCSP_SINGLERESP_add_ext 2975 EXIST::FUNCTION: | ||
2485 | KRB5_AUTHENTBODY_it 2976 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2486 | KRB5_AUTHENTBODY_it 2976 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2487 | X509_supported_extension 2977 EXIST::FUNCTION: | ||
2488 | i2d_KRB5_AUTHDATA 2978 EXIST::FUNCTION: | ||
2489 | UI_method_get_opener 2979 EXIST::FUNCTION: | ||
2490 | ENGINE_set_ex_data 2980 EXIST::FUNCTION:ENGINE | ||
2491 | OCSP_REQUEST_print 2981 EXIST::FUNCTION: | ||
2492 | CBIGNUM_it 2982 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2493 | CBIGNUM_it 2982 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2494 | KRB5_TICKET_new 2983 EXIST::FUNCTION: | ||
2495 | KRB5_APREQ_new 2984 EXIST::FUNCTION: | ||
2496 | EC_GROUP_get_curve_GFp 2985 EXIST::FUNCTION:EC | ||
2497 | KRB5_ENCKEY_new 2986 EXIST::FUNCTION: | ||
2498 | ASN1_template_d2i 2987 EXIST::FUNCTION: | ||
2499 | _ossl_old_des_quad_cksum 2988 EXIST::FUNCTION:DES | ||
2500 | OCSP_single_get0_status 2989 EXIST::FUNCTION: | ||
2501 | BN_swap 2990 EXIST::FUNCTION: | ||
2502 | POLICYINFO_it 2991 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2503 | POLICYINFO_it 2991 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2504 | ENGINE_set_destroy_function 2992 EXIST::FUNCTION:ENGINE | ||
2505 | asn1_enc_free 2993 EXIST::FUNCTION: | ||
2506 | OCSP_RESPID_it 2994 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2507 | OCSP_RESPID_it 2994 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2508 | EC_GROUP_new 2995 EXIST::FUNCTION:EC | ||
2509 | EVP_aes_256_cbc 2996 EXIST::FUNCTION:AES | ||
2510 | i2d_KRB5_PRINCNAME 2997 EXIST::FUNCTION: | ||
2511 | _ossl_old_des_encrypt2 2998 EXIST::FUNCTION:DES | ||
2512 | _ossl_old_des_encrypt3 2999 EXIST::FUNCTION:DES | ||
2513 | PKCS8_PRIV_KEY_INFO_it 3000 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2514 | PKCS8_PRIV_KEY_INFO_it 3000 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2515 | OCSP_REQINFO_it 3001 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2516 | OCSP_REQINFO_it 3001 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2517 | PBEPARAM_it 3002 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2518 | PBEPARAM_it 3002 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2519 | KRB5_AUTHENTBODY_new 3003 EXIST::FUNCTION: | ||
2520 | X509_CRL_add0_revoked 3004 EXIST::FUNCTION: | ||
2521 | EDIPARTYNAME_it 3005 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2522 | EDIPARTYNAME_it 3005 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2523 | NETSCAPE_SPKI_it 3006 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2524 | NETSCAPE_SPKI_it 3006 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2525 | UI_get0_test_string 3007 EXIST::FUNCTION: | ||
2526 | ENGINE_get_cipher_engine 3008 EXIST::FUNCTION:ENGINE | ||
2527 | ENGINE_register_all_ciphers 3009 EXIST::FUNCTION:ENGINE | ||
2528 | EC_POINT_copy 3010 EXIST::FUNCTION:EC | ||
2529 | BN_kronecker 3011 EXIST::FUNCTION: | ||
2530 | _ossl_old_des_ede3_ofb64_encrypt 3012 EXIST:!VMS:FUNCTION:DES | ||
2531 | _ossl_odes_ede3_ofb64_encrypt 3012 EXIST:VMS:FUNCTION:DES | ||
2532 | UI_method_get_reader 3013 EXIST::FUNCTION: | ||
2533 | OCSP_BASICRESP_get_ext_count 3014 EXIST::FUNCTION: | ||
2534 | ASN1_ENUMERATED_it 3015 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2535 | ASN1_ENUMERATED_it 3015 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2536 | UI_set_result 3016 EXIST::FUNCTION: | ||
2537 | i2d_KRB5_TICKET 3017 EXIST::FUNCTION: | ||
2538 | X509_print_ex_fp 3018 EXIST::FUNCTION:FP_API | ||
2539 | EVP_CIPHER_CTX_set_padding 3019 EXIST::FUNCTION: | ||
2540 | d2i_OCSP_RESPONSE 3020 EXIST::FUNCTION: | ||
2541 | ASN1_UTCTIME_it 3021 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2542 | ASN1_UTCTIME_it 3021 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2543 | _ossl_old_des_enc_write 3022 EXIST::FUNCTION:DES | ||
2544 | OCSP_RESPONSE_new 3023 EXIST::FUNCTION: | ||
2545 | AES_set_encrypt_key 3024 EXIST::FUNCTION:AES | ||
2546 | OCSP_resp_count 3025 EXIST::FUNCTION: | ||
2547 | KRB5_CHECKSUM_new 3026 EXIST::FUNCTION: | ||
2548 | ENGINE_load_cswift 3027 EXIST::FUNCTION:ENGINE | ||
2549 | OCSP_onereq_get0_id 3028 EXIST::FUNCTION: | ||
2550 | ENGINE_set_default_ciphers 3029 EXIST::FUNCTION:ENGINE | ||
2551 | NOTICEREF_it 3030 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2552 | NOTICEREF_it 3030 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2553 | X509V3_EXT_CRL_add_nconf 3031 EXIST::FUNCTION: | ||
2554 | OCSP_REVOKEDINFO_it 3032 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2555 | OCSP_REVOKEDINFO_it 3032 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2556 | AES_encrypt 3033 EXIST::FUNCTION:AES | ||
2557 | OCSP_REQUEST_new 3034 EXIST::FUNCTION: | ||
2558 | ASN1_ANY_it 3035 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2559 | ASN1_ANY_it 3035 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2560 | CRYPTO_ex_data_new_class 3036 EXIST::FUNCTION: | ||
2561 | _ossl_old_des_ncbc_encrypt 3037 EXIST::FUNCTION:DES | ||
2562 | i2d_KRB5_TKTBODY 3038 EXIST::FUNCTION: | ||
2563 | EC_POINT_clear_free 3039 EXIST::FUNCTION:EC | ||
2564 | AES_decrypt 3040 EXIST::FUNCTION:AES | ||
2565 | asn1_enc_init 3041 EXIST::FUNCTION: | ||
2566 | UI_get_result_maxsize 3042 EXIST::FUNCTION: | ||
2567 | OCSP_CERTID_new 3043 EXIST::FUNCTION: | ||
2568 | ENGINE_unregister_RAND 3044 EXIST::FUNCTION:ENGINE | ||
2569 | UI_method_get_closer 3045 EXIST::FUNCTION: | ||
2570 | d2i_KRB5_ENCDATA 3046 EXIST::FUNCTION: | ||
2571 | OCSP_request_onereq_count 3047 EXIST::FUNCTION: | ||
2572 | OCSP_basic_verify 3048 EXIST::FUNCTION: | ||
2573 | KRB5_AUTHENTBODY_free 3049 EXIST::FUNCTION: | ||
2574 | ASN1_item_d2i 3050 EXIST::FUNCTION: | ||
2575 | ASN1_primitive_free 3051 EXIST::FUNCTION: | ||
2576 | i2d_EXTENDED_KEY_USAGE 3052 EXIST::FUNCTION: | ||
2577 | i2d_OCSP_SIGNATURE 3053 EXIST::FUNCTION: | ||
2578 | asn1_enc_save 3054 EXIST::FUNCTION: | ||
2579 | ENGINE_load_nuron 3055 EXIST::FUNCTION:ENGINE | ||
2580 | _ossl_old_des_pcbc_encrypt 3056 EXIST::FUNCTION:DES | ||
2581 | PKCS12_MAC_DATA_it 3057 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2582 | PKCS12_MAC_DATA_it 3057 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2583 | OCSP_accept_responses_new 3058 EXIST::FUNCTION: | ||
2584 | asn1_do_lock 3059 EXIST::FUNCTION: | ||
2585 | PKCS7_ATTR_VERIFY_it 3060 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2586 | PKCS7_ATTR_VERIFY_it 3060 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2587 | KRB5_APREQBODY_it 3061 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2588 | KRB5_APREQBODY_it 3061 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2589 | i2d_OCSP_SINGLERESP 3062 EXIST::FUNCTION: | ||
2590 | ASN1_item_ex_new 3063 EXIST::FUNCTION: | ||
2591 | UI_add_verify_string 3064 EXIST::FUNCTION: | ||
2592 | _ossl_old_des_set_key 3065 EXIST::FUNCTION:DES | ||
2593 | KRB5_PRINCNAME_it 3066 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2594 | KRB5_PRINCNAME_it 3066 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2595 | EVP_DecryptInit_ex 3067 EXIST::FUNCTION: | ||
2596 | i2d_OCSP_CERTID 3068 EXIST::FUNCTION: | ||
2597 | ASN1_item_d2i_bio 3069 EXIST::FUNCTION:BIO | ||
2598 | EC_POINT_dbl 3070 EXIST::FUNCTION:EC | ||
2599 | asn1_get_choice_selector 3071 EXIST::FUNCTION: | ||
2600 | i2d_KRB5_CHECKSUM 3072 EXIST::FUNCTION: | ||
2601 | ENGINE_set_table_flags 3073 EXIST::FUNCTION:ENGINE | ||
2602 | AES_options 3074 EXIST::FUNCTION:AES | ||
2603 | ENGINE_load_chil 3075 EXIST::FUNCTION:ENGINE | ||
2604 | OCSP_id_cmp 3076 EXIST::FUNCTION: | ||
2605 | OCSP_BASICRESP_new 3077 EXIST::FUNCTION: | ||
2606 | OCSP_REQUEST_get_ext_by_NID 3078 EXIST::FUNCTION: | ||
2607 | KRB5_APREQ_it 3079 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2608 | KRB5_APREQ_it 3079 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2609 | ENGINE_get_destroy_function 3080 EXIST::FUNCTION:ENGINE | ||
2610 | CONF_set_nconf 3081 EXIST::FUNCTION: | ||
2611 | ASN1_PRINTABLE_free 3082 EXIST::FUNCTION: | ||
2612 | OCSP_BASICRESP_get_ext_by_NID 3083 EXIST::FUNCTION: | ||
2613 | DIST_POINT_NAME_it 3084 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2614 | DIST_POINT_NAME_it 3084 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2615 | X509V3_extensions_print 3085 EXIST::FUNCTION: | ||
2616 | _ossl_old_des_cfb64_encrypt 3086 EXIST::FUNCTION:DES | ||
2617 | X509_REVOKED_add1_ext_i2d 3087 EXIST::FUNCTION: | ||
2618 | _ossl_old_des_ofb_encrypt 3088 EXIST::FUNCTION:DES | ||
2619 | KRB5_TKTBODY_new 3089 EXIST::FUNCTION: | ||
2620 | ASN1_OCTET_STRING_it 3090 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2621 | ASN1_OCTET_STRING_it 3090 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2622 | ERR_load_UI_strings 3091 EXIST::FUNCTION: | ||
2623 | i2d_KRB5_ENCKEY 3092 EXIST::FUNCTION: | ||
2624 | ASN1_template_new 3093 EXIST::FUNCTION: | ||
2625 | OCSP_SIGNATURE_free 3094 EXIST::FUNCTION: | ||
2626 | ASN1_item_i2d_fp 3095 EXIST::FUNCTION:FP_API | ||
2627 | KRB5_PRINCNAME_free 3096 EXIST::FUNCTION: | ||
2628 | PKCS7_RECIP_INFO_it 3097 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2629 | PKCS7_RECIP_INFO_it 3097 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2630 | EXTENDED_KEY_USAGE_it 3098 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2631 | EXTENDED_KEY_USAGE_it 3098 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2632 | EC_GFp_simple_method 3099 EXIST::FUNCTION:EC | ||
2633 | EC_GROUP_precompute_mult 3100 EXIST::FUNCTION:EC | ||
2634 | OCSP_request_onereq_get0 3101 EXIST::FUNCTION: | ||
2635 | UI_method_set_writer 3102 EXIST::FUNCTION: | ||
2636 | KRB5_AUTHENT_new 3103 EXIST::FUNCTION: | ||
2637 | X509_CRL_INFO_it 3104 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2638 | X509_CRL_INFO_it 3104 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2639 | DSO_set_name_converter 3105 EXIST::FUNCTION: | ||
2640 | AES_set_decrypt_key 3106 EXIST::FUNCTION:AES | ||
2641 | PKCS7_DIGEST_it 3107 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2642 | PKCS7_DIGEST_it 3107 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2643 | PKCS12_x5092certbag 3108 EXIST::FUNCTION: | ||
2644 | EVP_DigestInit_ex 3109 EXIST::FUNCTION: | ||
2645 | i2a_ACCESS_DESCRIPTION 3110 EXIST::FUNCTION: | ||
2646 | OCSP_RESPONSE_it 3111 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2647 | OCSP_RESPONSE_it 3111 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2648 | PKCS7_ENC_CONTENT_it 3112 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2649 | PKCS7_ENC_CONTENT_it 3112 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2650 | OCSP_request_add0_id 3113 EXIST::FUNCTION: | ||
2651 | EC_POINT_make_affine 3114 EXIST::FUNCTION:EC | ||
2652 | DSO_get_filename 3115 EXIST::FUNCTION: | ||
2653 | OCSP_CERTSTATUS_it 3116 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2654 | OCSP_CERTSTATUS_it 3116 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2655 | OCSP_request_add1_cert 3117 EXIST::FUNCTION: | ||
2656 | UI_get0_output_string 3118 EXIST::FUNCTION: | ||
2657 | UI_dup_verify_string 3119 EXIST::FUNCTION: | ||
2658 | BN_mod_lshift 3120 EXIST::FUNCTION: | ||
2659 | KRB5_AUTHDATA_it 3121 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2660 | KRB5_AUTHDATA_it 3121 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2661 | asn1_set_choice_selector 3122 EXIST::FUNCTION: | ||
2662 | OCSP_basic_add1_status 3123 EXIST::FUNCTION: | ||
2663 | OCSP_RESPID_free 3124 EXIST::FUNCTION: | ||
2664 | asn1_get_field_ptr 3125 EXIST::FUNCTION: | ||
2665 | UI_add_input_string 3126 EXIST::FUNCTION: | ||
2666 | OCSP_CRLID_it 3127 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2667 | OCSP_CRLID_it 3127 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2668 | i2d_KRB5_AUTHENTBODY 3128 EXIST::FUNCTION: | ||
2669 | OCSP_REQUEST_get_ext_count 3129 EXIST::FUNCTION: | ||
2670 | ENGINE_load_atalla 3130 EXIST::FUNCTION:ENGINE | ||
2671 | X509_NAME_it 3131 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2672 | X509_NAME_it 3131 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2673 | USERNOTICE_it 3132 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2674 | USERNOTICE_it 3132 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2675 | OCSP_REQINFO_new 3133 EXIST::FUNCTION: | ||
2676 | OCSP_BASICRESP_get_ext 3134 EXIST::FUNCTION: | ||
2677 | CRYPTO_get_ex_data_implementation 3135 EXIST:!VMS:FUNCTION: | ||
2678 | CRYPTO_get_ex_data_impl 3135 EXIST:VMS:FUNCTION: | ||
2679 | ASN1_item_pack 3136 EXIST::FUNCTION: | ||
2680 | i2d_KRB5_ENCDATA 3137 EXIST::FUNCTION: | ||
2681 | X509_PURPOSE_set 3138 EXIST::FUNCTION: | ||
2682 | X509_REQ_INFO_it 3139 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2683 | X509_REQ_INFO_it 3139 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2684 | UI_method_set_opener 3140 EXIST::FUNCTION: | ||
2685 | ASN1_item_ex_free 3141 EXIST::FUNCTION: | ||
2686 | ASN1_BOOLEAN_it 3142 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2687 | ASN1_BOOLEAN_it 3142 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2688 | ENGINE_get_table_flags 3143 EXIST::FUNCTION:ENGINE | ||
2689 | UI_create_method 3144 EXIST::FUNCTION: | ||
2690 | OCSP_ONEREQ_add1_ext_i2d 3145 EXIST::FUNCTION: | ||
2691 | _shadow_DES_check_key 3146 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:DES | ||
2692 | _shadow_DES_check_key 3146 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:DES | ||
2693 | d2i_OCSP_REQINFO 3147 EXIST::FUNCTION: | ||
2694 | UI_add_info_string 3148 EXIST::FUNCTION: | ||
2695 | UI_get_result_minsize 3149 EXIST::FUNCTION: | ||
2696 | ASN1_NULL_it 3150 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2697 | ASN1_NULL_it 3150 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2698 | BN_mod_lshift1 3151 EXIST::FUNCTION: | ||
2699 | d2i_OCSP_ONEREQ 3152 EXIST::FUNCTION: | ||
2700 | OCSP_ONEREQ_new 3153 EXIST::FUNCTION: | ||
2701 | KRB5_TICKET_it 3154 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2702 | KRB5_TICKET_it 3154 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2703 | EVP_aes_192_cbc 3155 EXIST::FUNCTION:AES | ||
2704 | KRB5_TICKET_free 3156 EXIST::FUNCTION: | ||
2705 | UI_new 3157 EXIST::FUNCTION: | ||
2706 | OCSP_response_create 3158 EXIST::FUNCTION: | ||
2707 | _ossl_old_des_xcbc_encrypt 3159 EXIST::FUNCTION:DES | ||
2708 | PKCS7_it 3160 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2709 | PKCS7_it 3160 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2710 | OCSP_REQUEST_get_ext_by_critical 3161 EXIST:!VMS:FUNCTION: | ||
2711 | OCSP_REQUEST_get_ext_by_crit 3161 EXIST:VMS:FUNCTION: | ||
2712 | ENGINE_set_flags 3162 EXIST::FUNCTION:ENGINE | ||
2713 | _ossl_old_des_ecb_encrypt 3163 EXIST::FUNCTION:DES | ||
2714 | OCSP_response_get1_basic 3164 EXIST::FUNCTION: | ||
2715 | EVP_Digest 3165 EXIST::FUNCTION: | ||
2716 | OCSP_ONEREQ_delete_ext 3166 EXIST::FUNCTION: | ||
2717 | ASN1_TBOOLEAN_it 3167 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2718 | ASN1_TBOOLEAN_it 3167 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2719 | ASN1_item_new 3168 EXIST::FUNCTION: | ||
2720 | ASN1_TIME_to_generalizedtime 3169 EXIST::FUNCTION: | ||
2721 | BIGNUM_it 3170 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2722 | BIGNUM_it 3170 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2723 | AES_cbc_encrypt 3171 EXIST::FUNCTION:AES | ||
2724 | ENGINE_get_load_privkey_function 3172 EXIST:!VMS:FUNCTION:ENGINE | ||
2725 | ENGINE_get_load_privkey_fn 3172 EXIST:VMS:FUNCTION:ENGINE | ||
2726 | OCSP_RESPONSE_free 3173 EXIST::FUNCTION: | ||
2727 | UI_method_set_reader 3174 EXIST::FUNCTION: | ||
2728 | i2d_ASN1_T61STRING 3175 EXIST::FUNCTION: | ||
2729 | EC_POINT_set_to_infinity 3176 EXIST::FUNCTION:EC | ||
2730 | ERR_load_OCSP_strings 3177 EXIST::FUNCTION: | ||
2731 | EC_POINT_point2oct 3178 EXIST::FUNCTION:EC | ||
2732 | KRB5_APREQ_free 3179 EXIST::FUNCTION: | ||
2733 | ASN1_OBJECT_it 3180 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2734 | ASN1_OBJECT_it 3180 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2735 | OCSP_crlID_new 3181 EXIST:!OS2,!VMS,!WIN16:FUNCTION: | ||
2736 | OCSP_crlID2_new 3181 EXIST:OS2,VMS,WIN16:FUNCTION: | ||
2737 | CONF_modules_load_file 3182 EXIST::FUNCTION: | ||
2738 | CONF_imodule_set_usr_data 3183 EXIST::FUNCTION: | ||
2739 | ENGINE_set_default_string 3184 EXIST::FUNCTION:ENGINE | ||
2740 | CONF_module_get_usr_data 3185 EXIST::FUNCTION: | ||
2741 | ASN1_add_oid_module 3186 EXIST::FUNCTION: | ||
2742 | CONF_modules_finish 3187 EXIST::FUNCTION: | ||
2743 | OPENSSL_config 3188 EXIST::FUNCTION: | ||
2744 | CONF_modules_unload 3189 EXIST::FUNCTION: | ||
2745 | CONF_imodule_get_value 3190 EXIST::FUNCTION: | ||
2746 | CONF_module_set_usr_data 3191 EXIST::FUNCTION: | ||
2747 | CONF_parse_list 3192 EXIST::FUNCTION: | ||
2748 | CONF_module_add 3193 EXIST::FUNCTION: | ||
2749 | CONF_get1_default_config_file 3194 EXIST::FUNCTION: | ||
2750 | CONF_imodule_get_flags 3195 EXIST::FUNCTION: | ||
2751 | CONF_imodule_get_module 3196 EXIST::FUNCTION: | ||
2752 | CONF_modules_load 3197 EXIST::FUNCTION: | ||
2753 | CONF_imodule_get_name 3198 EXIST::FUNCTION: | ||
2754 | ERR_peek_top_error 3199 NOEXIST::FUNCTION: | ||
2755 | CONF_imodule_get_usr_data 3200 EXIST::FUNCTION: | ||
2756 | CONF_imodule_set_flags 3201 EXIST::FUNCTION: | ||
2757 | ENGINE_add_conf_module 3202 EXIST::FUNCTION:ENGINE | ||
2758 | ERR_peek_last_error_line 3203 EXIST::FUNCTION: | ||
2759 | ERR_peek_last_error_line_data 3204 EXIST::FUNCTION: | ||
2760 | ERR_peek_last_error 3205 EXIST::FUNCTION: | ||
2761 | DES_read_2passwords 3206 EXIST::FUNCTION:DES | ||
2762 | DES_read_password 3207 EXIST::FUNCTION:DES | ||
2763 | UI_UTIL_read_pw 3208 EXIST::FUNCTION: | ||
2764 | UI_UTIL_read_pw_string 3209 EXIST::FUNCTION: | ||
2765 | ENGINE_load_aep 3210 EXIST::FUNCTION:ENGINE | ||
2766 | ENGINE_load_sureware 3211 EXIST::FUNCTION:ENGINE | ||
2767 | OPENSSL_add_all_algorithms_noconf 3212 EXIST:!VMS:FUNCTION: | ||
2768 | OPENSSL_add_all_algo_noconf 3212 EXIST:VMS:FUNCTION: | ||
2769 | OPENSSL_add_all_algorithms_conf 3213 EXIST:!VMS:FUNCTION: | ||
2770 | OPENSSL_add_all_algo_conf 3213 EXIST:VMS:FUNCTION: | ||
2771 | OPENSSL_load_builtin_modules 3214 EXIST::FUNCTION: | ||
2772 | AES_ofb128_encrypt 3215 EXIST::FUNCTION:AES | ||
2773 | AES_ctr128_encrypt 3216 EXIST::FUNCTION:AES | ||
2774 | AES_cfb128_encrypt 3217 EXIST::FUNCTION:AES | ||
2775 | ENGINE_load_4758cca 3218 EXIST::FUNCTION:ENGINE | ||
2776 | _ossl_096_des_random_seed 3219 EXIST::FUNCTION:DES | ||
2777 | EVP_aes_256_ofb 3220 EXIST::FUNCTION:AES | ||
2778 | EVP_aes_192_ofb 3221 EXIST::FUNCTION:AES | ||
2779 | EVP_aes_128_cfb 3222 EXIST::FUNCTION:AES | ||
2780 | EVP_aes_256_cfb 3223 EXIST::FUNCTION:AES | ||
2781 | EVP_aes_128_ofb 3224 EXIST::FUNCTION:AES | ||
2782 | EVP_aes_192_cfb 3225 EXIST::FUNCTION:AES | ||
2783 | CONF_modules_free 3226 EXIST::FUNCTION: | ||
2784 | NCONF_default 3227 EXIST::FUNCTION: | ||
2785 | OPENSSL_no_config 3228 EXIST::FUNCTION: | ||
2786 | NCONF_WIN32 3229 EXIST::FUNCTION: | ||
2787 | ASN1_UNIVERSALSTRING_new 3230 EXIST::FUNCTION: | ||
2788 | EVP_des_ede_ecb 3231 EXIST::FUNCTION:DES | ||
2789 | i2d_ASN1_UNIVERSALSTRING 3232 EXIST::FUNCTION: | ||
2790 | ASN1_UNIVERSALSTRING_free 3233 EXIST::FUNCTION: | ||
2791 | ASN1_UNIVERSALSTRING_it 3234 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: | ||
2792 | ASN1_UNIVERSALSTRING_it 3234 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | ||
2793 | d2i_ASN1_UNIVERSALSTRING 3235 EXIST::FUNCTION: | ||
2794 | EVP_des_ede3_ecb 3236 EXIST::FUNCTION:DES | ||
2795 | X509_REQ_print_ex 3237 EXIST::FUNCTION:BIO | ||
2796 | ENGINE_up_ref 3238 EXIST::FUNCTION:ENGINE | ||
2797 | BUF_MEM_grow_clean 3239 EXIST::FUNCTION: | ||
2798 | CRYPTO_realloc_clean 3240 EXIST::FUNCTION: | ||
2799 | BUF_strlcat 3241 EXIST::FUNCTION: | ||
2800 | BIO_indent 3242 EXIST::FUNCTION: | ||
2801 | BUF_strlcpy 3243 EXIST::FUNCTION: | ||
2802 | OpenSSLDie 3244 EXIST::FUNCTION: | ||
2803 | OPENSSL_cleanse 3245 EXIST::FUNCTION: | ||
2804 | ENGINE_setup_bsd_cryptodev 3246 EXIST:__FreeBSD__:FUNCTION:ENGINE | ||
2805 | ERR_release_err_state_table 3247 EXIST::FUNCTION:LHASH | ||
diff --git a/src/lib/libcrypto/util/mk1mf.pl b/src/lib/libcrypto/util/mk1mf.pl new file mode 100644 index 0000000000..b4bc0457e5 --- /dev/null +++ b/src/lib/libcrypto/util/mk1mf.pl | |||
@@ -0,0 +1,936 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # A bit of an evil hack but it post processes the file ../MINFO which | ||
3 | # is generated by `make files` in the top directory. | ||
4 | # This script outputs one mega makefile that has no shell stuff or any | ||
5 | # funny stuff | ||
6 | # | ||
7 | |||
8 | $INSTALLTOP="/usr/local/ssl"; | ||
9 | $OPTIONS=""; | ||
10 | $ssl_version=""; | ||
11 | $banner="\t\@echo Building OpenSSL"; | ||
12 | |||
13 | open(IN,"<Makefile.ssl") || die "unable to open Makefile.ssl!\n"; | ||
14 | while(<IN>) { | ||
15 | $ssl_version=$1 if (/^VERSION=(.*)$/); | ||
16 | $OPTIONS=$1 if (/^OPTIONS=(.*)$/); | ||
17 | $INSTALLTOP=$1 if (/^INSTALLTOP=(.*$)/); | ||
18 | } | ||
19 | close(IN); | ||
20 | |||
21 | die "Makefile.ssl is not the toplevel Makefile!\n" if $ssl_version eq ""; | ||
22 | |||
23 | $infile="MINFO"; | ||
24 | |||
25 | %ops=( | ||
26 | "VC-WIN32", "Microsoft Visual C++ [4-6] - Windows NT or 9X", | ||
27 | "VC-CE", "Microsoft eMbedded Visual C++ 3.0 - Windows CE ONLY", | ||
28 | "VC-NT", "Microsoft Visual C++ [4-6] - Windows NT ONLY", | ||
29 | "VC-W31-16", "Microsoft Visual C++ 1.52 - Windows 3.1 - 286", | ||
30 | "VC-WIN16", "Alias for VC-W31-32", | ||
31 | "VC-W31-32", "Microsoft Visual C++ 1.52 - Windows 3.1 - 386+", | ||
32 | "VC-MSDOS","Microsoft Visual C++ 1.52 - MSDOS", | ||
33 | "Mingw32", "GNU C++ - Windows NT or 9x", | ||
34 | "Mingw32-files", "Create files with DOS copy ...", | ||
35 | "BC-NT", "Borland C++ 4.5 - Windows NT", | ||
36 | "BC-W31", "Borland C++ 4.5 - Windows 3.1 - PROBABLY NOT WORKING", | ||
37 | "BC-MSDOS","Borland C++ 4.5 - MSDOS", | ||
38 | "linux-elf","Linux elf", | ||
39 | "ultrix-mips","DEC mips ultrix", | ||
40 | "FreeBSD","FreeBSD distribution", | ||
41 | "OS2-EMX", "EMX GCC OS/2", | ||
42 | "default","cc under unix", | ||
43 | ); | ||
44 | |||
45 | $platform=""; | ||
46 | foreach (@ARGV) | ||
47 | { | ||
48 | if (!&read_options && !defined($ops{$_})) | ||
49 | { | ||
50 | print STDERR "unknown option - $_\n"; | ||
51 | print STDERR "usage: perl mk1mf.pl [options] [system]\n"; | ||
52 | print STDERR "\nwhere [system] can be one of the following\n"; | ||
53 | foreach $i (sort keys %ops) | ||
54 | { printf STDERR "\t%-10s\t%s\n",$i,$ops{$i}; } | ||
55 | print STDERR <<"EOF"; | ||
56 | and [options] can be one of | ||
57 | no-md2 no-md4 no-md5 no-sha no-mdc2 - Skip this digest | ||
58 | no-ripemd | ||
59 | no-rc2 no-rc4 no-rc5 no-idea no-des - Skip this symetric cipher | ||
60 | no-bf no-cast no-aes | ||
61 | no-rsa no-dsa no-dh - Skip this public key cipher | ||
62 | no-ssl2 no-ssl3 - Skip this version of SSL | ||
63 | just-ssl - remove all non-ssl keys/digest | ||
64 | no-asm - No x86 asm | ||
65 | no-krb5 - No KRB5 | ||
66 | no-ec - No EC | ||
67 | no-engine - No engine | ||
68 | no-hw - No hw | ||
69 | nasm - Use NASM for x86 asm | ||
70 | gaswin - Use GNU as with Mingw32 | ||
71 | no-socks - No socket code | ||
72 | no-err - No error strings | ||
73 | dll/shlib - Build shared libraries (MS) | ||
74 | debug - Debug build | ||
75 | profile - Profiling build | ||
76 | gcc - Use Gcc (unix) | ||
77 | |||
78 | Values that can be set | ||
79 | TMP=tmpdir OUT=outdir SRC=srcdir BIN=binpath INC=header-outdir CC=C-compiler | ||
80 | |||
81 | -L<ex_lib_path> -l<ex_lib> - extra library flags (unix) | ||
82 | -<ex_cc_flags> - extra 'cc' flags, | ||
83 | added (MS), or replace (unix) | ||
84 | EOF | ||
85 | exit(1); | ||
86 | } | ||
87 | $platform=$_; | ||
88 | } | ||
89 | foreach (grep(!/^$/, split(/ /, $OPTIONS))) | ||
90 | { | ||
91 | print STDERR "unknown option - $_\n" if !&read_options; | ||
92 | } | ||
93 | |||
94 | $no_mdc2=1 if ($no_des); | ||
95 | |||
96 | $no_ssl3=1 if ($no_md5 || $no_sha); | ||
97 | $no_ssl3=1 if ($no_rsa && $no_dh); | ||
98 | |||
99 | $no_ssl2=1 if ($no_md5); | ||
100 | $no_ssl2=1 if ($no_rsa); | ||
101 | |||
102 | $out_def="out"; | ||
103 | $inc_def="outinc"; | ||
104 | $tmp_def="tmp"; | ||
105 | |||
106 | $mkdir="-mkdir"; | ||
107 | |||
108 | ($ssl,$crypto)=("ssl","crypto"); | ||
109 | $ranlib="echo ranlib"; | ||
110 | |||
111 | $cc=(defined($VARS{'CC'}))?$VARS{'CC'}:'cc'; | ||
112 | $src_dir=(defined($VARS{'SRC'}))?$VARS{'SRC'}:'.'; | ||
113 | $bin_dir=(defined($VARS{'BIN'}))?$VARS{'BIN'}:''; | ||
114 | |||
115 | # $bin_dir.=$o causes a core dump on my sparc :-( | ||
116 | |||
117 | $NT=0; | ||
118 | |||
119 | push(@INC,"util/pl","pl"); | ||
120 | if ($platform eq "VC-MSDOS") | ||
121 | { | ||
122 | $asmbits=16; | ||
123 | $msdos=1; | ||
124 | require 'VC-16.pl'; | ||
125 | } | ||
126 | elsif ($platform eq "VC-W31-16") | ||
127 | { | ||
128 | $asmbits=16; | ||
129 | $msdos=1; $win16=1; | ||
130 | require 'VC-16.pl'; | ||
131 | } | ||
132 | elsif (($platform eq "VC-W31-32") || ($platform eq "VC-WIN16")) | ||
133 | { | ||
134 | $asmbits=32; | ||
135 | $msdos=1; $win16=1; | ||
136 | require 'VC-16.pl'; | ||
137 | } | ||
138 | elsif (($platform eq "VC-WIN32") || ($platform eq "VC-NT")) | ||
139 | { | ||
140 | $NT = 1 if $platform eq "VC-NT"; | ||
141 | require 'VC-32.pl'; | ||
142 | } | ||
143 | elsif ($platform eq "VC-CE") | ||
144 | { | ||
145 | require 'VC-CE.pl'; | ||
146 | } | ||
147 | elsif ($platform eq "Mingw32") | ||
148 | { | ||
149 | require 'Mingw32.pl'; | ||
150 | } | ||
151 | elsif ($platform eq "Mingw32-files") | ||
152 | { | ||
153 | require 'Mingw32f.pl'; | ||
154 | } | ||
155 | elsif ($platform eq "BC-NT") | ||
156 | { | ||
157 | $bc=1; | ||
158 | require 'BC-32.pl'; | ||
159 | } | ||
160 | elsif ($platform eq "BC-W31") | ||
161 | { | ||
162 | $bc=1; | ||
163 | $msdos=1; $w16=1; | ||
164 | require 'BC-16.pl'; | ||
165 | } | ||
166 | elsif ($platform eq "BC-Q16") | ||
167 | { | ||
168 | $msdos=1; $w16=1; $shlib=0; $qw=1; | ||
169 | require 'BC-16.pl'; | ||
170 | } | ||
171 | elsif ($platform eq "BC-MSDOS") | ||
172 | { | ||
173 | $asmbits=16; | ||
174 | $msdos=1; | ||
175 | require 'BC-16.pl'; | ||
176 | } | ||
177 | elsif ($platform eq "FreeBSD") | ||
178 | { | ||
179 | require 'unix.pl'; | ||
180 | $cflags='-DTERMIO -D_ANSI_SOURCE -O2 -fomit-frame-pointer'; | ||
181 | } | ||
182 | elsif ($platform eq "linux-elf") | ||
183 | { | ||
184 | require "unix.pl"; | ||
185 | require "linux.pl"; | ||
186 | $unix=1; | ||
187 | } | ||
188 | elsif ($platform eq "ultrix-mips") | ||
189 | { | ||
190 | require "unix.pl"; | ||
191 | require "ultrix.pl"; | ||
192 | $unix=1; | ||
193 | } | ||
194 | elsif ($platform eq "OS2-EMX") | ||
195 | { | ||
196 | $wc=1; | ||
197 | require 'OS2-EMX.pl'; | ||
198 | } | ||
199 | else | ||
200 | { | ||
201 | require "unix.pl"; | ||
202 | |||
203 | $unix=1; | ||
204 | $cflags.=' -DTERMIO'; | ||
205 | } | ||
206 | |||
207 | $out_dir=(defined($VARS{'OUT'}))?$VARS{'OUT'}:$out_def.($debug?".dbg":""); | ||
208 | $tmp_dir=(defined($VARS{'TMP'}))?$VARS{'TMP'}:$tmp_def.($debug?".dbg":""); | ||
209 | $inc_dir=(defined($VARS{'INC'}))?$VARS{'INC'}:$inc_def; | ||
210 | |||
211 | $bin_dir=$bin_dir.$o unless ((substr($bin_dir,-1,1) eq $o) || ($bin_dir eq '')); | ||
212 | |||
213 | $cflags.=" -DOPENSSL_NO_IDEA" if $no_idea; | ||
214 | $cflags.=" -DOPENSSL_NO_AES" if $no_aes; | ||
215 | $cflags.=" -DOPENSSL_NO_RC2" if $no_rc2; | ||
216 | $cflags.=" -DOPENSSL_NO_RC4" if $no_rc4; | ||
217 | $cflags.=" -DOPENSSL_NO_RC5" if $no_rc5; | ||
218 | $cflags.=" -DOPENSSL_NO_MD2" if $no_md2; | ||
219 | $cflags.=" -DOPENSSL_NO_MD4" if $no_md4; | ||
220 | $cflags.=" -DOPENSSL_NO_MD5" if $no_md5; | ||
221 | $cflags.=" -DOPENSSL_NO_SHA" if $no_sha; | ||
222 | $cflags.=" -DOPENSSL_NO_SHA1" if $no_sha1; | ||
223 | $cflags.=" -DOPENSSL_NO_RIPEMD" if $no_ripemd; | ||
224 | $cflags.=" -DOPENSSL_NO_MDC2" if $no_mdc2; | ||
225 | $cflags.=" -DOPENSSL_NO_BF" if $no_bf; | ||
226 | $cflags.=" -DOPENSSL_NO_CAST" if $no_cast; | ||
227 | $cflags.=" -DOPENSSL_NO_DES" if $no_des; | ||
228 | $cflags.=" -DOPENSSL_NO_RSA" if $no_rsa; | ||
229 | $cflags.=" -DOPENSSL_NO_DSA" if $no_dsa; | ||
230 | $cflags.=" -DOPENSSL_NO_DH" if $no_dh; | ||
231 | $cflags.=" -DOPENSSL_NO_SOCK" if $no_sock; | ||
232 | $cflags.=" -DOPENSSL_NO_SSL2" if $no_ssl2; | ||
233 | $cflags.=" -DOPENSSL_NO_SSL3" if $no_ssl3; | ||
234 | $cflags.=" -DOPENSSL_NO_ERR" if $no_err; | ||
235 | $cflags.=" -DOPENSSL_NO_KRB5" if $no_krb5; | ||
236 | $cflags.=" -DOPENSSL_NO_EC" if $no_ec; | ||
237 | $cflags.=" -DOPENSSL_NO_ENGINE" if $no_engine; | ||
238 | $cflags.=" -DOPENSSL_NO_HW" if $no_hw; | ||
239 | #$cflags.=" -DRSAref" if $rsaref ne ""; | ||
240 | |||
241 | ## if ($unix) | ||
242 | ## { $cflags="$c_flags" if ($c_flags ne ""); } | ||
243 | ##else | ||
244 | { $cflags="$c_flags$cflags" if ($c_flags ne ""); } | ||
245 | |||
246 | $ex_libs="$l_flags$ex_libs" if ($l_flags ne ""); | ||
247 | |||
248 | %shlib_ex_cflags=("SSL" => " -DOPENSSL_BUILD_SHLIBSSL", | ||
249 | "CRYPTO" => " -DOPENSSL_BUILD_SHLIBCRYPTO"); | ||
250 | |||
251 | if ($msdos) | ||
252 | { | ||
253 | $banner ="\t\@echo Make sure you have run 'perl Configure $platform' in the\n"; | ||
254 | $banner.="\t\@echo top level directory, if you don't have perl, you will\n"; | ||
255 | $banner.="\t\@echo need to probably edit crypto/bn/bn.h, check the\n"; | ||
256 | $banner.="\t\@echo documentation for details.\n"; | ||
257 | } | ||
258 | |||
259 | # have to do this to allow $(CC) under unix | ||
260 | $link="$bin_dir$link" if ($link !~ /^\$/); | ||
261 | |||
262 | $INSTALLTOP =~ s|/|$o|g; | ||
263 | |||
264 | $defs= <<"EOF"; | ||
265 | # This makefile has been automatically generated from the OpenSSL distribution. | ||
266 | # This single makefile will build the complete OpenSSL distribution and | ||
267 | # by default leave the 'intertesting' output files in .${o}out and the stuff | ||
268 | # that needs deleting in .${o}tmp. | ||
269 | # The file was generated by running 'make makefile.one', which | ||
270 | # does a 'make files', which writes all the environment variables from all | ||
271 | # the makefiles to the file call MINFO. This file is used by | ||
272 | # util${o}mk1mf.pl to generate makefile.one. | ||
273 | # The 'makefile per directory' system suites me when developing this | ||
274 | # library and also so I can 'distribute' indervidual library sections. | ||
275 | # The one monster makefile better suits building in non-unix | ||
276 | # environments. | ||
277 | |||
278 | EOF | ||
279 | |||
280 | $defs .= $preamble if defined $preamble; | ||
281 | |||
282 | if ($platform eq "VC-CE") | ||
283 | { | ||
284 | $defs.= <<"EOF"; | ||
285 | !INCLUDE <\$(WCECOMPAT)/wcedefs.mak> | ||
286 | |||
287 | EOF | ||
288 | } | ||
289 | |||
290 | $defs.= <<"EOF"; | ||
291 | INSTALLTOP=$INSTALLTOP | ||
292 | |||
293 | # Set your compiler options | ||
294 | PLATFORM=$platform | ||
295 | CC=$bin_dir${cc} | ||
296 | CFLAG=$cflags | ||
297 | APP_CFLAG=$app_cflag | ||
298 | LIB_CFLAG=$lib_cflag | ||
299 | SHLIB_CFLAG=$shl_cflag | ||
300 | APP_EX_OBJ=$app_ex_obj | ||
301 | SHLIB_EX_OBJ=$shlib_ex_obj | ||
302 | # add extra libraries to this define, for solaris -lsocket -lnsl would | ||
303 | # be added | ||
304 | EX_LIBS=$ex_libs | ||
305 | |||
306 | # The OpenSSL directory | ||
307 | SRC_D=$src_dir | ||
308 | |||
309 | LINK=$link | ||
310 | LFLAGS=$lflags | ||
311 | |||
312 | BN_ASM_OBJ=$bn_asm_obj | ||
313 | BN_ASM_SRC=$bn_asm_src | ||
314 | BNCO_ASM_OBJ=$bnco_asm_obj | ||
315 | BNCO_ASM_SRC=$bnco_asm_src | ||
316 | DES_ENC_OBJ=$des_enc_obj | ||
317 | DES_ENC_SRC=$des_enc_src | ||
318 | BF_ENC_OBJ=$bf_enc_obj | ||
319 | BF_ENC_SRC=$bf_enc_src | ||
320 | CAST_ENC_OBJ=$cast_enc_obj | ||
321 | CAST_ENC_SRC=$cast_enc_src | ||
322 | RC4_ENC_OBJ=$rc4_enc_obj | ||
323 | RC4_ENC_SRC=$rc4_enc_src | ||
324 | RC5_ENC_OBJ=$rc5_enc_obj | ||
325 | RC5_ENC_SRC=$rc5_enc_src | ||
326 | MD5_ASM_OBJ=$md5_asm_obj | ||
327 | MD5_ASM_SRC=$md5_asm_src | ||
328 | SHA1_ASM_OBJ=$sha1_asm_obj | ||
329 | SHA1_ASM_SRC=$sha1_asm_src | ||
330 | RMD160_ASM_OBJ=$rmd160_asm_obj | ||
331 | RMD160_ASM_SRC=$rmd160_asm_src | ||
332 | |||
333 | # The output directory for everything intersting | ||
334 | OUT_D=$out_dir | ||
335 | # The output directory for all the temporary muck | ||
336 | TMP_D=$tmp_dir | ||
337 | # The output directory for the header files | ||
338 | INC_D=$inc_dir | ||
339 | INCO_D=$inc_dir${o}openssl | ||
340 | |||
341 | CP=$cp | ||
342 | RM=$rm | ||
343 | RANLIB=$ranlib | ||
344 | MKDIR=$mkdir | ||
345 | MKLIB=$bin_dir$mklib | ||
346 | MLFLAGS=$mlflags | ||
347 | ASM=$bin_dir$asm | ||
348 | |||
349 | ###################################################### | ||
350 | # You should not need to touch anything below this point | ||
351 | ###################################################### | ||
352 | |||
353 | E_EXE=openssl | ||
354 | SSL=$ssl | ||
355 | CRYPTO=$crypto | ||
356 | |||
357 | # BIN_D - Binary output directory | ||
358 | # TEST_D - Binary test file output directory | ||
359 | # LIB_D - library output directory | ||
360 | # Note: if you change these point to different directories then uncomment out | ||
361 | # the lines around the 'NB' comment below. | ||
362 | # | ||
363 | BIN_D=\$(OUT_D) | ||
364 | TEST_D=\$(OUT_D) | ||
365 | LIB_D=\$(OUT_D) | ||
366 | |||
367 | # INCL_D - local library directory | ||
368 | # OBJ_D - temp object file directory | ||
369 | OBJ_D=\$(TMP_D) | ||
370 | INCL_D=\$(TMP_D) | ||
371 | |||
372 | O_SSL= \$(LIB_D)$o$plib\$(SSL)$shlibp | ||
373 | O_CRYPTO= \$(LIB_D)$o$plib\$(CRYPTO)$shlibp | ||
374 | SO_SSL= $plib\$(SSL)$so_shlibp | ||
375 | SO_CRYPTO= $plib\$(CRYPTO)$so_shlibp | ||
376 | L_SSL= \$(LIB_D)$o$plib\$(SSL)$libp | ||
377 | L_CRYPTO= \$(LIB_D)$o$plib\$(CRYPTO)$libp | ||
378 | |||
379 | L_LIBS= \$(L_SSL) \$(L_CRYPTO) | ||
380 | |||
381 | ###################################################### | ||
382 | # Don't touch anything below this point | ||
383 | ###################################################### | ||
384 | |||
385 | INC=-I\$(INC_D) -I\$(INCL_D) | ||
386 | APP_CFLAGS=\$(INC) \$(CFLAG) \$(APP_CFLAG) | ||
387 | LIB_CFLAGS=\$(INC) \$(CFLAG) \$(LIB_CFLAG) | ||
388 | SHLIB_CFLAGS=\$(INC) \$(CFLAG) \$(LIB_CFLAG) \$(SHLIB_CFLAG) | ||
389 | LIBS_DEP=\$(O_CRYPTO) \$(O_SSL) | ||
390 | |||
391 | ############################################# | ||
392 | EOF | ||
393 | |||
394 | $rules=<<"EOF"; | ||
395 | all: banner \$(TMP_D) \$(BIN_D) \$(TEST_D) \$(LIB_D) \$(INCO_D) headers lib exe | ||
396 | |||
397 | banner: | ||
398 | $banner | ||
399 | |||
400 | \$(TMP_D): | ||
401 | \$(MKDIR) \$(TMP_D) | ||
402 | # NB: uncomment out these lines if BIN_D, TEST_D and LIB_D are different | ||
403 | #\$(BIN_D): | ||
404 | # \$(MKDIR) \$(BIN_D) | ||
405 | # | ||
406 | #\$(TEST_D): | ||
407 | # \$(MKDIR) \$(TEST_D) | ||
408 | |||
409 | \$(LIB_D): | ||
410 | \$(MKDIR) \$(LIB_D) | ||
411 | |||
412 | \$(INCO_D): \$(INC_D) | ||
413 | \$(MKDIR) \$(INCO_D) | ||
414 | |||
415 | \$(INC_D): | ||
416 | \$(MKDIR) \$(INC_D) | ||
417 | |||
418 | headers: \$(HEADER) \$(EXHEADER) | ||
419 | @ | ||
420 | |||
421 | lib: \$(LIBS_DEP) | ||
422 | |||
423 | exe: \$(T_EXE) \$(BIN_D)$o\$(E_EXE)$exep | ||
424 | |||
425 | install: | ||
426 | \$(MKDIR) \$(INSTALLTOP) | ||
427 | \$(MKDIR) \$(INSTALLTOP)${o}bin | ||
428 | \$(MKDIR) \$(INSTALLTOP)${o}include | ||
429 | \$(MKDIR) \$(INSTALLTOP)${o}include${o}openssl | ||
430 | \$(MKDIR) \$(INSTALLTOP)${o}lib | ||
431 | \$(CP) \$(INCO_D)${o}*.\[ch\] \$(INSTALLTOP)${o}include${o}openssl | ||
432 | \$(CP) \$(BIN_D)$o\$(E_EXE)$exep \$(INSTALLTOP)${o}bin | ||
433 | \$(CP) \$(O_SSL) \$(INSTALLTOP)${o}lib | ||
434 | \$(CP) \$(O_CRYPTO) \$(INSTALLTOP)${o}lib | ||
435 | |||
436 | clean: | ||
437 | \$(RM) \$(TMP_D)$o*.* | ||
438 | |||
439 | vclean: | ||
440 | \$(RM) \$(TMP_D)$o*.* | ||
441 | \$(RM) \$(OUT_D)$o*.* | ||
442 | |||
443 | EOF | ||
444 | |||
445 | my $platform_cpp_symbol = "MK1MF_PLATFORM_$platform"; | ||
446 | $platform_cpp_symbol =~ s/-/_/g; | ||
447 | if (open(IN,"crypto/buildinf.h")) | ||
448 | { | ||
449 | # Remove entry for this platform in existing file buildinf.h. | ||
450 | |||
451 | my $old_buildinf_h = ""; | ||
452 | while (<IN>) | ||
453 | { | ||
454 | if (/^\#ifdef $platform_cpp_symbol$/) | ||
455 | { | ||
456 | while (<IN>) { last if (/^\#endif/); } | ||
457 | } | ||
458 | else | ||
459 | { | ||
460 | $old_buildinf_h .= $_; | ||
461 | } | ||
462 | } | ||
463 | close(IN); | ||
464 | |||
465 | open(OUT,">crypto/buildinf.h") || die "Can't open buildinf.h"; | ||
466 | print OUT $old_buildinf_h; | ||
467 | close(OUT); | ||
468 | } | ||
469 | |||
470 | open (OUT,">>crypto/buildinf.h") || die "Can't open buildinf.h"; | ||
471 | printf OUT <<EOF; | ||
472 | #ifdef $platform_cpp_symbol | ||
473 | /* auto-generated/updated by util/mk1mf.pl for crypto/cversion.c */ | ||
474 | #define CFLAGS "$cc $cflags" | ||
475 | #define PLATFORM "$platform" | ||
476 | EOF | ||
477 | printf OUT " #define DATE \"%s\"\n", scalar gmtime(); | ||
478 | printf OUT "#endif\n"; | ||
479 | close(OUT); | ||
480 | |||
481 | ############################################# | ||
482 | # We parse in input file and 'store' info for later printing. | ||
483 | open(IN,"<$infile") || die "unable to open $infile:$!\n"; | ||
484 | $_=<IN>; | ||
485 | for (;;) | ||
486 | { | ||
487 | chop; | ||
488 | |||
489 | ($key,$val)=/^([^=]+)=(.*)/; | ||
490 | if ($key eq "RELATIVE_DIRECTORY") | ||
491 | { | ||
492 | if ($lib ne "") | ||
493 | { | ||
494 | $uc=$lib; | ||
495 | $uc =~ s/^lib(.*)\.a/$1/; | ||
496 | $uc =~ tr/a-z/A-Z/; | ||
497 | $lib_nam{$uc}=$uc; | ||
498 | $lib_obj{$uc}.=$libobj." "; | ||
499 | } | ||
500 | last if ($val eq "FINISHED"); | ||
501 | $lib=""; | ||
502 | $libobj=""; | ||
503 | $dir=$val; | ||
504 | } | ||
505 | |||
506 | if ($key eq "TEST") | ||
507 | { $test.=&var_add($dir,$val); } | ||
508 | |||
509 | if (($key eq "PROGS") || ($key eq "E_OBJ")) | ||
510 | { $e_exe.=&var_add($dir,$val); } | ||
511 | |||
512 | if ($key eq "LIB") | ||
513 | { | ||
514 | $lib=$val; | ||
515 | $lib =~ s/^.*\/([^\/]+)$/$1/; | ||
516 | } | ||
517 | |||
518 | if ($key eq "EXHEADER") | ||
519 | { $exheader.=&var_add($dir,$val); } | ||
520 | |||
521 | if ($key eq "HEADER") | ||
522 | { $header.=&var_add($dir,$val); } | ||
523 | |||
524 | if ($key eq "LIBOBJ") | ||
525 | { $libobj=&var_add($dir,$val); } | ||
526 | |||
527 | if (!($_=<IN>)) | ||
528 | { $_="RELATIVE_DIRECTORY=FINISHED\n"; } | ||
529 | } | ||
530 | close(IN); | ||
531 | |||
532 | # Strip of trailing ' ' | ||
533 | foreach (keys %lib_obj) { $lib_obj{$_}=&clean_up_ws($lib_obj{$_}); } | ||
534 | $test=&clean_up_ws($test); | ||
535 | $e_exe=&clean_up_ws($e_exe); | ||
536 | $exheader=&clean_up_ws($exheader); | ||
537 | $header=&clean_up_ws($header); | ||
538 | |||
539 | # First we strip the exheaders from the headers list | ||
540 | foreach (split(/\s+/,$exheader)){ $h{$_}=1; } | ||
541 | foreach (split(/\s+/,$header)) { $h.=$_." " unless $h{$_}; } | ||
542 | chop($h); $header=$h; | ||
543 | |||
544 | $defs.=&do_defs("HEADER",$header,"\$(INCL_D)",".h"); | ||
545 | $rules.=&do_copy_rule("\$(INCL_D)",$header,".h"); | ||
546 | |||
547 | $defs.=&do_defs("EXHEADER",$exheader,"\$(INCO_D)",".h"); | ||
548 | $rules.=&do_copy_rule("\$(INCO_D)",$exheader,".h"); | ||
549 | |||
550 | $defs.=&do_defs("T_OBJ",$test,"\$(OBJ_D)",$obj); | ||
551 | $rules.=&do_compile_rule("\$(OBJ_D)",$test,"\$(APP_CFLAGS)"); | ||
552 | |||
553 | $defs.=&do_defs("E_OBJ",$e_exe,"\$(OBJ_D)",$obj); | ||
554 | $rules.=&do_compile_rule("\$(OBJ_D)",$e_exe,'-DMONOLITH $(APP_CFLAGS)'); | ||
555 | |||
556 | foreach (values %lib_nam) | ||
557 | { | ||
558 | $lib_obj=$lib_obj{$_}; | ||
559 | local($slib)=$shlib; | ||
560 | |||
561 | if (($_ eq "SSL") && $no_ssl2 && $no_ssl3) | ||
562 | { | ||
563 | $rules.="\$(O_SSL):\n\n"; | ||
564 | next; | ||
565 | } | ||
566 | |||
567 | if (($bn_asm_obj ne "") && ($_ eq "CRYPTO")) | ||
568 | { | ||
569 | $lib_obj =~ s/\s\S*\/bn_asm\S*/ \$(BN_ASM_OBJ)/; | ||
570 | $rules.=&do_asm_rule($bn_asm_obj,$bn_asm_src); | ||
571 | } | ||
572 | if (($bnco_asm_obj ne "") && ($_ eq "CRYPTO")) | ||
573 | { | ||
574 | $lib_obj .= "\$(BNCO_ASM_OBJ)"; | ||
575 | $rules.=&do_asm_rule($bnco_asm_obj,$bnco_asm_src); | ||
576 | } | ||
577 | if (($des_enc_obj ne "") && ($_ eq "CRYPTO")) | ||
578 | { | ||
579 | $lib_obj =~ s/\s\S*des_enc\S*/ \$(DES_ENC_OBJ)/; | ||
580 | $lib_obj =~ s/\s\S*\/fcrypt_b\S*\s*/ /; | ||
581 | $rules.=&do_asm_rule($des_enc_obj,$des_enc_src); | ||
582 | } | ||
583 | if (($bf_enc_obj ne "") && ($_ eq "CRYPTO")) | ||
584 | { | ||
585 | $lib_obj =~ s/\s\S*\/bf_enc\S*/ \$(BF_ENC_OBJ)/; | ||
586 | $rules.=&do_asm_rule($bf_enc_obj,$bf_enc_src); | ||
587 | } | ||
588 | if (($cast_enc_obj ne "") && ($_ eq "CRYPTO")) | ||
589 | { | ||
590 | $lib_obj =~ s/(\s\S*\/c_enc\S*)/ \$(CAST_ENC_OBJ)/; | ||
591 | $rules.=&do_asm_rule($cast_enc_obj,$cast_enc_src); | ||
592 | } | ||
593 | if (($rc4_enc_obj ne "") && ($_ eq "CRYPTO")) | ||
594 | { | ||
595 | $lib_obj =~ s/\s\S*\/rc4_enc\S*/ \$(RC4_ENC_OBJ)/; | ||
596 | $rules.=&do_asm_rule($rc4_enc_obj,$rc4_enc_src); | ||
597 | } | ||
598 | if (($rc5_enc_obj ne "") && ($_ eq "CRYPTO")) | ||
599 | { | ||
600 | $lib_obj =~ s/\s\S*\/rc5_enc\S*/ \$(RC5_ENC_OBJ)/; | ||
601 | $rules.=&do_asm_rule($rc5_enc_obj,$rc5_enc_src); | ||
602 | } | ||
603 | if (($md5_asm_obj ne "") && ($_ eq "CRYPTO")) | ||
604 | { | ||
605 | $lib_obj =~ s/\s(\S*\/md5_dgst\S*)/ $1 \$(MD5_ASM_OBJ)/; | ||
606 | $rules.=&do_asm_rule($md5_asm_obj,$md5_asm_src); | ||
607 | } | ||
608 | if (($sha1_asm_obj ne "") && ($_ eq "CRYPTO")) | ||
609 | { | ||
610 | $lib_obj =~ s/\s(\S*\/sha1dgst\S*)/ $1 \$(SHA1_ASM_OBJ)/; | ||
611 | $rules.=&do_asm_rule($sha1_asm_obj,$sha1_asm_src); | ||
612 | } | ||
613 | if (($rmd160_asm_obj ne "") && ($_ eq "CRYPTO")) | ||
614 | { | ||
615 | $lib_obj =~ s/\s(\S*\/rmd_dgst\S*)/ $1 \$(RMD160_ASM_OBJ)/; | ||
616 | $rules.=&do_asm_rule($rmd160_asm_obj,$rmd160_asm_src); | ||
617 | } | ||
618 | $defs.=&do_defs(${_}."OBJ",$lib_obj,"\$(OBJ_D)",$obj); | ||
619 | $lib=($slib)?" \$(SHLIB_CFLAGS)".$shlib_ex_cflags{$_}:" \$(LIB_CFLAGS)"; | ||
620 | $rules.=&do_compile_rule("\$(OBJ_D)",$lib_obj{$_},$lib); | ||
621 | } | ||
622 | |||
623 | $defs.=&do_defs("T_EXE",$test,"\$(TEST_D)",$exep); | ||
624 | foreach (split(/\s+/,$test)) | ||
625 | { | ||
626 | $t=&bname($_); | ||
627 | $tt="\$(OBJ_D)${o}$t${obj}"; | ||
628 | $rules.=&do_link_rule("\$(TEST_D)$o$t$exep",$tt,"\$(LIBS_DEP)","\$(L_LIBS) \$(EX_LIBS)"); | ||
629 | } | ||
630 | |||
631 | $rules.= &do_lib_rule("\$(SSLOBJ)","\$(O_SSL)",$ssl,$shlib,"\$(SO_SSL)"); | ||
632 | $rules.= &do_lib_rule("\$(CRYPTOOBJ)","\$(O_CRYPTO)",$crypto,$shlib,"\$(SO_CRYPTO)"); | ||
633 | |||
634 | $rules.=&do_link_rule("\$(BIN_D)$o\$(E_EXE)$exep","\$(E_OBJ)","\$(LIBS_DEP)","\$(L_LIBS) \$(EX_LIBS)"); | ||
635 | |||
636 | print $defs; | ||
637 | |||
638 | if ($platform eq "linux-elf") { | ||
639 | print <<"EOF"; | ||
640 | # Generate perlasm output files | ||
641 | %.cpp: | ||
642 | (cd \$(\@D)/..; PERL=perl make -f Makefile.ssl asm/\$(\@F)) | ||
643 | EOF | ||
644 | } | ||
645 | print "###################################################################\n"; | ||
646 | print $rules; | ||
647 | |||
648 | ############################################### | ||
649 | # strip off any trailing .[och] and append the relative directory | ||
650 | # also remembering to do nothing if we are in one of the dropped | ||
651 | # directories | ||
652 | sub var_add | ||
653 | { | ||
654 | local($dir,$val)=@_; | ||
655 | local(@a,$_,$ret); | ||
656 | |||
657 | return("") if $no_engine && $dir =~ /\/engine/; | ||
658 | return("") if $no_hw && $dir =~ /\/hw/; | ||
659 | return("") if $no_idea && $dir =~ /\/idea/; | ||
660 | return("") if $no_aes && $dir =~ /\/aes/; | ||
661 | return("") if $no_rc2 && $dir =~ /\/rc2/; | ||
662 | return("") if $no_rc4 && $dir =~ /\/rc4/; | ||
663 | return("") if $no_rc5 && $dir =~ /\/rc5/; | ||
664 | return("") if $no_rsa && $dir =~ /\/rsa/; | ||
665 | return("") if $no_rsa && $dir =~ /^rsaref/; | ||
666 | return("") if $no_dsa && $dir =~ /\/dsa/; | ||
667 | return("") if $no_dh && $dir =~ /\/dh/; | ||
668 | return("") if $no_ec && $dir =~ /\/ec/; | ||
669 | if ($no_des && $dir =~ /\/des/) | ||
670 | { | ||
671 | if ($val =~ /read_pwd/) | ||
672 | { return("$dir/read_pwd "); } | ||
673 | else | ||
674 | { return(""); } | ||
675 | } | ||
676 | return("") if $no_mdc2 && $dir =~ /\/mdc2/; | ||
677 | return("") if $no_sock && $dir =~ /\/proxy/; | ||
678 | return("") if $no_bf && $dir =~ /\/bf/; | ||
679 | return("") if $no_cast && $dir =~ /\/cast/; | ||
680 | |||
681 | $val =~ s/^\s*(.*)\s*$/$1/; | ||
682 | @a=split(/\s+/,$val); | ||
683 | grep(s/\.[och]$//,@a); | ||
684 | |||
685 | @a=grep(!/^e_.*_3d$/,@a) if $no_des; | ||
686 | @a=grep(!/^e_.*_d$/,@a) if $no_des; | ||
687 | @a=grep(!/^e_.*_ae$/,@a) if $no_idea; | ||
688 | @a=grep(!/^e_.*_i$/,@a) if $no_aes; | ||
689 | @a=grep(!/^e_.*_r2$/,@a) if $no_rc2; | ||
690 | @a=grep(!/^e_.*_r5$/,@a) if $no_rc5; | ||
691 | @a=grep(!/^e_.*_bf$/,@a) if $no_bf; | ||
692 | @a=grep(!/^e_.*_c$/,@a) if $no_cast; | ||
693 | @a=grep(!/^e_rc4$/,@a) if $no_rc4; | ||
694 | |||
695 | @a=grep(!/(^s2_)|(^s23_)/,@a) if $no_ssl2; | ||
696 | @a=grep(!/(^s3_)|(^s23_)/,@a) if $no_ssl3; | ||
697 | |||
698 | @a=grep(!/(_sock$)|(_acpt$)|(_conn$)|(^pxy_)/,@a) if $no_sock; | ||
699 | |||
700 | @a=grep(!/(^md2)|(_md2$)/,@a) if $no_md2; | ||
701 | @a=grep(!/(^md4)|(_md4$)/,@a) if $no_md4; | ||
702 | @a=grep(!/(^md5)|(_md5$)/,@a) if $no_md5; | ||
703 | @a=grep(!/(rmd)|(ripemd)/,@a) if $no_ripemd; | ||
704 | |||
705 | @a=grep(!/(^d2i_r_)|(^i2d_r_)/,@a) if $no_rsa; | ||
706 | @a=grep(!/(^p_open$)|(^p_seal$)/,@a) if $no_rsa; | ||
707 | @a=grep(!/(^pem_seal$)/,@a) if $no_rsa; | ||
708 | |||
709 | @a=grep(!/(m_dss$)|(m_dss1$)/,@a) if $no_dsa; | ||
710 | @a=grep(!/(^d2i_s_)|(^i2d_s_)|(_dsap$)/,@a) if $no_dsa; | ||
711 | |||
712 | @a=grep(!/^n_pkey$/,@a) if $no_rsa || $no_rc4; | ||
713 | |||
714 | @a=grep(!/_dhp$/,@a) if $no_dh; | ||
715 | |||
716 | @a=grep(!/(^sha[^1])|(_sha$)|(m_dss$)/,@a) if $no_sha; | ||
717 | @a=grep(!/(^sha1)|(_sha1$)|(m_dss1$)/,@a) if $no_sha1; | ||
718 | @a=grep(!/_mdc2$/,@a) if $no_mdc2; | ||
719 | |||
720 | @a=grep(!/^engine$/,@a) if $no_engine; | ||
721 | @a=grep(!/^hw$/,@a) if $no_hw; | ||
722 | @a=grep(!/(^rsa$)|(^genrsa$)/,@a) if $no_rsa; | ||
723 | @a=grep(!/(^dsa$)|(^gendsa$)|(^dsaparam$)/,@a) if $no_dsa; | ||
724 | @a=grep(!/^gendsa$/,@a) if $no_sha1; | ||
725 | @a=grep(!/(^dh$)|(^gendh$)/,@a) if $no_dh; | ||
726 | |||
727 | @a=grep(!/(^dh)|(_sha1$)|(m_dss1$)/,@a) if $no_sha1; | ||
728 | |||
729 | grep($_="$dir/$_",@a); | ||
730 | @a=grep(!/(^|\/)s_/,@a) if $no_sock; | ||
731 | @a=grep(!/(^|\/)bio_sock/,@a) if $no_sock; | ||
732 | $ret=join(' ',@a)." "; | ||
733 | return($ret); | ||
734 | } | ||
735 | |||
736 | # change things so that each 'token' is only separated by one space | ||
737 | sub clean_up_ws | ||
738 | { | ||
739 | local($w)=@_; | ||
740 | |||
741 | $w =~ s/^\s*(.*)\s*$/$1/; | ||
742 | $w =~ s/\s+/ /g; | ||
743 | return($w); | ||
744 | } | ||
745 | |||
746 | sub do_defs | ||
747 | { | ||
748 | local($var,$files,$location,$postfix)=@_; | ||
749 | local($_,$ret,$pf); | ||
750 | local(*OUT,$tmp,$t); | ||
751 | |||
752 | $files =~ s/\//$o/g if $o ne '/'; | ||
753 | $ret="$var="; | ||
754 | $n=1; | ||
755 | $Vars{$var}.=""; | ||
756 | foreach (split(/ /,$files)) | ||
757 | { | ||
758 | $orig=$_; | ||
759 | $_=&bname($_) unless /^\$/; | ||
760 | if ($n++ == 2) | ||
761 | { | ||
762 | $n=0; | ||
763 | $ret.="\\\n\t"; | ||
764 | } | ||
765 | if (($_ =~ /bss_file/) && ($postfix eq ".h")) | ||
766 | { $pf=".c"; } | ||
767 | else { $pf=$postfix; } | ||
768 | if ($_ =~ /BN_ASM/) { $t="$_ "; } | ||
769 | elsif ($_ =~ /BNCO_ASM/){ $t="$_ "; } | ||
770 | elsif ($_ =~ /DES_ENC/) { $t="$_ "; } | ||
771 | elsif ($_ =~ /BF_ENC/) { $t="$_ "; } | ||
772 | elsif ($_ =~ /CAST_ENC/){ $t="$_ "; } | ||
773 | elsif ($_ =~ /RC4_ENC/) { $t="$_ "; } | ||
774 | elsif ($_ =~ /RC5_ENC/) { $t="$_ "; } | ||
775 | elsif ($_ =~ /MD5_ASM/) { $t="$_ "; } | ||
776 | elsif ($_ =~ /SHA1_ASM/){ $t="$_ "; } | ||
777 | elsif ($_ =~ /RMD160_ASM/){ $t="$_ "; } | ||
778 | else { $t="$location${o}$_$pf "; } | ||
779 | |||
780 | $Vars{$var}.="$t "; | ||
781 | $ret.=$t; | ||
782 | } | ||
783 | chop($ret); | ||
784 | $ret.="\n\n"; | ||
785 | return($ret); | ||
786 | } | ||
787 | |||
788 | # return the name with the leading path removed | ||
789 | sub bname | ||
790 | { | ||
791 | local($ret)=@_; | ||
792 | $ret =~ s/^.*[\\\/]([^\\\/]+)$/$1/; | ||
793 | return($ret); | ||
794 | } | ||
795 | |||
796 | |||
797 | ############################################################## | ||
798 | # do a rule for each file that says 'compile' to new direcory | ||
799 | # compile the files in '$files' into $to | ||
800 | sub do_compile_rule | ||
801 | { | ||
802 | local($to,$files,$ex)=@_; | ||
803 | local($ret,$_,$n); | ||
804 | |||
805 | $files =~ s/\//$o/g if $o ne '/'; | ||
806 | foreach (split(/\s+/,$files)) | ||
807 | { | ||
808 | $n=&bname($_); | ||
809 | $ret.=&cc_compile_target("$to${o}$n$obj","${_}.c",$ex) | ||
810 | } | ||
811 | return($ret); | ||
812 | } | ||
813 | |||
814 | ############################################################## | ||
815 | # do a rule for each file that says 'compile' to new direcory | ||
816 | sub cc_compile_target | ||
817 | { | ||
818 | local($target,$source,$ex_flags)=@_; | ||
819 | local($ret); | ||
820 | |||
821 | $ex_flags.=" -DMK1MF_BUILD -D$platform_cpp_symbol" if ($source =~ /cversion/); | ||
822 | $target =~ s/\//$o/g if $o ne "/"; | ||
823 | $source =~ s/\//$o/g if $o ne "/"; | ||
824 | $ret ="$target: \$(SRC_D)$o$source\n\t"; | ||
825 | $ret.="\$(CC) ${ofile}$target $ex_flags -c \$(SRC_D)$o$source\n\n"; | ||
826 | return($ret); | ||
827 | } | ||
828 | |||
829 | ############################################################## | ||
830 | sub do_asm_rule | ||
831 | { | ||
832 | local($target,$src)=@_; | ||
833 | local($ret,@s,@t,$i); | ||
834 | |||
835 | $target =~ s/\//$o/g if $o ne "/"; | ||
836 | $src =~ s/\//$o/g if $o ne "/"; | ||
837 | |||
838 | @s=split(/\s+/,$src); | ||
839 | @t=split(/\s+/,$target); | ||
840 | |||
841 | for ($i=0; $i<=$#s; $i++) | ||
842 | { | ||
843 | $ret.="$t[$i]: $s[$i]\n"; | ||
844 | $ret.="\t\$(ASM) $afile$t[$i] \$(SRC_D)$o$s[$i]\n\n"; | ||
845 | } | ||
846 | return($ret); | ||
847 | } | ||
848 | |||
849 | sub do_shlib_rule | ||
850 | { | ||
851 | local($n,$def)=@_; | ||
852 | local($ret,$nn); | ||
853 | local($t); | ||
854 | |||
855 | ($nn=$n) =~ tr/a-z/A-Z/; | ||
856 | $ret.="$n.dll: \$(${nn}OBJ)\n"; | ||
857 | if ($vc && $w32) | ||
858 | { | ||
859 | $ret.="\t\$(MKSHLIB) $efile$n.dll $def @<<\n \$(${nn}OBJ_F)\n<<\n"; | ||
860 | } | ||
861 | $ret.="\n"; | ||
862 | return($ret); | ||
863 | } | ||
864 | |||
865 | # do a rule for each file that says 'copy' to new direcory on change | ||
866 | sub do_copy_rule | ||
867 | { | ||
868 | local($to,$files,$p)=@_; | ||
869 | local($ret,$_,$n,$pp); | ||
870 | |||
871 | $files =~ s/\//$o/g if $o ne '/'; | ||
872 | foreach (split(/\s+/,$files)) | ||
873 | { | ||
874 | $n=&bname($_); | ||
875 | if ($n =~ /bss_file/) | ||
876 | { $pp=".c"; } | ||
877 | else { $pp=$p; } | ||
878 | $ret.="$to${o}$n$pp: \$(SRC_D)$o$_$pp\n\t\$(CP) \$(SRC_D)$o$_$pp $to${o}$n$pp\n\n"; | ||
879 | } | ||
880 | return($ret); | ||
881 | } | ||
882 | |||
883 | sub read_options | ||
884 | { | ||
885 | if (/^no-rc2$/) { $no_rc2=1; } | ||
886 | elsif (/^no-rc4$/) { $no_rc4=1; } | ||
887 | elsif (/^no-rc5$/) { $no_rc5=1; } | ||
888 | elsif (/^no-idea$/) { $no_idea=1; } | ||
889 | elsif (/^no-aes$/) { $no_aes=1; } | ||
890 | elsif (/^no-des$/) { $no_des=1; } | ||
891 | elsif (/^no-bf$/) { $no_bf=1; } | ||
892 | elsif (/^no-cast$/) { $no_cast=1; } | ||
893 | elsif (/^no-md2$/) { $no_md2=1; } | ||
894 | elsif (/^no-md4$/) { $no_md4=1; } | ||
895 | elsif (/^no-md5$/) { $no_md5=1; } | ||
896 | elsif (/^no-sha$/) { $no_sha=1; } | ||
897 | elsif (/^no-sha1$/) { $no_sha1=1; } | ||
898 | elsif (/^no-ripemd$/) { $no_ripemd=1; } | ||
899 | elsif (/^no-mdc2$/) { $no_mdc2=1; } | ||
900 | elsif (/^no-patents$/) { $no_rc2=$no_rc4=$no_rc5=$no_idea=$no_rsa=1; } | ||
901 | elsif (/^no-rsa$/) { $no_rsa=1; } | ||
902 | elsif (/^no-dsa$/) { $no_dsa=1; } | ||
903 | elsif (/^no-dh$/) { $no_dh=1; } | ||
904 | elsif (/^no-hmac$/) { $no_hmac=1; } | ||
905 | elsif (/^no-aes$/) { $no_aes=1; } | ||
906 | elsif (/^no-asm$/) { $no_asm=1; } | ||
907 | elsif (/^nasm$/) { $nasm=1; } | ||
908 | elsif (/^gaswin$/) { $gaswin=1; } | ||
909 | elsif (/^no-ssl2$/) { $no_ssl2=1; } | ||
910 | elsif (/^no-ssl3$/) { $no_ssl3=1; } | ||
911 | elsif (/^no-err$/) { $no_err=1; } | ||
912 | elsif (/^no-sock$/) { $no_sock=1; } | ||
913 | elsif (/^no-krb5$/) { $no_krb5=1; } | ||
914 | elsif (/^no-ec$/) { $no_ec=1; } | ||
915 | elsif (/^no-engine$/) { $no_engine=1; } | ||
916 | elsif (/^no-hw$/) { $no_hw=1; } | ||
917 | |||
918 | elsif (/^just-ssl$/) { $no_rc2=$no_idea=$no_des=$no_bf=$no_cast=1; | ||
919 | $no_md2=$no_sha=$no_mdc2=$no_dsa=$no_dh=1; | ||
920 | $no_ssl2=$no_err=$no_ripemd=$no_rc5=1; | ||
921 | $no_aes=1; } | ||
922 | |||
923 | elsif (/^rsaref$/) { } | ||
924 | elsif (/^gcc$/) { $gcc=1; } | ||
925 | elsif (/^debug$/) { $debug=1; } | ||
926 | elsif (/^profile$/) { $profile=1; } | ||
927 | elsif (/^shlib$/) { $shlib=1; } | ||
928 | elsif (/^dll$/) { $shlib=1; } | ||
929 | elsif (/^shared$/) { } # We just need to ignore it for now... | ||
930 | elsif (/^([^=]*)=(.*)$/){ $VARS{$1}=$2; } | ||
931 | elsif (/^-[lL].*$/) { $l_flags.="$_ "; } | ||
932 | elsif ((!/^-help/) && (!/^-h/) && (!/^-\?/) && /^-.*$/) | ||
933 | { $c_flags.="$_ "; } | ||
934 | else { return(0); } | ||
935 | return(1); | ||
936 | } | ||
diff --git a/src/lib/libcrypto/util/mkcerts.sh b/src/lib/libcrypto/util/mkcerts.sh new file mode 100644 index 0000000000..0184fcb70e --- /dev/null +++ b/src/lib/libcrypto/util/mkcerts.sh | |||
@@ -0,0 +1,220 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # This script will re-make all the required certs. | ||
4 | # cd apps | ||
5 | # sh ../util/mkcerts.sh | ||
6 | # mv ca-cert.pem pca-cert.pem ../certs | ||
7 | # cd .. | ||
8 | # cat certs/*.pem >>apps/server.pem | ||
9 | # cat certs/*.pem >>apps/server2.pem | ||
10 | # SSLEAY=`pwd`/apps/ssleay; export SSLEAY | ||
11 | # sh tools/c_rehash certs | ||
12 | # | ||
13 | |||
14 | CAbits=1024 | ||
15 | SSLEAY="../apps/openssl" | ||
16 | CONF="-config ../apps/openssl.cnf" | ||
17 | |||
18 | # create pca request. | ||
19 | echo creating $CAbits bit PCA cert request | ||
20 | $SSLEAY req $CONF \ | ||
21 | -new -md5 -newkey $CAbits \ | ||
22 | -keyout pca-key.pem \ | ||
23 | -out pca-req.pem -nodes >/dev/null <<EOF | ||
24 | AU | ||
25 | Queensland | ||
26 | . | ||
27 | CryptSoft Pty Ltd | ||
28 | . | ||
29 | Test PCA (1024 bit) | ||
30 | |||
31 | |||
32 | |||
33 | EOF | ||
34 | |||
35 | if [ $? != 0 ]; then | ||
36 | echo problems generating PCA request | ||
37 | exit 1 | ||
38 | fi | ||
39 | |||
40 | #sign it. | ||
41 | echo | ||
42 | echo self signing PCA | ||
43 | $SSLEAY x509 -md5 -days 1461 \ | ||
44 | -req -signkey pca-key.pem \ | ||
45 | -CAcreateserial -CAserial pca-cert.srl \ | ||
46 | -in pca-req.pem -out pca-cert.pem | ||
47 | |||
48 | if [ $? != 0 ]; then | ||
49 | echo problems self signing PCA cert | ||
50 | exit 1 | ||
51 | fi | ||
52 | echo | ||
53 | |||
54 | # create ca request. | ||
55 | echo creating $CAbits bit CA cert request | ||
56 | $SSLEAY req $CONF \ | ||
57 | -new -md5 -newkey $CAbits \ | ||
58 | -keyout ca-key.pem \ | ||
59 | -out ca-req.pem -nodes >/dev/null <<EOF | ||
60 | AU | ||
61 | Queensland | ||
62 | . | ||
63 | CryptSoft Pty Ltd | ||
64 | . | ||
65 | Test CA (1024 bit) | ||
66 | |||
67 | |||
68 | |||
69 | EOF | ||
70 | |||
71 | if [ $? != 0 ]; then | ||
72 | echo problems generating CA request | ||
73 | exit 1 | ||
74 | fi | ||
75 | |||
76 | #sign it. | ||
77 | echo | ||
78 | echo signing CA | ||
79 | $SSLEAY x509 -md5 -days 1461 \ | ||
80 | -req \ | ||
81 | -CAcreateserial -CAserial pca-cert.srl \ | ||
82 | -CA pca-cert.pem -CAkey pca-key.pem \ | ||
83 | -in ca-req.pem -out ca-cert.pem | ||
84 | |||
85 | if [ $? != 0 ]; then | ||
86 | echo problems signing CA cert | ||
87 | exit 1 | ||
88 | fi | ||
89 | echo | ||
90 | |||
91 | # create server request. | ||
92 | echo creating 512 bit server cert request | ||
93 | $SSLEAY req $CONF \ | ||
94 | -new -md5 -newkey 512 \ | ||
95 | -keyout s512-key.pem \ | ||
96 | -out s512-req.pem -nodes >/dev/null <<EOF | ||
97 | AU | ||
98 | Queensland | ||
99 | . | ||
100 | CryptSoft Pty Ltd | ||
101 | . | ||
102 | Server test cert (512 bit) | ||
103 | |||
104 | |||
105 | |||
106 | EOF | ||
107 | |||
108 | if [ $? != 0 ]; then | ||
109 | echo problems generating 512 bit server cert request | ||
110 | exit 1 | ||
111 | fi | ||
112 | |||
113 | #sign it. | ||
114 | echo | ||
115 | echo signing 512 bit server cert | ||
116 | $SSLEAY x509 -md5 -days 365 \ | ||
117 | -req \ | ||
118 | -CAcreateserial -CAserial ca-cert.srl \ | ||
119 | -CA ca-cert.pem -CAkey ca-key.pem \ | ||
120 | -in s512-req.pem -out server.pem | ||
121 | |||
122 | if [ $? != 0 ]; then | ||
123 | echo problems signing 512 bit server cert | ||
124 | exit 1 | ||
125 | fi | ||
126 | echo | ||
127 | |||
128 | # create 1024 bit server request. | ||
129 | echo creating 1024 bit server cert request | ||
130 | $SSLEAY req $CONF \ | ||
131 | -new -md5 -newkey 1024 \ | ||
132 | -keyout s1024key.pem \ | ||
133 | -out s1024req.pem -nodes >/dev/null <<EOF | ||
134 | AU | ||
135 | Queensland | ||
136 | . | ||
137 | CryptSoft Pty Ltd | ||
138 | . | ||
139 | Server test cert (1024 bit) | ||
140 | |||
141 | |||
142 | |||
143 | EOF | ||
144 | |||
145 | if [ $? != 0 ]; then | ||
146 | echo problems generating 1024 bit server cert request | ||
147 | exit 1 | ||
148 | fi | ||
149 | |||
150 | #sign it. | ||
151 | echo | ||
152 | echo signing 1024 bit server cert | ||
153 | $SSLEAY x509 -md5 -days 365 \ | ||
154 | -req \ | ||
155 | -CAcreateserial -CAserial ca-cert.srl \ | ||
156 | -CA ca-cert.pem -CAkey ca-key.pem \ | ||
157 | -in s1024req.pem -out server2.pem | ||
158 | |||
159 | if [ $? != 0 ]; then | ||
160 | echo problems signing 1024 bit server cert | ||
161 | exit 1 | ||
162 | fi | ||
163 | echo | ||
164 | |||
165 | # create 512 bit client request. | ||
166 | echo creating 512 bit client cert request | ||
167 | $SSLEAY req $CONF \ | ||
168 | -new -md5 -newkey 512 \ | ||
169 | -keyout c512-key.pem \ | ||
170 | -out c512-req.pem -nodes >/dev/null <<EOF | ||
171 | AU | ||
172 | Queensland | ||
173 | . | ||
174 | CryptSoft Pty Ltd | ||
175 | . | ||
176 | Client test cert (512 bit) | ||
177 | |||
178 | |||
179 | |||
180 | EOF | ||
181 | |||
182 | if [ $? != 0 ]; then | ||
183 | echo problems generating 512 bit client cert request | ||
184 | exit 1 | ||
185 | fi | ||
186 | |||
187 | #sign it. | ||
188 | echo | ||
189 | echo signing 512 bit client cert | ||
190 | $SSLEAY x509 -md5 -days 365 \ | ||
191 | -req \ | ||
192 | -CAcreateserial -CAserial ca-cert.srl \ | ||
193 | -CA ca-cert.pem -CAkey ca-key.pem \ | ||
194 | -in c512-req.pem -out client.pem | ||
195 | |||
196 | if [ $? != 0 ]; then | ||
197 | echo problems signing 512 bit client cert | ||
198 | exit 1 | ||
199 | fi | ||
200 | |||
201 | echo cleanup | ||
202 | |||
203 | cat pca-key.pem >> pca-cert.pem | ||
204 | cat ca-key.pem >> ca-cert.pem | ||
205 | cat s512-key.pem >> server.pem | ||
206 | cat s1024key.pem >> server2.pem | ||
207 | cat c512-key.pem >> client.pem | ||
208 | |||
209 | for i in pca-cert.pem ca-cert.pem server.pem server2.pem client.pem | ||
210 | do | ||
211 | $SSLEAY x509 -issuer -subject -in $i -noout >$$ | ||
212 | cat $$ | ||
213 | /bin/cat $i >>$$ | ||
214 | /bin/mv $$ $i | ||
215 | done | ||
216 | |||
217 | #/bin/rm -f *key.pem *req.pem *.srl | ||
218 | |||
219 | echo Finished | ||
220 | |||
diff --git a/src/lib/libcrypto/util/mkdef.pl b/src/lib/libcrypto/util/mkdef.pl new file mode 100644 index 0000000000..01a1bfda19 --- /dev/null +++ b/src/lib/libcrypto/util/mkdef.pl | |||
@@ -0,0 +1,1397 @@ | |||
1 | #!/usr/local/bin/perl -w | ||
2 | # | ||
3 | # generate a .def file | ||
4 | # | ||
5 | # It does this by parsing the header files and looking for the | ||
6 | # prototyped functions: it then prunes the output. | ||
7 | # | ||
8 | # Intermediary files are created, call libeay.num and ssleay.num,... | ||
9 | # Previously, they had the following format: | ||
10 | # | ||
11 | # routine-name nnnn | ||
12 | # | ||
13 | # But that isn't enough for a number of reasons, the first on being that | ||
14 | # this format is (needlessly) very Win32-centric, and even then... | ||
15 | # One of the biggest problems is that there's no information about what | ||
16 | # routines should actually be used, which varies with what crypto algorithms | ||
17 | # are disabled. Also, some operating systems (for example VMS with VAX C) | ||
18 | # need to keep track of the global variables as well as the functions. | ||
19 | # | ||
20 | # So, a remake of this script is done so as to include information on the | ||
21 | # kind of symbol it is (function or variable) and what algorithms they're | ||
22 | # part of. This will allow easy translating to .def files or the corresponding | ||
23 | # file in other operating systems (a .opt file for VMS, possibly with a .mar | ||
24 | # file). | ||
25 | # | ||
26 | # The format now becomes: | ||
27 | # | ||
28 | # routine-name nnnn info | ||
29 | # | ||
30 | # and the "info" part is actually a colon-separated string of fields with | ||
31 | # the following meaning: | ||
32 | # | ||
33 | # existence:platform:kind:algorithms | ||
34 | # | ||
35 | # - "existence" can be "EXIST" or "NOEXIST" depending on if the symbol is | ||
36 | # found somewhere in the source, | ||
37 | # - "platforms" is empty if it exists on all platforms, otherwise it contains | ||
38 | # comma-separated list of the platform, just as they are if the symbol exists | ||
39 | # for those platforms, or prepended with a "!" if not. This helps resolve | ||
40 | # symbol name variants for platforms where the names are too long for the | ||
41 | # compiler or linker, or if the systems is case insensitive and there is a | ||
42 | # clash, or the symbol is implemented differently (see | ||
43 | # EXPORT_VAR_AS_FUNCTION). This script assumes renaming of symbols is found | ||
44 | # in the file crypto/symhacks.h. | ||
45 | # The semantics for the platforms is that every item is checked against the | ||
46 | # environment. For the negative items ("!FOO"), if any of them is false | ||
47 | # (i.e. "FOO" is true) in the environment, the corresponding symbol can't be | ||
48 | # used. For the positive itms, if all of them are false in the environment, | ||
49 | # the corresponding symbol can't be used. Any combination of positive and | ||
50 | # negative items are possible, and of course leave room for some redundancy. | ||
51 | # - "kind" is "FUNCTION" or "VARIABLE". The meaning of that is obvious. | ||
52 | # - "algorithms" is a comma-separated list of algorithm names. This helps | ||
53 | # exclude symbols that are part of an algorithm that some user wants to | ||
54 | # exclude. | ||
55 | # | ||
56 | |||
57 | my $debug=0; | ||
58 | |||
59 | my $crypto_num= "util/libeay.num"; | ||
60 | my $ssl_num= "util/ssleay.num"; | ||
61 | my $libname; | ||
62 | |||
63 | my $do_update = 0; | ||
64 | my $do_rewrite = 1; | ||
65 | my $do_crypto = 0; | ||
66 | my $do_ssl = 0; | ||
67 | my $do_ctest = 0; | ||
68 | my $do_ctestall = 0; | ||
69 | my $do_checkexist = 0; | ||
70 | |||
71 | my $VMSVAX=0; | ||
72 | my $VMSAlpha=0; | ||
73 | my $VMS=0; | ||
74 | my $W32=0; | ||
75 | my $W16=0; | ||
76 | my $NT=0; | ||
77 | my $OS2=0; | ||
78 | # Set this to make typesafe STACK definitions appear in DEF | ||
79 | my $safe_stack_def = 0; | ||
80 | |||
81 | my @known_platforms = ( "__FreeBSD__", "PERL5", "NeXT", | ||
82 | "EXPORT_VAR_AS_FUNCTION" ); | ||
83 | my @known_ossl_platforms = ( "VMS", "WIN16", "WIN32", "WINNT", "OS2" ); | ||
84 | my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF", | ||
85 | "CAST", "MD2", "MD4", "MD5", "SHA", "SHA0", "SHA1", | ||
86 | "RIPEMD", | ||
87 | "MDC2", "RSA", "DSA", "DH", "EC", "HMAC", "AES", | ||
88 | # Envelope "algorithms" | ||
89 | "EVP", "X509", "ASN1_TYPEDEFS", | ||
90 | # Helper "algorithms" | ||
91 | "BIO", "COMP", "BUFFER", "LHASH", "STACK", "ERR", | ||
92 | "LOCKING", | ||
93 | # External "algorithms" | ||
94 | "FP_API", "STDIO", "SOCK", "KRB5", "ENGINE", "HW" ); | ||
95 | |||
96 | my $options=""; | ||
97 | open(IN,"<Makefile.ssl") || die "unable to open Makefile.ssl!\n"; | ||
98 | while(<IN>) { | ||
99 | $options=$1 if (/^OPTIONS=(.*)$/); | ||
100 | } | ||
101 | close(IN); | ||
102 | |||
103 | # The following ciphers may be excluded (by Configure). This means functions | ||
104 | # defined with ifndef(NO_XXX) are not included in the .def file, and everything | ||
105 | # in directory xxx is ignored. | ||
106 | my $no_rc2; my $no_rc4; my $no_rc5; my $no_idea; my $no_des; my $no_bf; | ||
107 | my $no_cast; | ||
108 | my $no_md2; my $no_md4; my $no_md5; my $no_sha; my $no_ripemd; my $no_mdc2; | ||
109 | my $no_rsa; my $no_dsa; my $no_dh; my $no_hmac=0; my $no_aes; my $no_krb5; | ||
110 | my $no_ec; my $no_engine; my $no_hw; | ||
111 | my $no_fp_api; | ||
112 | |||
113 | foreach (@ARGV, split(/ /, $options)) | ||
114 | { | ||
115 | $debug=1 if $_ eq "debug"; | ||
116 | $W32=1 if $_ eq "32"; | ||
117 | $W16=1 if $_ eq "16"; | ||
118 | if($_ eq "NT") { | ||
119 | $W32 = 1; | ||
120 | $NT = 1; | ||
121 | } | ||
122 | if ($_ eq "VMS-VAX") { | ||
123 | $VMS=1; | ||
124 | $VMSVAX=1; | ||
125 | } | ||
126 | if ($_ eq "VMS-Alpha") { | ||
127 | $VMS=1; | ||
128 | $VMSAlpha=1; | ||
129 | } | ||
130 | $VMS=1 if $_ eq "VMS"; | ||
131 | $OS2=1 if $_ eq "OS2"; | ||
132 | |||
133 | $do_ssl=1 if $_ eq "ssleay"; | ||
134 | if ($_ eq "ssl") { | ||
135 | $do_ssl=1; | ||
136 | $libname=$_ | ||
137 | } | ||
138 | $do_crypto=1 if $_ eq "libeay"; | ||
139 | if ($_ eq "crypto") { | ||
140 | $do_crypto=1; | ||
141 | $libname=$_; | ||
142 | } | ||
143 | $do_update=1 if $_ eq "update"; | ||
144 | $do_rewrite=1 if $_ eq "rewrite"; | ||
145 | $do_ctest=1 if $_ eq "ctest"; | ||
146 | $do_ctestall=1 if $_ eq "ctestall"; | ||
147 | $do_checkexist=1 if $_ eq "exist"; | ||
148 | #$safe_stack_def=1 if $_ eq "-DDEBUG_SAFESTACK"; | ||
149 | |||
150 | if (/^no-rc2$/) { $no_rc2=1; } | ||
151 | elsif (/^no-rc4$/) { $no_rc4=1; } | ||
152 | elsif (/^no-rc5$/) { $no_rc5=1; } | ||
153 | elsif (/^no-idea$/) { $no_idea=1; } | ||
154 | elsif (/^no-des$/) { $no_des=1; $no_mdc2=1; } | ||
155 | elsif (/^no-bf$/) { $no_bf=1; } | ||
156 | elsif (/^no-cast$/) { $no_cast=1; } | ||
157 | elsif (/^no-md2$/) { $no_md2=1; } | ||
158 | elsif (/^no-md4$/) { $no_md4=1; } | ||
159 | elsif (/^no-md5$/) { $no_md5=1; } | ||
160 | elsif (/^no-sha$/) { $no_sha=1; } | ||
161 | elsif (/^no-ripemd$/) { $no_ripemd=1; } | ||
162 | elsif (/^no-mdc2$/) { $no_mdc2=1; } | ||
163 | elsif (/^no-rsa$/) { $no_rsa=1; } | ||
164 | elsif (/^no-dsa$/) { $no_dsa=1; } | ||
165 | elsif (/^no-dh$/) { $no_dh=1; } | ||
166 | elsif (/^no-ec$/) { $no_ec=1; } | ||
167 | elsif (/^no-hmac$/) { $no_hmac=1; } | ||
168 | elsif (/^no-aes$/) { $no_aes=1; } | ||
169 | elsif (/^no-evp$/) { $no_evp=1; } | ||
170 | elsif (/^no-lhash$/) { $no_lhash=1; } | ||
171 | elsif (/^no-stack$/) { $no_stack=1; } | ||
172 | elsif (/^no-err$/) { $no_err=1; } | ||
173 | elsif (/^no-buffer$/) { $no_buffer=1; } | ||
174 | elsif (/^no-bio$/) { $no_bio=1; } | ||
175 | #elsif (/^no-locking$/) { $no_locking=1; } | ||
176 | elsif (/^no-comp$/) { $no_comp=1; } | ||
177 | elsif (/^no-dso$/) { $no_dso=1; } | ||
178 | elsif (/^no-krb5$/) { $no_krb5=1; } | ||
179 | elsif (/^no-engine$/) { $no_engine=1; } | ||
180 | elsif (/^no-hw$/) { $no_hw=1; } | ||
181 | } | ||
182 | |||
183 | |||
184 | if (!$libname) { | ||
185 | if ($do_ssl) { | ||
186 | $libname="SSLEAY"; | ||
187 | } | ||
188 | if ($do_crypto) { | ||
189 | $libname="LIBEAY"; | ||
190 | } | ||
191 | } | ||
192 | |||
193 | # If no platform is given, assume WIN32 | ||
194 | if ($W32 + $W16 + $VMS + $OS2 == 0) { | ||
195 | $W32 = 1; | ||
196 | } | ||
197 | |||
198 | # Add extra knowledge | ||
199 | if ($W16) { | ||
200 | $no_fp_api=1; | ||
201 | } | ||
202 | |||
203 | if (!$do_ssl && !$do_crypto) | ||
204 | { | ||
205 | print STDERR "usage: $0 ( ssl | crypto ) [ 16 | 32 | NT | OS2 ]\n"; | ||
206 | exit(1); | ||
207 | } | ||
208 | |||
209 | %ssl_list=&load_numbers($ssl_num); | ||
210 | $max_ssl = $max_num; | ||
211 | %crypto_list=&load_numbers($crypto_num); | ||
212 | $max_crypto = $max_num; | ||
213 | |||
214 | my $ssl="ssl/ssl.h"; | ||
215 | $ssl.=" ssl/kssl.h"; | ||
216 | |||
217 | my $crypto ="crypto/crypto.h"; | ||
218 | $crypto.=" crypto/des/des.h crypto/des/des_old.h" ; # unless $no_des; | ||
219 | $crypto.=" crypto/idea/idea.h" ; # unless $no_idea; | ||
220 | $crypto.=" crypto/rc4/rc4.h" ; # unless $no_rc4; | ||
221 | $crypto.=" crypto/rc5/rc5.h" ; # unless $no_rc5; | ||
222 | $crypto.=" crypto/rc2/rc2.h" ; # unless $no_rc2; | ||
223 | $crypto.=" crypto/bf/blowfish.h" ; # unless $no_bf; | ||
224 | $crypto.=" crypto/cast/cast.h" ; # unless $no_cast; | ||
225 | $crypto.=" crypto/md2/md2.h" ; # unless $no_md2; | ||
226 | $crypto.=" crypto/md4/md4.h" ; # unless $no_md4; | ||
227 | $crypto.=" crypto/md5/md5.h" ; # unless $no_md5; | ||
228 | $crypto.=" crypto/mdc2/mdc2.h" ; # unless $no_mdc2; | ||
229 | $crypto.=" crypto/sha/sha.h" ; # unless $no_sha; | ||
230 | $crypto.=" crypto/ripemd/ripemd.h" ; # unless $no_ripemd; | ||
231 | $crypto.=" crypto/aes/aes.h" ; # unless $no_aes; | ||
232 | |||
233 | $crypto.=" crypto/bn/bn.h"; | ||
234 | $crypto.=" crypto/rsa/rsa.h" ; # unless $no_rsa; | ||
235 | $crypto.=" crypto/dsa/dsa.h" ; # unless $no_dsa; | ||
236 | $crypto.=" crypto/dh/dh.h" ; # unless $no_dh; | ||
237 | $crypto.=" crypto/ec/ec.h" ; # unless $no_ec; | ||
238 | $crypto.=" crypto/hmac/hmac.h" ; # unless $no_hmac; | ||
239 | |||
240 | $crypto.=" crypto/engine/engine.h"; # unless $no_engine; | ||
241 | $crypto.=" crypto/stack/stack.h" ; # unless $no_stack; | ||
242 | $crypto.=" crypto/buffer/buffer.h" ; # unless $no_buffer; | ||
243 | $crypto.=" crypto/bio/bio.h" ; # unless $no_bio; | ||
244 | $crypto.=" crypto/dso/dso.h" ; # unless $no_dso; | ||
245 | $crypto.=" crypto/lhash/lhash.h" ; # unless $no_lhash; | ||
246 | $crypto.=" crypto/conf/conf.h"; | ||
247 | $crypto.=" crypto/txt_db/txt_db.h"; | ||
248 | |||
249 | $crypto.=" crypto/evp/evp.h" ; # unless $no_evp; | ||
250 | $crypto.=" crypto/objects/objects.h"; | ||
251 | $crypto.=" crypto/pem/pem.h"; | ||
252 | #$crypto.=" crypto/meth/meth.h"; | ||
253 | $crypto.=" crypto/asn1/asn1.h"; | ||
254 | $crypto.=" crypto/asn1/asn1t.h"; | ||
255 | $crypto.=" crypto/asn1/asn1_mac.h"; | ||
256 | $crypto.=" crypto/err/err.h" ; # unless $no_err; | ||
257 | $crypto.=" crypto/pkcs7/pkcs7.h"; | ||
258 | $crypto.=" crypto/pkcs12/pkcs12.h"; | ||
259 | $crypto.=" crypto/x509/x509.h"; | ||
260 | $crypto.=" crypto/x509/x509_vfy.h"; | ||
261 | $crypto.=" crypto/x509v3/x509v3.h"; | ||
262 | $crypto.=" crypto/rand/rand.h"; | ||
263 | $crypto.=" crypto/comp/comp.h" ; # unless $no_comp; | ||
264 | $crypto.=" crypto/ocsp/ocsp.h"; | ||
265 | $crypto.=" crypto/ui/ui.h crypto/ui/ui_compat.h"; | ||
266 | $crypto.=" crypto/krb5/krb5_asn.h"; | ||
267 | $crypto.=" crypto/tmdiff.h"; | ||
268 | |||
269 | my $symhacks="crypto/symhacks.h"; | ||
270 | |||
271 | my @ssl_symbols = &do_defs("SSLEAY", $ssl, $symhacks); | ||
272 | my @crypto_symbols = &do_defs("LIBEAY", $crypto, $symhacks); | ||
273 | |||
274 | if ($do_update) { | ||
275 | |||
276 | if ($do_ssl == 1) { | ||
277 | |||
278 | &maybe_add_info("SSLEAY",*ssl_list,@ssl_symbols); | ||
279 | if ($do_rewrite == 1) { | ||
280 | open(OUT, ">$ssl_num"); | ||
281 | &rewrite_numbers(*OUT,"SSLEAY",*ssl_list,@ssl_symbols); | ||
282 | } else { | ||
283 | open(OUT, ">>$ssl_num"); | ||
284 | } | ||
285 | &update_numbers(*OUT,"SSLEAY",*ssl_list,$max_ssl,@ssl_symbols); | ||
286 | close OUT; | ||
287 | } | ||
288 | |||
289 | if($do_crypto == 1) { | ||
290 | |||
291 | &maybe_add_info("LIBEAY",*crypto_list,@crypto_symbols); | ||
292 | if ($do_rewrite == 1) { | ||
293 | open(OUT, ">$crypto_num"); | ||
294 | &rewrite_numbers(*OUT,"LIBEAY",*crypto_list,@crypto_symbols); | ||
295 | } else { | ||
296 | open(OUT, ">>$crypto_num"); | ||
297 | } | ||
298 | &update_numbers(*OUT,"LIBEAY",*crypto_list,$max_crypto,@crypto_symbols); | ||
299 | close OUT; | ||
300 | } | ||
301 | |||
302 | } elsif ($do_checkexist) { | ||
303 | &check_existing(*ssl_list, @ssl_symbols) | ||
304 | if $do_ssl == 1; | ||
305 | &check_existing(*crypto_list, @crypto_symbols) | ||
306 | if $do_crypto == 1; | ||
307 | } elsif ($do_ctest || $do_ctestall) { | ||
308 | |||
309 | print <<"EOF"; | ||
310 | |||
311 | /* Test file to check all DEF file symbols are present by trying | ||
312 | * to link to all of them. This is *not* intended to be run! | ||
313 | */ | ||
314 | |||
315 | int main() | ||
316 | { | ||
317 | EOF | ||
318 | &print_test_file(*STDOUT,"SSLEAY",*ssl_list,$do_ctestall,@ssl_symbols) | ||
319 | if $do_ssl == 1; | ||
320 | |||
321 | &print_test_file(*STDOUT,"LIBEAY",*crypto_list,$do_ctestall,@crypto_symbols) | ||
322 | if $do_crypto == 1; | ||
323 | |||
324 | print "}\n"; | ||
325 | |||
326 | } else { | ||
327 | |||
328 | &print_def_file(*STDOUT,$libname,*ssl_list,@ssl_symbols) | ||
329 | if $do_ssl == 1; | ||
330 | |||
331 | &print_def_file(*STDOUT,$libname,*crypto_list,@crypto_symbols) | ||
332 | if $do_crypto == 1; | ||
333 | |||
334 | } | ||
335 | |||
336 | |||
337 | sub do_defs | ||
338 | { | ||
339 | my($name,$files,$symhacksfile)=@_; | ||
340 | my $file; | ||
341 | my @ret; | ||
342 | my %syms; | ||
343 | my %platform; # For anything undefined, we assume "" | ||
344 | my %kind; # For anything undefined, we assume "FUNCTION" | ||
345 | my %algorithm; # For anything undefined, we assume "" | ||
346 | my %variant; | ||
347 | my %variant_cnt; # To be able to allocate "name{n}" if "name" | ||
348 | # is the same name as the original. | ||
349 | my $cpp; | ||
350 | my %unknown_algorithms = (); | ||
351 | |||
352 | foreach $file (split(/\s+/,$symhacksfile." ".$files)) | ||
353 | { | ||
354 | print STDERR "DEBUG: starting on $file:\n" if $debug; | ||
355 | open(IN,"<$file") || die "unable to open $file:$!\n"; | ||
356 | my $line = "", my $def= ""; | ||
357 | my %tag = ( | ||
358 | (map { $_ => 0 } @known_platforms), | ||
359 | (map { "OPENSSL_SYS_".$_ => 0 } @known_ossl_platforms), | ||
360 | (map { "OPENSSL_NO_".$_ => 0 } @known_algorithms), | ||
361 | NOPROTO => 0, | ||
362 | PERL5 => 0, | ||
363 | _WINDLL => 0, | ||
364 | CONST_STRICT => 0, | ||
365 | TRUE => 1, | ||
366 | ); | ||
367 | my $symhacking = $file eq $symhacksfile; | ||
368 | my @current_platforms = (); | ||
369 | my @current_algorithms = (); | ||
370 | |||
371 | # params: symbol, alias, platforms, kind | ||
372 | # The reason to put this subroutine in a variable is that | ||
373 | # it will otherwise create it's own, unshared, version of | ||
374 | # %tag and %variant... | ||
375 | my $make_variant = sub | ||
376 | { | ||
377 | my ($s, $a, $p, $k) = @_; | ||
378 | my ($a1, $a2); | ||
379 | |||
380 | print STDERR "DEBUG: make_variant: Entered with ",$s,", ",$a,", ",(defined($p)?$p:""),", ",(defined($k)?$k:""),"\n" if $debug; | ||
381 | if (defined($p)) | ||
382 | { | ||
383 | $a1 = join(",",$p, | ||
384 | grep(!/^$/, | ||
385 | map { $tag{$_} == 1 ? $_ : "" } | ||
386 | @known_platforms)); | ||
387 | } | ||
388 | else | ||
389 | { | ||
390 | $a1 = join(",", | ||
391 | grep(!/^$/, | ||
392 | map { $tag{$_} == 1 ? $_ : "" } | ||
393 | @known_platforms)); | ||
394 | } | ||
395 | $a2 = join(",", | ||
396 | grep(!/^$/, | ||
397 | map { $tag{"OPENSSL_SYS_".$_} == 1 ? $_ : "" } | ||
398 | @known_ossl_platforms)); | ||
399 | print STDERR "DEBUG: make_variant: a1 = $a1; a2 = $a2\n" if $debug; | ||
400 | if ($a1 eq "") { $a1 = $a2; } | ||
401 | elsif ($a1 ne "" && $a2 ne "") { $a1 .= ",".$a2; } | ||
402 | if ($a eq $s) | ||
403 | { | ||
404 | if (!defined($variant_cnt{$s})) | ||
405 | { | ||
406 | $variant_cnt{$s} = 0; | ||
407 | } | ||
408 | $variant_cnt{$s}++; | ||
409 | $a .= "{$variant_cnt{$s}}"; | ||
410 | } | ||
411 | my $toadd = $a.":".$a1.(defined($k)?":".$k:""); | ||
412 | my $togrep = $s.'(\{[0-9]+\})?:'.$a1.(defined($k)?":".$k:""); | ||
413 | if (!grep(/^$togrep$/, | ||
414 | split(/;/, defined($variant{$s})?$variant{$s}:""))) { | ||
415 | if (defined($variant{$s})) { $variant{$s} .= ";"; } | ||
416 | $variant{$s} .= $toadd; | ||
417 | } | ||
418 | print STDERR "DEBUG: make_variant: Exit with variant of ",$s," = ",$variant{$s},"\n" if $debug; | ||
419 | }; | ||
420 | |||
421 | print STDERR "DEBUG: parsing ----------\n" if $debug; | ||
422 | while(<IN>) { | ||
423 | last if (/\/\* Error codes for the \w+ functions\. \*\//); | ||
424 | if ($line ne '') { | ||
425 | $_ = $line . $_; | ||
426 | $line = ''; | ||
427 | } | ||
428 | |||
429 | if (/\\$/) { | ||
430 | chomp; # remove eol | ||
431 | chop; # remove ending backslash | ||
432 | $line = $_; | ||
433 | next; | ||
434 | } | ||
435 | |||
436 | $cpp = 1 if /^\#.*ifdef.*cplusplus/; | ||
437 | if ($cpp) { | ||
438 | $cpp = 0 if /^\#.*endif/; | ||
439 | next; | ||
440 | } | ||
441 | |||
442 | s/\/\*.*?\*\///gs; # ignore comments | ||
443 | if (/\/\*/) { # if we have part | ||
444 | $line = $_; # of a comment, | ||
445 | next; # continue reading | ||
446 | } | ||
447 | s/{[^{}]*}//gs; # ignore {} blocks | ||
448 | print STDERR "DEBUG: \$def=\"$def\"\n" if $debug && $def ne ""; | ||
449 | print STDERR "DEBUG: \$_=\"$_\"\n" if $debug; | ||
450 | if (/^\#\s*ifndef\s+(.*)/) { | ||
451 | push(@tag,"-"); | ||
452 | push(@tag,$1); | ||
453 | $tag{$1}=-1; | ||
454 | print STDERR "DEBUG: $file: found tag $1 = -1\n" if $debug; | ||
455 | } elsif (/^\#\s*if\s+!defined\(([^\)]+)\)/) { | ||
456 | push(@tag,"-"); | ||
457 | if (/^\#\s*if\s+(!defined\(([^\)]+)\)(\s+\&\&\s+!defined\(([^\)]+)\))*)$/) { | ||
458 | my $tmp_1 = $1; | ||
459 | my $tmp_; | ||
460 | foreach $tmp_ (split '\&\&',$tmp_1) { | ||
461 | $tmp_ =~ /!defined\(([^\)]+)\)/; | ||
462 | print STDERR "DEBUG: $file: found tag $1 = -1\n" if $debug; | ||
463 | push(@tag,$1); | ||
464 | $tag{$1}=-1; | ||
465 | } | ||
466 | } else { | ||
467 | print STDERR "Warning: $file: complicated expression: $_" if $debug; # because it is O... | ||
468 | print STDERR "DEBUG: $file: found tag $1 = -1\n" if $debug; | ||
469 | push(@tag,$1); | ||
470 | $tag{$1}=-1; | ||
471 | } | ||
472 | } elsif (/^\#\s*ifdef\s+(.*)/) { | ||
473 | push(@tag,"-"); | ||
474 | push(@tag,$1); | ||
475 | $tag{$1}=1; | ||
476 | print STDERR "DEBUG: $file: found tag $1 = 1\n" if $debug; | ||
477 | } elsif (/^\#\s*if\s+defined\(([^\)]+)\)/) { | ||
478 | push(@tag,"-"); | ||
479 | if (/^\#\s*if\s+(defined\(([^\)]+)\)(\s+\|\|\s+defined\(([^\)]+)\))*)$/) { | ||
480 | my $tmp_1 = $1; | ||
481 | my $tmp_; | ||
482 | foreach $tmp_ (split '\|\|',$tmp_1) { | ||
483 | $tmp_ =~ /defined\(([^\)]+)\)/; | ||
484 | print STDERR "DEBUG: $file: found tag $1 = 1\n" if $debug; | ||
485 | push(@tag,$1); | ||
486 | $tag{$1}=1; | ||
487 | } | ||
488 | } else { | ||
489 | print STDERR "Warning: $file: complicated expression: $_\n" if $debug; # because it is O... | ||
490 | print STDERR "DEBUG: $file: found tag $1 = 1\n" if $debug; | ||
491 | push(@tag,$1); | ||
492 | $tag{$1}=1; | ||
493 | } | ||
494 | } elsif (/^\#\s*error\s+(\w+) is disabled\./) { | ||
495 | my $tag_i = $#tag; | ||
496 | while($tag[$tag_i] ne "-") { | ||
497 | if ($tag[$tag_i] eq "OPENSSL_NO_".$1) { | ||
498 | $tag{$tag[$tag_i]}=2; | ||
499 | print STDERR "DEBUG: $file: chaged tag $1 = 2\n" if $debug; | ||
500 | } | ||
501 | $tag_i--; | ||
502 | } | ||
503 | } elsif (/^\#\s*endif/) { | ||
504 | my $tag_i = $#tag; | ||
505 | while($tag[$tag_i] ne "-") { | ||
506 | my $t=$tag[$tag_i]; | ||
507 | print STDERR "DEBUG: \$t=\"$t\"\n" if $debug; | ||
508 | if ($tag{$t}==2) { | ||
509 | $tag{$t}=-1; | ||
510 | } else { | ||
511 | $tag{$t}=0; | ||
512 | } | ||
513 | print STDERR "DEBUG: $file: changed tag ",$t," = ",$tag{$t},"\n" if $debug; | ||
514 | pop(@tag); | ||
515 | if ($t =~ /^OPENSSL_NO_([A-Z0-9_]+)$/) { | ||
516 | $t=$1; | ||
517 | } else { | ||
518 | $t=""; | ||
519 | } | ||
520 | if ($t ne "" | ||
521 | && !grep(/^$t$/, @known_algorithms)) { | ||
522 | $unknown_algorithms{$t} = 1; | ||
523 | #print STDERR "DEBUG: Added as unknown algorithm: $t\n" if $debug; | ||
524 | } | ||
525 | $tag_i--; | ||
526 | } | ||
527 | pop(@tag); | ||
528 | } elsif (/^\#\s*else/) { | ||
529 | my $tag_i = $#tag; | ||
530 | while($tag[$tag_i] ne "-") { | ||
531 | my $t=$tag[$tag_i]; | ||
532 | $tag{$t}= -$tag{$t}; | ||
533 | print STDERR "DEBUG: $file: changed tag ",$t," = ",$tag{$t},"\n" if $debug; | ||
534 | $tag_i--; | ||
535 | } | ||
536 | } elsif (/^\#\s*if\s+1/) { | ||
537 | push(@tag,"-"); | ||
538 | # Dummy tag | ||
539 | push(@tag,"TRUE"); | ||
540 | $tag{"TRUE"}=1; | ||
541 | print STDERR "DEBUG: $file: found 1\n" if $debug; | ||
542 | } elsif (/^\#\s*if\s+0/) { | ||
543 | push(@tag,"-"); | ||
544 | # Dummy tag | ||
545 | push(@tag,"TRUE"); | ||
546 | $tag{"TRUE"}=-1; | ||
547 | print STDERR "DEBUG: $file: found 0\n" if $debug; | ||
548 | } elsif (/^\#\s*define\s+(\w+)\s+(\w+)/ | ||
549 | && $symhacking && $tag{'TRUE'} != -1) { | ||
550 | # This is for aliasing. When we find an alias, | ||
551 | # we have to invert | ||
552 | &$make_variant($1,$2); | ||
553 | print STDERR "DEBUG: $file: defined $1 = $2\n" if $debug; | ||
554 | } | ||
555 | if (/^\#/) { | ||
556 | @current_platforms = | ||
557 | grep(!/^$/, | ||
558 | map { $tag{$_} == 1 ? $_ : | ||
559 | $tag{$_} == -1 ? "!".$_ : "" } | ||
560 | @known_platforms); | ||
561 | push @current_platforms | ||
562 | , grep(!/^$/, | ||
563 | map { $tag{"OPENSSL_SYS_".$_} == 1 ? $_ : | ||
564 | $tag{"OPENSSL_SYS_".$_} == -1 ? "!".$_ : "" } | ||
565 | @known_ossl_platforms); | ||
566 | @current_algorithms = | ||
567 | grep(!/^$/, | ||
568 | map { $tag{"OPENSSL_NO_".$_} == -1 ? $_ : "" } | ||
569 | @known_algorithms); | ||
570 | $def .= | ||
571 | "#INFO:" | ||
572 | .join(',',@current_platforms).":" | ||
573 | .join(',',@current_algorithms).";"; | ||
574 | next; | ||
575 | } | ||
576 | if ($tag{'TRUE'} != -1) { | ||
577 | if (/^\s*DECLARE_STACK_OF\s*\(\s*(\w*)\s*\)/) { | ||
578 | next; | ||
579 | } elsif (/^\s*DECLARE_ASN1_ENCODE_FUNCTIONS\s*\(\s*(\w*)\s*,\s*(\w*)\s*,\s*(\w*)\s*\)/) { | ||
580 | $def .= "int d2i_$3(void);"; | ||
581 | $def .= "int i2d_$3(void);"; | ||
582 | # Variant for platforms that do not | ||
583 | # have to access globale variables | ||
584 | # in shared libraries through functions | ||
585 | $def .= | ||
586 | "#INFO:" | ||
587 | .join(',',"!EXPORT_VAR_AS_FUNCTION",@current_platforms).":" | ||
588 | .join(',',@current_algorithms).";"; | ||
589 | $def .= "OPENSSL_EXTERN int $2_it;"; | ||
590 | $def .= | ||
591 | "#INFO:" | ||
592 | .join(',',@current_platforms).":" | ||
593 | .join(',',@current_algorithms).";"; | ||
594 | # Variant for platforms that have to | ||
595 | # access globale variables in shared | ||
596 | # libraries through functions | ||
597 | &$make_variant("$2_it","$2_it", | ||
598 | "EXPORT_VAR_AS_FUNCTION", | ||
599 | "FUNCTION"); | ||
600 | next; | ||
601 | } elsif (/^\s*DECLARE_ASN1_FUNCTIONS_fname\s*\(\s*(\w*)\s*,\s*(\w*)\s*,\s*(\w*)\s*\)/) { | ||
602 | $def .= "int d2i_$3(void);"; | ||
603 | $def .= "int i2d_$3(void);"; | ||
604 | $def .= "int $3_free(void);"; | ||
605 | $def .= "int $3_new(void);"; | ||
606 | # Variant for platforms that do not | ||
607 | # have to access globale variables | ||
608 | # in shared libraries through functions | ||
609 | $def .= | ||
610 | "#INFO:" | ||
611 | .join(',',"!EXPORT_VAR_AS_FUNCTION",@current_platforms).":" | ||
612 | .join(',',@current_algorithms).";"; | ||
613 | $def .= "OPENSSL_EXTERN int $2_it;"; | ||
614 | $def .= | ||
615 | "#INFO:" | ||
616 | .join(',',@current_platforms).":" | ||
617 | .join(',',@current_algorithms).";"; | ||
618 | # Variant for platforms that have to | ||
619 | # access globale variables in shared | ||
620 | # libraries through functions | ||
621 | &$make_variant("$2_it","$2_it", | ||
622 | "EXPORT_VAR_AS_FUNCTION", | ||
623 | "FUNCTION"); | ||
624 | next; | ||
625 | } elsif (/^\s*DECLARE_ASN1_FUNCTIONS\s*\(\s*(\w*)\s*\)/ || | ||
626 | /^\s*DECLARE_ASN1_FUNCTIONS_const\s*\(\s*(\w*)\s*\)/) { | ||
627 | $def .= "int d2i_$1(void);"; | ||
628 | $def .= "int i2d_$1(void);"; | ||
629 | $def .= "int $1_free(void);"; | ||
630 | $def .= "int $1_new(void);"; | ||
631 | # Variant for platforms that do not | ||
632 | # have to access globale variables | ||
633 | # in shared libraries through functions | ||
634 | $def .= | ||
635 | "#INFO:" | ||
636 | .join(',',"!EXPORT_VAR_AS_FUNCTION",@current_platforms).":" | ||
637 | .join(',',@current_algorithms).";"; | ||
638 | $def .= "OPENSSL_EXTERN int $1_it;"; | ||
639 | $def .= | ||
640 | "#INFO:" | ||
641 | .join(',',@current_platforms).":" | ||
642 | .join(',',@current_algorithms).";"; | ||
643 | # Variant for platforms that have to | ||
644 | # access globale variables in shared | ||
645 | # libraries through functions | ||
646 | &$make_variant("$1_it","$1_it", | ||
647 | "EXPORT_VAR_AS_FUNCTION", | ||
648 | "FUNCTION"); | ||
649 | next; | ||
650 | } elsif (/^\s*DECLARE_ASN1_ENCODE_FUNCTIONS_const\s*\(\s*(\w*)\s*,\s*(\w*)\s*\)/) { | ||
651 | $def .= "int d2i_$2(void);"; | ||
652 | $def .= "int i2d_$2(void);"; | ||
653 | # Variant for platforms that do not | ||
654 | # have to access globale variables | ||
655 | # in shared libraries through functions | ||
656 | $def .= | ||
657 | "#INFO:" | ||
658 | .join(',',"!EXPORT_VAR_AS_FUNCTION",@current_platforms).":" | ||
659 | .join(',',@current_algorithms).";"; | ||
660 | $def .= "OPENSSL_EXTERN int $2_it;"; | ||
661 | $def .= | ||
662 | "#INFO:" | ||
663 | .join(',',@current_platforms).":" | ||
664 | .join(',',@current_algorithms).";"; | ||
665 | # Variant for platforms that have to | ||
666 | # access globale variables in shared | ||
667 | # libraries through functions | ||
668 | &$make_variant("$2_it","$2_it", | ||
669 | "EXPORT_VAR_AS_FUNCTION", | ||
670 | "FUNCTION"); | ||
671 | next; | ||
672 | } elsif (/^\s*DECLARE_ASN1_FUNCTIONS_name\s*\(\s*(\w*)\s*,\s*(\w*)\s*\)/) { | ||
673 | $def .= "int d2i_$2(void);"; | ||
674 | $def .= "int i2d_$2(void);"; | ||
675 | $def .= "int $2_free(void);"; | ||
676 | $def .= "int $2_new(void);"; | ||
677 | # Variant for platforms that do not | ||
678 | # have to access globale variables | ||
679 | # in shared libraries through functions | ||
680 | $def .= | ||
681 | "#INFO:" | ||
682 | .join(',',"!EXPORT_VAR_AS_FUNCTION",@current_platforms).":" | ||
683 | .join(',',@current_algorithms).";"; | ||
684 | $def .= "OPENSSL_EXTERN int $2_it;"; | ||
685 | $def .= | ||
686 | "#INFO:" | ||
687 | .join(',',@current_platforms).":" | ||
688 | .join(',',@current_algorithms).";"; | ||
689 | # Variant for platforms that have to | ||
690 | # access globale variables in shared | ||
691 | # libraries through functions | ||
692 | &$make_variant("$2_it","$2_it", | ||
693 | "EXPORT_VAR_AS_FUNCTION", | ||
694 | "FUNCTION"); | ||
695 | next; | ||
696 | } elsif (/^\s*DECLARE_ASN1_ITEM\s*\(\s*(\w*)\s*\)/) { | ||
697 | # Variant for platforms that do not | ||
698 | # have to access globale variables | ||
699 | # in shared libraries through functions | ||
700 | $def .= | ||
701 | "#INFO:" | ||
702 | .join(',',"!EXPORT_VAR_AS_FUNCTION",@current_platforms).":" | ||
703 | .join(',',@current_algorithms).";"; | ||
704 | $def .= "OPENSSL_EXTERN int $1_it;"; | ||
705 | $def .= | ||
706 | "#INFO:" | ||
707 | .join(',',@current_platforms).":" | ||
708 | .join(',',@current_algorithms).";"; | ||
709 | # Variant for platforms that have to | ||
710 | # access globale variables in shared | ||
711 | # libraries through functions | ||
712 | &$make_variant("$1_it","$1_it", | ||
713 | "EXPORT_VAR_AS_FUNCTION", | ||
714 | "FUNCTION"); | ||
715 | next; | ||
716 | } elsif (/^\s*DECLARE_ASN1_SET_OF\s*\(\s*(\w*)\s*\)/) { | ||
717 | next; | ||
718 | } elsif (/^\s*DECLARE_PKCS12_STACK_OF\s*\(\s*(\w*)\s*\)/) { | ||
719 | next; | ||
720 | } elsif (/^DECLARE_PEM_rw\s*\(\s*(\w*)\s*,/ || | ||
721 | /^DECLARE_PEM_rw_cb\s*\(\s*(\w*)\s*,/ ) { | ||
722 | # Things not in Win16 | ||
723 | $def .= | ||
724 | "#INFO:" | ||
725 | .join(',',"!WIN16",@current_platforms).":" | ||
726 | .join(',',@current_algorithms).";"; | ||
727 | $def .= "int PEM_read_$1(void);"; | ||
728 | $def .= "int PEM_write_$1(void);"; | ||
729 | $def .= | ||
730 | "#INFO:" | ||
731 | .join(',',@current_platforms).":" | ||
732 | .join(',',@current_algorithms).";"; | ||
733 | # Things that are everywhere | ||
734 | $def .= "int PEM_read_bio_$1(void);"; | ||
735 | $def .= "int PEM_write_bio_$1(void);"; | ||
736 | next; | ||
737 | } elsif (/^DECLARE_PEM_write\s*\(\s*(\w*)\s*,/ || | ||
738 | /^DECLARE_PEM_write_cb\s*\(\s*(\w*)\s*,/ ) { | ||
739 | # Things not in Win16 | ||
740 | $def .= | ||
741 | "#INFO:" | ||
742 | .join(',',"!WIN16",@current_platforms).":" | ||
743 | .join(',',@current_algorithms).";"; | ||
744 | $def .= "int PEM_write_$1(void);"; | ||
745 | $def .= | ||
746 | "#INFO:" | ||
747 | .join(',',@current_platforms).":" | ||
748 | .join(',',@current_algorithms).";"; | ||
749 | # Things that are everywhere | ||
750 | $def .= "int PEM_write_bio_$1(void);"; | ||
751 | next; | ||
752 | } elsif (/^DECLARE_PEM_read\s*\(\s*(\w*)\s*,/ || | ||
753 | /^DECLARE_PEM_read_cb\s*\(\s*(\w*)\s*,/ ) { | ||
754 | # Things not in Win16 | ||
755 | $def .= | ||
756 | "#INFO:" | ||
757 | .join(',',"!WIN16",@current_platforms).":" | ||
758 | .join(',',@current_algorithms).";"; | ||
759 | $def .= "int PEM_read_$1(void);"; | ||
760 | $def .= | ||
761 | "#INFO:" | ||
762 | .join(',',@current_platforms).":" | ||
763 | .join(',',@current_algorithms).";"; | ||
764 | # Things that are everywhere | ||
765 | $def .= "int PEM_read_bio_$1(void);"; | ||
766 | next; | ||
767 | } elsif (/^OPENSSL_DECLARE_GLOBAL\s*\(\s*(\w*)\s*,\s*(\w*)\s*\)/) { | ||
768 | # Variant for platforms that do not | ||
769 | # have to access globale variables | ||
770 | # in shared libraries through functions | ||
771 | $def .= | ||
772 | "#INFO:" | ||
773 | .join(',',"!EXPORT_VAR_AS_FUNCTION",@current_platforms).":" | ||
774 | .join(',',@current_algorithms).";"; | ||
775 | $def .= "OPENSSL_EXTERN int _shadow_$2;"; | ||
776 | $def .= | ||
777 | "#INFO:" | ||
778 | .join(',',@current_platforms).":" | ||
779 | .join(',',@current_algorithms).";"; | ||
780 | # Variant for platforms that have to | ||
781 | # access globale variables in shared | ||
782 | # libraries through functions | ||
783 | &$make_variant("_shadow_$2","_shadow_$2", | ||
784 | "EXPORT_VAR_AS_FUNCTION", | ||
785 | "FUNCTION"); | ||
786 | } elsif ($tag{'CONST_STRICT'} != 1) { | ||
787 | if (/\{|\/\*|\([^\)]*$/) { | ||
788 | $line = $_; | ||
789 | } else { | ||
790 | $def .= $_; | ||
791 | } | ||
792 | } | ||
793 | } | ||
794 | } | ||
795 | close(IN); | ||
796 | |||
797 | my $algs; | ||
798 | my $plays; | ||
799 | |||
800 | print STDERR "DEBUG: postprocessing ----------\n" if $debug; | ||
801 | foreach (split /;/, $def) { | ||
802 | my $s; my $k = "FUNCTION"; my $p; my $a; | ||
803 | s/^[\n\s]*//g; | ||
804 | s/[\n\s]*$//g; | ||
805 | next if(/\#undef/); | ||
806 | next if(/typedef\W/); | ||
807 | next if(/\#define/); | ||
808 | |||
809 | print STDERR "DEBUG: \$_ = \"$_\"\n" if $debug; | ||
810 | if (/^\#INFO:([^:]*):(.*)$/) { | ||
811 | $plats = $1; | ||
812 | $algs = $2; | ||
813 | print STDERR "DEBUG: found info on platforms ($plats) and algorithms ($algs)\n" if $debug; | ||
814 | next; | ||
815 | } elsif (/^\s*OPENSSL_EXTERN\s.*?(\w+(\{[0-9]+\})?)(\[[0-9]*\])*\s*$/) { | ||
816 | $s = $1; | ||
817 | $k = "VARIABLE"; | ||
818 | print STDERR "DEBUG: found external variable $s\n" if $debug; | ||
819 | } elsif (/\(\*(\w*(\{[0-9]+\})?)\([^\)]+/) { | ||
820 | $s = $1; | ||
821 | print STDERR "DEBUG: found ANSI C function $s\n" if $debug; | ||
822 | } elsif (/\w+\W+(\w+)\W*\(\s*\)(\s*__attribute__\(.*\)\s*)?$/s) { | ||
823 | # K&R C | ||
824 | print STDERR "DEBUG: found K&R C function $s\n" if $debug; | ||
825 | next; | ||
826 | } elsif (/\w+\W+\w+(\{[0-9]+\})?\W*\(.*\)(\s*__attribute__\(.*\)\s*)?$/s) { | ||
827 | while (not /\(\)(\s*__attribute__\(.*\)\s*)?$/s) { | ||
828 | s/[^\(\)]*\)(\s*__attribute__\(.*\)\s*)?$/\)/s; | ||
829 | s/\([^\(\)]*\)\)(\s*__attribute__\(.*\)\s*)?$/\)/s; | ||
830 | } | ||
831 | s/\(void\)//; | ||
832 | /(\w+(\{[0-9]+\})?)\W*\(\)/s; | ||
833 | $s = $1; | ||
834 | print STDERR "DEBUG: found function $s\n" if $debug; | ||
835 | } elsif (/\(/ and not (/=/)) { | ||
836 | print STDERR "File $file: cannot parse: $_;\n"; | ||
837 | next; | ||
838 | } else { | ||
839 | next; | ||
840 | } | ||
841 | |||
842 | $syms{$s} = 1; | ||
843 | $kind{$s} = $k; | ||
844 | |||
845 | $p = $plats; | ||
846 | $a = $algs; | ||
847 | $a .= ",BF" if($s =~ /EVP_bf/); | ||
848 | $a .= ",CAST" if($s =~ /EVP_cast/); | ||
849 | $a .= ",DES" if($s =~ /EVP_des/); | ||
850 | $a .= ",DSA" if($s =~ /EVP_dss/); | ||
851 | $a .= ",IDEA" if($s =~ /EVP_idea/); | ||
852 | $a .= ",MD2" if($s =~ /EVP_md2/); | ||
853 | $a .= ",MD4" if($s =~ /EVP_md4/); | ||
854 | $a .= ",MD5" if($s =~ /EVP_md5/); | ||
855 | $a .= ",RC2" if($s =~ /EVP_rc2/); | ||
856 | $a .= ",RC4" if($s =~ /EVP_rc4/); | ||
857 | $a .= ",RC5" if($s =~ /EVP_rc5/); | ||
858 | $a .= ",RIPEMD" if($s =~ /EVP_ripemd/); | ||
859 | $a .= ",SHA" if($s =~ /EVP_sha/); | ||
860 | $a .= ",RSA" if($s =~ /EVP_(Open|Seal)(Final|Init)/); | ||
861 | $a .= ",RSA" if($s =~ /PEM_Seal(Final|Init|Update)/); | ||
862 | $a .= ",RSA" if($s =~ /RSAPrivateKey/); | ||
863 | $a .= ",RSA" if($s =~ /SSLv23?_((client|server)_)?method/); | ||
864 | |||
865 | $platform{$s} = | ||
866 | &reduce_platforms((defined($platform{$s})?$platform{$s}.',':"").$p); | ||
867 | $algorithm{$s} .= ','.$a; | ||
868 | |||
869 | if (defined($variant{$s})) { | ||
870 | foreach $v (split /;/,$variant{$s}) { | ||
871 | (my $r, my $p, my $k) = split(/:/,$v); | ||
872 | my $ip = join ',',map({ /^!(.*)$/ ? $1 : "!".$_ } split /,/, $p); | ||
873 | $syms{$r} = 1; | ||
874 | if (!defined($k)) { $k = $kind{$s}; } | ||
875 | $kind{$r} = $k."(".$s.")"; | ||
876 | $algorithm{$r} = $algorithm{$s}; | ||
877 | $platform{$r} = &reduce_platforms($platform{$s}.",".$p.",".$p); | ||
878 | $platform{$s} = &reduce_platforms($platform{$s}.','.$ip.','.$ip); | ||
879 | print STDERR "DEBUG: \$variant{\"$s\"} = ",$v,"; \$r = $r; \$p = ",$platform{$r},"; \$a = ",$algorithm{$r},"; \$kind = ",$kind{$r},"\n" if $debug; | ||
880 | } | ||
881 | } | ||
882 | print STDERR "DEBUG: \$s = $s; \$p = ",$platform{$s},"; \$a = ",$algorithm{$s},"; \$kind = ",$kind{$s},"\n" if $debug; | ||
883 | } | ||
884 | } | ||
885 | |||
886 | # Prune the returned symbols | ||
887 | |||
888 | delete $syms{"bn_dump1"}; | ||
889 | $platform{"BIO_s_log"} .= ",!WIN32,!WIN16,!macintosh"; | ||
890 | |||
891 | $platform{"PEM_read_NS_CERT_SEQ"} = "VMS"; | ||
892 | $platform{"PEM_write_NS_CERT_SEQ"} = "VMS"; | ||
893 | $platform{"PEM_read_P8_PRIV_KEY_INFO"} = "VMS"; | ||
894 | $platform{"PEM_write_P8_PRIV_KEY_INFO"} = "VMS"; | ||
895 | |||
896 | # Info we know about | ||
897 | |||
898 | push @ret, map { $_."\\".&info_string($_,"EXIST", | ||
899 | $platform{$_}, | ||
900 | $kind{$_}, | ||
901 | $algorithm{$_}) } keys %syms; | ||
902 | |||
903 | if (keys %unknown_algorithms) { | ||
904 | print STDERR "WARNING: mkdef.pl doesn't know the following algorithms:\n"; | ||
905 | print STDERR "\t",join("\n\t",keys %unknown_algorithms),"\n"; | ||
906 | } | ||
907 | return(@ret); | ||
908 | } | ||
909 | |||
910 | # Param: string of comma-separated platform-specs. | ||
911 | sub reduce_platforms | ||
912 | { | ||
913 | my ($platforms) = @_; | ||
914 | my $pl = defined($platforms) ? $platforms : ""; | ||
915 | my %p = map { $_ => 0 } split /,/, $pl; | ||
916 | my $ret; | ||
917 | |||
918 | print STDERR "DEBUG: Entered reduce_platforms with \"$platforms\"\n" | ||
919 | if $debug; | ||
920 | # We do this, because if there's code like the following, it really | ||
921 | # means the function exists in all cases and should therefore be | ||
922 | # everywhere. By increasing and decreasing, we may attain 0: | ||
923 | # | ||
924 | # ifndef WIN16 | ||
925 | # int foo(); | ||
926 | # else | ||
927 | # int _fat foo(); | ||
928 | # endif | ||
929 | foreach $platform (split /,/, $pl) { | ||
930 | if ($platform =~ /^!(.*)$/) { | ||
931 | $p{$1}--; | ||
932 | } else { | ||
933 | $p{$platform}++; | ||
934 | } | ||
935 | } | ||
936 | foreach $platform (keys %p) { | ||
937 | if ($p{$platform} == 0) { delete $p{$platform}; } | ||
938 | } | ||
939 | |||
940 | delete $p{""}; | ||
941 | |||
942 | $ret = join(',',sort(map { $p{$_} < 0 ? "!".$_ : $_ } keys %p)); | ||
943 | print STDERR "DEBUG: Exiting reduce_platforms with \"$ret\"\n" | ||
944 | if $debug; | ||
945 | return $ret; | ||
946 | } | ||
947 | |||
948 | sub info_string { | ||
949 | (my $symbol, my $exist, my $platforms, my $kind, my $algorithms) = @_; | ||
950 | |||
951 | my %a = defined($algorithms) ? | ||
952 | map { $_ => 1 } split /,/, $algorithms : (); | ||
953 | my $k = defined($kind) ? $kind : "FUNCTION"; | ||
954 | my $ret; | ||
955 | my $p = &reduce_platforms($platforms); | ||
956 | |||
957 | delete $a{""}; | ||
958 | |||
959 | $ret = $exist; | ||
960 | $ret .= ":".$p; | ||
961 | $ret .= ":".$k; | ||
962 | $ret .= ":".join(',',sort keys %a); | ||
963 | return $ret; | ||
964 | } | ||
965 | |||
966 | sub maybe_add_info { | ||
967 | (my $name, *nums, my @symbols) = @_; | ||
968 | my $sym; | ||
969 | my $new_info = 0; | ||
970 | my %syms=(); | ||
971 | |||
972 | print STDERR "Updating $name info\n"; | ||
973 | foreach $sym (@symbols) { | ||
974 | (my $s, my $i) = split /\\/, $sym; | ||
975 | if (defined($nums{$s})) { | ||
976 | $i =~ s/^(.*?:.*?:\w+)(\(\w+\))?/$1/; | ||
977 | (my $n, my $dummy) = split /\\/, $nums{$s}; | ||
978 | if (!defined($dummy) || $i ne $dummy) { | ||
979 | $nums{$s} = $n."\\".$i; | ||
980 | $new_info++; | ||
981 | print STDERR "DEBUG: maybe_add_info for $s: \"$dummy\" => \"$i\"\n" if $debug; | ||
982 | } | ||
983 | } | ||
984 | $syms{$s} = 1; | ||
985 | } | ||
986 | |||
987 | my @s=sort { &parse_number($nums{$a},"n") <=> &parse_number($nums{$b},"n") } keys %nums; | ||
988 | foreach $sym (@s) { | ||
989 | (my $n, my $i) = split /\\/, $nums{$sym}; | ||
990 | if (!defined($syms{$sym}) && $i !~ /^NOEXIST:/) { | ||
991 | $new_info++; | ||
992 | print STDERR "DEBUG: maybe_add_info for $sym: -> undefined\n" if $debug; | ||
993 | } | ||
994 | } | ||
995 | if ($new_info) { | ||
996 | print STDERR "$new_info old symbols got an info update\n"; | ||
997 | if (!$do_rewrite) { | ||
998 | print STDERR "You should do a rewrite to fix this.\n"; | ||
999 | } | ||
1000 | } else { | ||
1001 | print STDERR "No old symbols needed info update\n"; | ||
1002 | } | ||
1003 | } | ||
1004 | |||
1005 | # Param: string of comma-separated keywords, each possibly prefixed with a "!" | ||
1006 | sub is_valid | ||
1007 | { | ||
1008 | my ($keywords_txt,$platforms) = @_; | ||
1009 | my (@keywords) = split /,/,$keywords_txt; | ||
1010 | my ($falsesum, $truesum) = (0, !grep(/^[^!]/,@keywords)); | ||
1011 | |||
1012 | # Param: one keyword | ||
1013 | sub recognise | ||
1014 | { | ||
1015 | my ($keyword,$platforms) = @_; | ||
1016 | |||
1017 | if ($platforms) { | ||
1018 | # platforms | ||
1019 | if ($keyword eq "VMS" && $VMS) { return 1; } | ||
1020 | if ($keyword eq "WIN32" && $W32) { return 1; } | ||
1021 | if ($keyword eq "WIN16" && $W16) { return 1; } | ||
1022 | if ($keyword eq "WINNT" && $NT) { return 1; } | ||
1023 | if ($keyword eq "OS2" && $OS2) { return 1; } | ||
1024 | # Special platforms: | ||
1025 | # EXPORT_VAR_AS_FUNCTION means that global variables | ||
1026 | # will be represented as functions. This currently | ||
1027 | # only happens on VMS-VAX. | ||
1028 | if ($keyword eq "EXPORT_VAR_AS_FUNCTION" && ($VMSVAX || $W32 || $W16)) { | ||
1029 | return 1; | ||
1030 | } | ||
1031 | return 0; | ||
1032 | } else { | ||
1033 | # algorithms | ||
1034 | if ($keyword eq "RC2" && $no_rc2) { return 0; } | ||
1035 | if ($keyword eq "RC4" && $no_rc4) { return 0; } | ||
1036 | if ($keyword eq "RC5" && $no_rc5) { return 0; } | ||
1037 | if ($keyword eq "IDEA" && $no_idea) { return 0; } | ||
1038 | if ($keyword eq "DES" && $no_des) { return 0; } | ||
1039 | if ($keyword eq "BF" && $no_bf) { return 0; } | ||
1040 | if ($keyword eq "CAST" && $no_cast) { return 0; } | ||
1041 | if ($keyword eq "MD2" && $no_md2) { return 0; } | ||
1042 | if ($keyword eq "MD4" && $no_md4) { return 0; } | ||
1043 | if ($keyword eq "MD5" && $no_md5) { return 0; } | ||
1044 | if ($keyword eq "SHA" && $no_sha) { return 0; } | ||
1045 | if ($keyword eq "RIPEMD" && $no_ripemd) { return 0; } | ||
1046 | if ($keyword eq "MDC2" && $no_mdc2) { return 0; } | ||
1047 | if ($keyword eq "RSA" && $no_rsa) { return 0; } | ||
1048 | if ($keyword eq "DSA" && $no_dsa) { return 0; } | ||
1049 | if ($keyword eq "DH" && $no_dh) { return 0; } | ||
1050 | if ($keyword eq "EC" && $no_ec) { return 0; } | ||
1051 | if ($keyword eq "HMAC" && $no_hmac) { return 0; } | ||
1052 | if ($keyword eq "AES" && $no_aes) { return 0; } | ||
1053 | if ($keyword eq "EVP" && $no_evp) { return 0; } | ||
1054 | if ($keyword eq "LHASH" && $no_lhash) { return 0; } | ||
1055 | if ($keyword eq "STACK" && $no_stack) { return 0; } | ||
1056 | if ($keyword eq "ERR" && $no_err) { return 0; } | ||
1057 | if ($keyword eq "BUFFER" && $no_buffer) { return 0; } | ||
1058 | if ($keyword eq "BIO" && $no_bio) { return 0; } | ||
1059 | if ($keyword eq "COMP" && $no_comp) { return 0; } | ||
1060 | if ($keyword eq "DSO" && $no_dso) { return 0; } | ||
1061 | if ($keyword eq "KRB5" && $no_krb5) { return 0; } | ||
1062 | if ($keyword eq "ENGINE" && $no_engine) { return 0; } | ||
1063 | if ($keyword eq "HW" && $no_hw) { return 0; } | ||
1064 | if ($keyword eq "FP_API" && $no_fp_api) { return 0; } | ||
1065 | |||
1066 | # Nothing recognise as true | ||
1067 | return 1; | ||
1068 | } | ||
1069 | } | ||
1070 | |||
1071 | foreach $k (@keywords) { | ||
1072 | if ($k =~ /^!(.*)$/) { | ||
1073 | $falsesum += &recognise($1,$platforms); | ||
1074 | } else { | ||
1075 | $truesum += &recognise($k,$platforms); | ||
1076 | } | ||
1077 | } | ||
1078 | print STDERR "DEBUG: [",$#keywords,",",$#keywords < 0,"] is_valid($keywords_txt) => (\!$falsesum) && $truesum = ",(!$falsesum) && $truesum,"\n" if $debug; | ||
1079 | return (!$falsesum) && $truesum; | ||
1080 | } | ||
1081 | |||
1082 | sub print_test_file | ||
1083 | { | ||
1084 | (*OUT,my $name,*nums,my $testall,my @symbols)=@_; | ||
1085 | my $n = 1; my @e; my @r; | ||
1086 | my $sym; my $prev = ""; my $prefSSLeay; | ||
1087 | |||
1088 | (@e)=grep(/^SSLeay(\{[0-9]+\})?\\.*?:.*?:.*/,@symbols); | ||
1089 | (@r)=grep(/^\w+(\{[0-9]+\})?\\.*?:.*?:.*/ && !/^SSLeay(\{[0-9]+\})?\\.*?:.*?:.*/,@symbols); | ||
1090 | @symbols=((sort @e),(sort @r)); | ||
1091 | |||
1092 | foreach $sym (@symbols) { | ||
1093 | (my $s, my $i) = $sym =~ /^(.*?)\\(.*)$/; | ||
1094 | my $v = 0; | ||
1095 | $v = 1 if $i=~ /^.*?:.*?:VARIABLE/; | ||
1096 | my $p = ($i =~ /^[^:]*:([^:]*):/,$1); | ||
1097 | my $a = ($i =~ /^[^:]*:[^:]*:[^:]*:([^:]*)/,$1); | ||
1098 | if (!defined($nums{$s})) { | ||
1099 | print STDERR "Warning: $s does not have a number assigned\n" | ||
1100 | if(!$do_update); | ||
1101 | } elsif (is_valid($p,1) && is_valid($a,0)) { | ||
1102 | my $s2 = ($s =~ /^(.*?)(\{[0-9]+\})?$/, $1); | ||
1103 | if ($prev eq $s2) { | ||
1104 | print OUT "\t/* The following has already appeared previously */\n"; | ||
1105 | print STDERR "Warning: Symbol '",$s2,"' redefined. old=",($nums{$prev} =~ /^(.*?)\\/,$1),", new=",($nums{$s2} =~ /^(.*?)\\/,$1),"\n"; | ||
1106 | } | ||
1107 | $prev = $s2; # To warn about duplicates... | ||
1108 | |||
1109 | ($nn,$ni)=($nums{$s2} =~ /^(.*?)\\(.*)$/); | ||
1110 | if ($v) { | ||
1111 | print OUT "\textern int $s2; /* type unknown */ /* $nn $ni */\n"; | ||
1112 | } else { | ||
1113 | print OUT "\textern int $s2(); /* type unknown */ /* $nn $ni */\n"; | ||
1114 | } | ||
1115 | } | ||
1116 | } | ||
1117 | } | ||
1118 | |||
1119 | sub get_version { | ||
1120 | local *MF; | ||
1121 | my $v = '?'; | ||
1122 | open MF, 'Makefile.ssl' or return $v; | ||
1123 | while (<MF>) { | ||
1124 | $v = $1, last if /^VERSION=(.*?)\s*$/; | ||
1125 | } | ||
1126 | close MF; | ||
1127 | return $v; | ||
1128 | } | ||
1129 | |||
1130 | sub print_def_file | ||
1131 | { | ||
1132 | (*OUT,my $name,*nums,my @symbols)=@_; | ||
1133 | my $n = 1; my @e; my @r; my @v; my $prev=""; | ||
1134 | my $liboptions=""; | ||
1135 | my $libname = $name; | ||
1136 | my $http_vendor = 'www.openssl.org/'; | ||
1137 | my $version = get_version(); | ||
1138 | my $what = "OpenSSL: implementation of Secure Socket Layer"; | ||
1139 | my $description = "$what $version, $name - http://$http_vendor"; | ||
1140 | |||
1141 | if ($W32) | ||
1142 | { $libname.="32"; } | ||
1143 | elsif ($W16) | ||
1144 | { $libname.="16"; } | ||
1145 | elsif ($OS2) | ||
1146 | { # DLL names should not clash on the whole system. | ||
1147 | # However, they should not have any particular relationship | ||
1148 | # to the name of the static library. Chose descriptive names | ||
1149 | # (must be at most 8 chars). | ||
1150 | my %translate = (ssl => 'open_ssl', crypto => 'cryptssl'); | ||
1151 | $libname = $translate{$name} || $name; | ||
1152 | $liboptions = <<EOO; | ||
1153 | INITINSTANCE | ||
1154 | DATA MULTIPLE NONSHARED | ||
1155 | EOO | ||
1156 | # Vendor field can't contain colon, drat; so we omit http:// | ||
1157 | $description = "\@#$http_vendor:$version#\@$what; DLL for library $name. Build for EMX -Zmtd"; | ||
1158 | } | ||
1159 | |||
1160 | print OUT <<"EOF"; | ||
1161 | ; | ||
1162 | ; Definition file for the DLL version of the $name library from OpenSSL | ||
1163 | ; | ||
1164 | |||
1165 | LIBRARY $libname $liboptions | ||
1166 | |||
1167 | DESCRIPTION '$description' | ||
1168 | |||
1169 | EOF | ||
1170 | |||
1171 | if ($W16) { | ||
1172 | print <<"EOF"; | ||
1173 | CODE PRELOAD MOVEABLE | ||
1174 | DATA PRELOAD MOVEABLE SINGLE | ||
1175 | |||
1176 | EXETYPE WINDOWS | ||
1177 | |||
1178 | HEAPSIZE 4096 | ||
1179 | STACKSIZE 8192 | ||
1180 | |||
1181 | EOF | ||
1182 | } | ||
1183 | |||
1184 | print "EXPORTS\n"; | ||
1185 | |||
1186 | (@e)=grep(/^SSLeay(\{[0-9]+\})?\\.*?:.*?:FUNCTION/,@symbols); | ||
1187 | (@r)=grep(/^\w+(\{[0-9]+\})?\\.*?:.*?:FUNCTION/ && !/^SSLeay(\{[0-9]+\})?\\.*?:.*?:FUNCTION/,@symbols); | ||
1188 | (@v)=grep(/^\w+(\{[0-9]+\})?\\.*?:.*?:VARIABLE/,@symbols); | ||
1189 | @symbols=((sort @e),(sort @r), (sort @v)); | ||
1190 | |||
1191 | |||
1192 | foreach $sym (@symbols) { | ||
1193 | (my $s, my $i) = $sym =~ /^(.*?)\\(.*)$/; | ||
1194 | my $v = 0; | ||
1195 | $v = 1 if $i =~ /^.*?:.*?:VARIABLE/; | ||
1196 | if (!defined($nums{$s})) { | ||
1197 | printf STDERR "Warning: $s does not have a number assigned\n" | ||
1198 | if(!$do_update); | ||
1199 | } else { | ||
1200 | (my $n, my $dummy) = split /\\/, $nums{$s}; | ||
1201 | my %pf = (); | ||
1202 | my $p = ($i =~ /^[^:]*:([^:]*):/,$1); | ||
1203 | my $a = ($i =~ /^[^:]*:[^:]*:[^:]*:([^:]*)/,$1); | ||
1204 | if (is_valid($p,1) && is_valid($a,0)) { | ||
1205 | my $s2 = ($s =~ /^(.*?)(\{[0-9]+\})?$/, $1); | ||
1206 | if ($prev eq $s2) { | ||
1207 | print STDERR "Warning: Symbol '",$s2,"' redefined. old=",($nums{$prev} =~ /^(.*?)\\/,$1),", new=",($nums{$s2} =~ /^(.*?)\\/,$1),"\n"; | ||
1208 | } | ||
1209 | $prev = $s2; # To warn about duplicates... | ||
1210 | if($v && !$OS2) { | ||
1211 | printf OUT " %s%-39s @%-8d DATA\n",($W32)?"":"_",$s2,$n; | ||
1212 | } else { | ||
1213 | printf OUT " %s%-39s @%d\n",($W32||$OS2)?"":"_",$s2,$n; | ||
1214 | } | ||
1215 | } | ||
1216 | } | ||
1217 | } | ||
1218 | printf OUT "\n"; | ||
1219 | } | ||
1220 | |||
1221 | sub load_numbers | ||
1222 | { | ||
1223 | my($name)=@_; | ||
1224 | my(@a,%ret); | ||
1225 | |||
1226 | $max_num = 0; | ||
1227 | $num_noinfo = 0; | ||
1228 | $prev = ""; | ||
1229 | $prev_cnt = 0; | ||
1230 | |||
1231 | open(IN,"<$name") || die "unable to open $name:$!\n"; | ||
1232 | while (<IN>) { | ||
1233 | chop; | ||
1234 | s/#.*$//; | ||
1235 | next if /^\s*$/; | ||
1236 | @a=split; | ||
1237 | if (defined $ret{$a[0]}) { | ||
1238 | # This is actually perfectly OK | ||
1239 | #print STDERR "Warning: Symbol '",$a[0],"' redefined. old=",$ret{$a[0]},", new=",$a[1],"\n"; | ||
1240 | } | ||
1241 | if ($max_num > $a[1]) { | ||
1242 | print STDERR "Warning: Number decreased from ",$max_num," to ",$a[1],"\n"; | ||
1243 | } | ||
1244 | elsif ($max_num == $a[1]) { | ||
1245 | # This is actually perfectly OK | ||
1246 | #print STDERR "Warning: Symbol ",$a[0]," has same number as previous ",$prev,": ",$a[1],"\n"; | ||
1247 | if ($a[0] eq $prev) { | ||
1248 | $prev_cnt++; | ||
1249 | $a[0] .= "{$prev_cnt}"; | ||
1250 | } | ||
1251 | } | ||
1252 | else { | ||
1253 | $prev_cnt = 0; | ||
1254 | } | ||
1255 | if ($#a < 2) { | ||
1256 | # Existence will be proven later, in do_defs | ||
1257 | $ret{$a[0]}=$a[1]; | ||
1258 | $num_noinfo++; | ||
1259 | } else { | ||
1260 | $ret{$a[0]}=$a[1]."\\".$a[2]; # \\ is a special marker | ||
1261 | } | ||
1262 | $max_num = $a[1] if $a[1] > $max_num; | ||
1263 | $prev=$a[0]; | ||
1264 | } | ||
1265 | if ($num_noinfo) { | ||
1266 | print STDERR "Warning: $num_noinfo symbols were without info."; | ||
1267 | if ($do_rewrite) { | ||
1268 | printf STDERR " The rewrite will fix this.\n"; | ||
1269 | } else { | ||
1270 | printf STDERR " You should do a rewrite to fix this.\n"; | ||
1271 | } | ||
1272 | } | ||
1273 | close(IN); | ||
1274 | return(%ret); | ||
1275 | } | ||
1276 | |||
1277 | sub parse_number | ||
1278 | { | ||
1279 | (my $str, my $what) = @_; | ||
1280 | (my $n, my $i) = split(/\\/,$str); | ||
1281 | if ($what eq "n") { | ||
1282 | return $n; | ||
1283 | } else { | ||
1284 | return $i; | ||
1285 | } | ||
1286 | } | ||
1287 | |||
1288 | sub rewrite_numbers | ||
1289 | { | ||
1290 | (*OUT,$name,*nums,@symbols)=@_; | ||
1291 | my $thing; | ||
1292 | |||
1293 | print STDERR "Rewriting $name\n"; | ||
1294 | |||
1295 | my @r = grep(/^\w+(\{[0-9]+\})?\\.*?:.*?:\w+\(\w+\)/,@symbols); | ||
1296 | my $r; my %r; my %rsyms; | ||
1297 | foreach $r (@r) { | ||
1298 | (my $s, my $i) = split /\\/, $r; | ||
1299 | my $a = $1 if $i =~ /^.*?:.*?:\w+\((\w+)\)/; | ||
1300 | $i =~ s/^(.*?:.*?:\w+)\(\w+\)/$1/; | ||
1301 | $r{$a} = $s."\\".$i; | ||
1302 | $rsyms{$s} = 1; | ||
1303 | } | ||
1304 | |||
1305 | my %syms = (); | ||
1306 | foreach $_ (@symbols) { | ||
1307 | (my $n, my $i) = split /\\/; | ||
1308 | $syms{$n} = 1; | ||
1309 | } | ||
1310 | |||
1311 | my @s=sort { | ||
1312 | &parse_number($nums{$a},"n") <=> &parse_number($nums{$b},"n") | ||
1313 | || $a cmp $b | ||
1314 | } keys %nums; | ||
1315 | foreach $sym (@s) { | ||
1316 | (my $n, my $i) = split /\\/, $nums{$sym}; | ||
1317 | next if defined($i) && $i =~ /^.*?:.*?:\w+\(\w+\)/; | ||
1318 | next if defined($rsyms{$sym}); | ||
1319 | print STDERR "DEBUG: rewrite_numbers for sym = ",$sym,": i = ",$i,", n = ",$n,", rsym{sym} = ",$rsyms{$sym},"syms{sym} = ",$syms{$sym},"\n" if $debug; | ||
1320 | $i="NOEXIST::FUNCTION:" | ||
1321 | if !defined($i) || $i eq "" || !defined($syms{$sym}); | ||
1322 | my $s2 = $sym; | ||
1323 | $s2 =~ s/\{[0-9]+\}$//; | ||
1324 | printf OUT "%s%-39s %d\t%s\n","",$s2,$n,$i; | ||
1325 | if (exists $r{$sym}) { | ||
1326 | (my $s, $i) = split /\\/,$r{$sym}; | ||
1327 | my $s2 = $s; | ||
1328 | $s2 =~ s/\{[0-9]+\}$//; | ||
1329 | printf OUT "%s%-39s %d\t%s\n","",$s2,$n,$i; | ||
1330 | } | ||
1331 | } | ||
1332 | } | ||
1333 | |||
1334 | sub update_numbers | ||
1335 | { | ||
1336 | (*OUT,$name,*nums,my $start_num, my @symbols)=@_; | ||
1337 | my $new_syms = 0; | ||
1338 | |||
1339 | print STDERR "Updating $name numbers\n"; | ||
1340 | |||
1341 | my @r = grep(/^\w+(\{[0-9]+\})?\\.*?:.*?:\w+\(\w+\)/,@symbols); | ||
1342 | my $r; my %r; my %rsyms; | ||
1343 | foreach $r (@r) { | ||
1344 | (my $s, my $i) = split /\\/, $r; | ||
1345 | my $a = $1 if $i =~ /^.*?:.*?:\w+\((\w+)\)/; | ||
1346 | $i =~ s/^(.*?:.*?:\w+)\(\w+\)/$1/; | ||
1347 | $r{$a} = $s."\\".$i; | ||
1348 | $rsyms{$s} = 1; | ||
1349 | } | ||
1350 | |||
1351 | foreach $sym (@symbols) { | ||
1352 | (my $s, my $i) = $sym =~ /^(.*?)\\(.*)$/; | ||
1353 | next if $i =~ /^.*?:.*?:\w+\(\w+\)/; | ||
1354 | next if defined($rsyms{$sym}); | ||
1355 | die "ERROR: Symbol $sym had no info attached to it." | ||
1356 | if $i eq ""; | ||
1357 | if (!exists $nums{$s}) { | ||
1358 | $new_syms++; | ||
1359 | my $s2 = $s; | ||
1360 | $s2 =~ s/\{[0-9]+\}$//; | ||
1361 | printf OUT "%s%-39s %d\t%s\n","",$s2, ++$start_num,$i; | ||
1362 | if (exists $r{$s}) { | ||
1363 | ($s, $i) = split /\\/,$r{$s}; | ||
1364 | $s =~ s/\{[0-9]+\}$//; | ||
1365 | printf OUT "%s%-39s %d\t%s\n","",$s, $start_num,$i; | ||
1366 | } | ||
1367 | } | ||
1368 | } | ||
1369 | if($new_syms) { | ||
1370 | print STDERR "$new_syms New symbols added\n"; | ||
1371 | } else { | ||
1372 | print STDERR "No New symbols Added\n"; | ||
1373 | } | ||
1374 | } | ||
1375 | |||
1376 | sub check_existing | ||
1377 | { | ||
1378 | (*nums, my @symbols)=@_; | ||
1379 | my %existing; my @remaining; | ||
1380 | @remaining=(); | ||
1381 | foreach $sym (@symbols) { | ||
1382 | (my $s, my $i) = $sym =~ /^(.*?)\\(.*)$/; | ||
1383 | $existing{$s}=1; | ||
1384 | } | ||
1385 | foreach $sym (keys %nums) { | ||
1386 | if (!exists $existing{$sym}) { | ||
1387 | push @remaining, $sym; | ||
1388 | } | ||
1389 | } | ||
1390 | if(@remaining) { | ||
1391 | print STDERR "The following symbols do not seem to exist:\n"; | ||
1392 | foreach $sym (@remaining) { | ||
1393 | print STDERR "\t",$sym,"\n"; | ||
1394 | } | ||
1395 | } | ||
1396 | } | ||
1397 | |||
diff --git a/src/lib/libcrypto/util/mkdir-p.pl b/src/lib/libcrypto/util/mkdir-p.pl new file mode 100644 index 0000000000..6c69c2daa4 --- /dev/null +++ b/src/lib/libcrypto/util/mkdir-p.pl | |||
@@ -0,0 +1,33 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | |||
3 | # mkdir-p.pl | ||
4 | |||
5 | # On some systems, the -p option to mkdir (= also create any missing parent | ||
6 | # directories) is not available. | ||
7 | |||
8 | my $arg; | ||
9 | |||
10 | foreach $arg (@ARGV) { | ||
11 | &do_mkdir_p($arg); | ||
12 | } | ||
13 | |||
14 | |||
15 | sub do_mkdir_p { | ||
16 | local($dir) = @_; | ||
17 | |||
18 | $dir =~ s|/*\Z(?!\n)||s; | ||
19 | |||
20 | if (-d $dir) { | ||
21 | return; | ||
22 | } | ||
23 | |||
24 | if ($dir =~ m|[^/]/|s) { | ||
25 | local($parent) = $dir; | ||
26 | $parent =~ s|[^/]*\Z(?!\n)||s; | ||
27 | |||
28 | do_mkdir_p($parent); | ||
29 | } | ||
30 | |||
31 | mkdir($dir, 0777) || die "Cannot create directory $dir: $!\n"; | ||
32 | print "created directory `$dir'\n"; | ||
33 | } | ||
diff --git a/src/lib/libcrypto/util/mkerr.pl b/src/lib/libcrypto/util/mkerr.pl index 60e534807e..1b2915c767 100644 --- a/src/lib/libcrypto/util/mkerr.pl +++ b/src/lib/libcrypto/util/mkerr.pl | |||
@@ -41,8 +41,7 @@ while (@ARGV) { | |||
41 | } | 41 | } |
42 | 42 | ||
43 | if($recurse) { | 43 | if($recurse) { |
44 | @source = (<crypto/*.c>, <crypto/*/*.c>, <ssl/*.c>, <fips/*.c>, | 44 | @source = (<crypto/*.c>, <crypto/*/*.c>, <ssl/*.c>); |
45 | <fips/*/*.c>); | ||
46 | } else { | 45 | } else { |
47 | @source = @ARGV; | 46 | @source = @ARGV; |
48 | } | 47 | } |
@@ -263,7 +262,7 @@ foreach $lib (keys %csrc) | |||
263 | } else { | 262 | } else { |
264 | push @out, | 263 | push @out, |
265 | "/* ====================================================================\n", | 264 | "/* ====================================================================\n", |
266 | " * Copyright (c) 2001-2005 The OpenSSL Project. All rights reserved.\n", | 265 | " * Copyright (c) 2001-2003 The OpenSSL Project. All rights reserved.\n", |
267 | " *\n", | 266 | " *\n", |
268 | " * Redistribution and use in source and binary forms, with or without\n", | 267 | " * Redistribution and use in source and binary forms, with or without\n", |
269 | " * modification, are permitted provided that the following conditions\n", | 268 | " * modification, are permitted provided that the following conditions\n", |
@@ -405,7 +404,7 @@ EOF | |||
405 | print OUT <<"EOF"; | 404 | print OUT <<"EOF"; |
406 | /* $cfile */ | 405 | /* $cfile */ |
407 | /* ==================================================================== | 406 | /* ==================================================================== |
408 | * Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved. | 407 | * Copyright (c) 1999-2003 The OpenSSL Project. All rights reserved. |
409 | * | 408 | * |
410 | * Redistribution and use in source and binary forms, with or without | 409 | * Redistribution and use in source and binary forms, with or without |
411 | * modification, are permitted provided that the following conditions | 410 | * modification, are permitted provided that the following conditions |
diff --git a/src/lib/libcrypto/util/mkfiles.pl b/src/lib/libcrypto/util/mkfiles.pl new file mode 100644 index 0000000000..29e1404c69 --- /dev/null +++ b/src/lib/libcrypto/util/mkfiles.pl | |||
@@ -0,0 +1,117 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # This is a hacked version of files.pl for systems that can't do a 'make files'. | ||
4 | # Do a perl util/mkminfo.pl >MINFO to build MINFO | ||
5 | # Written by Steve Henson 1999. | ||
6 | |||
7 | # List of directories to process | ||
8 | |||
9 | my @dirs = ( | ||
10 | ".", | ||
11 | "crypto", | ||
12 | "crypto/md2", | ||
13 | "crypto/md4", | ||
14 | "crypto/md5", | ||
15 | "crypto/sha", | ||
16 | "crypto/mdc2", | ||
17 | "crypto/hmac", | ||
18 | "crypto/ripemd", | ||
19 | "crypto/des", | ||
20 | "crypto/rc2", | ||
21 | "crypto/rc4", | ||
22 | "crypto/rc5", | ||
23 | "crypto/idea", | ||
24 | "crypto/bf", | ||
25 | "crypto/cast", | ||
26 | "crypto/aes", | ||
27 | "crypto/bn", | ||
28 | "crypto/rsa", | ||
29 | "crypto/dsa", | ||
30 | "crypto/dso", | ||
31 | "crypto/dh", | ||
32 | "crypto/ec", | ||
33 | "crypto/buffer", | ||
34 | "crypto/bio", | ||
35 | "crypto/stack", | ||
36 | "crypto/lhash", | ||
37 | "crypto/rand", | ||
38 | "crypto/err", | ||
39 | "crypto/objects", | ||
40 | "crypto/evp", | ||
41 | "crypto/asn1", | ||
42 | "crypto/pem", | ||
43 | "crypto/x509", | ||
44 | "crypto/x509v3", | ||
45 | "crypto/conf", | ||
46 | "crypto/txt_db", | ||
47 | "crypto/pkcs7", | ||
48 | "crypto/pkcs12", | ||
49 | "crypto/comp", | ||
50 | "crypto/engine", | ||
51 | "crypto/ocsp", | ||
52 | "crypto/ui", | ||
53 | "crypto/krb5", | ||
54 | "ssl", | ||
55 | "apps", | ||
56 | "test", | ||
57 | "tools" | ||
58 | ); | ||
59 | |||
60 | foreach (@dirs) { | ||
61 | &files_dir ($_, "Makefile.ssl"); | ||
62 | } | ||
63 | |||
64 | exit(0); | ||
65 | |||
66 | sub files_dir | ||
67 | { | ||
68 | my ($dir, $makefile) = @_; | ||
69 | |||
70 | my %sym; | ||
71 | |||
72 | open (IN, "$dir/$makefile") || die "Can't open $dir/$makefile"; | ||
73 | |||
74 | my $s=""; | ||
75 | |||
76 | while (<IN>) | ||
77 | { | ||
78 | chop; | ||
79 | s/#.*//; | ||
80 | if (/^(\S+)\s*=\s*(.*)$/) | ||
81 | { | ||
82 | $o=""; | ||
83 | ($s,$b)=($1,$2); | ||
84 | for (;;) | ||
85 | { | ||
86 | if ($b =~ /\\$/) | ||
87 | { | ||
88 | chop($b); | ||
89 | $o.=$b." "; | ||
90 | $b=<IN>; | ||
91 | chop($b); | ||
92 | } | ||
93 | else | ||
94 | { | ||
95 | $o.=$b." "; | ||
96 | last; | ||
97 | } | ||
98 | } | ||
99 | $o =~ s/^\s+//; | ||
100 | $o =~ s/\s+$//; | ||
101 | $o =~ s/\s+/ /g; | ||
102 | |||
103 | $o =~ s/\$[({]([^)}]+)[)}]/$sym{$1}/g; | ||
104 | $sym{$s}=$o; | ||
105 | } | ||
106 | } | ||
107 | |||
108 | print "RELATIVE_DIRECTORY=$dir\n"; | ||
109 | |||
110 | foreach (sort keys %sym) | ||
111 | { | ||
112 | print "$_=$sym{$_}\n"; | ||
113 | } | ||
114 | print "RELATIVE_DIRECTORY=\n"; | ||
115 | |||
116 | close (IN); | ||
117 | } | ||
diff --git a/src/lib/libcrypto/util/mklink.pl b/src/lib/libcrypto/util/mklink.pl new file mode 100644 index 0000000000..9386da7aa4 --- /dev/null +++ b/src/lib/libcrypto/util/mklink.pl | |||
@@ -0,0 +1,69 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | |||
3 | # mklink.pl | ||
4 | |||
5 | # The first command line argument is a non-empty relative path | ||
6 | # specifying the "from" directory. | ||
7 | # Each other argument is a file name not containing / and | ||
8 | # names a file in the current directory. | ||
9 | # | ||
10 | # For each of these files, we create in the "from" directory a link | ||
11 | # of the same name pointing to the local file. | ||
12 | # | ||
13 | # We assume that the directory structure is a tree, i.e. that it does | ||
14 | # not contain symbolic links and that the parent of / is never referenced. | ||
15 | # Apart from this, this script should be able to handle even the most | ||
16 | # pathological cases. | ||
17 | |||
18 | my $from = shift; | ||
19 | my @files = @ARGV; | ||
20 | |||
21 | my @from_path = split(/[\\\/]/, $from); | ||
22 | my $pwd = `pwd`; | ||
23 | chop($pwd); | ||
24 | my @pwd_path = split(/[\\\/]/, $pwd); | ||
25 | |||
26 | my @to_path = (); | ||
27 | |||
28 | my $dirname; | ||
29 | foreach $dirname (@from_path) { | ||
30 | |||
31 | # In this loop, @to_path always is a relative path from | ||
32 | # @pwd_path (interpreted is an absolute path) to the original pwd. | ||
33 | |||
34 | # At the end, @from_path (as a relative path from the original pwd) | ||
35 | # designates the same directory as the absolute path @pwd_path, | ||
36 | # which means that @to_path then is a path from there to the original pwd. | ||
37 | |||
38 | next if ($dirname eq "" || $dirname eq "."); | ||
39 | |||
40 | if ($dirname eq "..") { | ||
41 | @to_path = (pop(@pwd_path), @to_path); | ||
42 | } else { | ||
43 | @to_path = ("..", @to_path); | ||
44 | push(@pwd_path, $dirname); | ||
45 | } | ||
46 | } | ||
47 | |||
48 | my $to = join('/', @to_path); | ||
49 | |||
50 | my $file; | ||
51 | $symlink_exists=eval {symlink("",""); 1}; | ||
52 | foreach $file (@files) { | ||
53 | my $err = ""; | ||
54 | if ($symlink_exists) { | ||
55 | symlink("$to/$file", "$from/$file") or $err = " [$!]"; | ||
56 | } else { | ||
57 | unlink "$from/$file"; | ||
58 | open (OLD, "<$file") or die "Can't open $file: $!"; | ||
59 | open (NEW, ">$from/$file") or die "Can't open $from/$file: $!"; | ||
60 | binmode(OLD); | ||
61 | binmode(NEW); | ||
62 | while (<OLD>) { | ||
63 | print NEW $_; | ||
64 | } | ||
65 | close (OLD) or die "Can't close $file: $!"; | ||
66 | close (NEW) or die "Can't close $from/$file: $!"; | ||
67 | } | ||
68 | print $file . " => $from/$file$err\n"; | ||
69 | } | ||
diff --git a/src/lib/libcrypto/util/mkstack.pl b/src/lib/libcrypto/util/mkstack.pl index 0ca9eb6a76..085c50f790 100644 --- a/src/lib/libcrypto/util/mkstack.pl +++ b/src/lib/libcrypto/util/mkstack.pl | |||
@@ -84,7 +84,6 @@ while(<IN>) { | |||
84 | #define sk_${type_thing}_shift(st) SKM_sk_shift($type_thing, (st)) | 84 | #define sk_${type_thing}_shift(st) SKM_sk_shift($type_thing, (st)) |
85 | #define sk_${type_thing}_pop(st) SKM_sk_pop($type_thing, (st)) | 85 | #define sk_${type_thing}_pop(st) SKM_sk_pop($type_thing, (st)) |
86 | #define sk_${type_thing}_sort(st) SKM_sk_sort($type_thing, (st)) | 86 | #define sk_${type_thing}_sort(st) SKM_sk_sort($type_thing, (st)) |
87 | #define sk_${type_thing}_is_sorted(st) SKM_sk_is_sorted($type_thing, (st)) | ||
88 | EOF | 87 | EOF |
89 | } | 88 | } |
90 | foreach $type_thing (sort @asn1setlst) { | 89 | foreach $type_thing (sort @asn1setlst) { |
diff --git a/src/lib/libcrypto/util/opensslwrap.sh b/src/lib/libcrypto/util/opensslwrap.sh new file mode 100755 index 0000000000..91d29e2b87 --- /dev/null +++ b/src/lib/libcrypto/util/opensslwrap.sh | |||
@@ -0,0 +1,22 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | HERE="`echo $0 | sed -e 's|[^/]*$||'`" | ||
4 | OPENSSL="${HERE}../apps/openssl" | ||
5 | |||
6 | if [ -x "${OPENSSL}.exe" ]; then | ||
7 | # The original reason for this script existence is to work around | ||
8 | # certain caveats in run-time linker behaviour. On Windows platforms | ||
9 | # adjusting $PATH used to be sufficient, but with introduction of | ||
10 | # SafeDllSearchMode in XP/2003 the only way to get it right in | ||
11 | # *all* possible situations is to copy newly built .DLLs to apps/ | ||
12 | # and test/, which is now done elsewhere... The $PATH is adjusted | ||
13 | # for backward compatibility (and nostagical reasons:-). | ||
14 | if [ "$OSTYPE" != msdosdjgpp ]; then | ||
15 | PATH="${HERE}..:$PATH"; export PATH | ||
16 | fi | ||
17 | exec "${OPENSSL}.exe" "$@" | ||
18 | elif [ -x "${OPENSSL}" -a -x "${HERE}shlib_wrap.sh" ]; then | ||
19 | exec "${HERE}shlib_wrap.sh" "${OPENSSL}" "$@" | ||
20 | else | ||
21 | exec "${OPENSSL}" "$@" # hope for the best... | ||
22 | fi | ||
diff --git a/src/lib/libcrypto/util/perlpath.pl b/src/lib/libcrypto/util/perlpath.pl new file mode 100644 index 0000000000..a1f236bd98 --- /dev/null +++ b/src/lib/libcrypto/util/perlpath.pl | |||
@@ -0,0 +1,35 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # modify the '#!/usr/local/bin/perl' | ||
4 | # line in all scripts that rely on perl. | ||
5 | # | ||
6 | |||
7 | require "find.pl"; | ||
8 | |||
9 | $#ARGV == 0 || print STDERR "usage: perlpath newpath (eg /usr/bin)\n"; | ||
10 | &find("."); | ||
11 | |||
12 | sub wanted | ||
13 | { | ||
14 | return unless /\.pl$/ || /^[Cc]onfigur/; | ||
15 | |||
16 | open(IN,"<$_") || die "unable to open $dir/$_:$!\n"; | ||
17 | @a=<IN>; | ||
18 | close(IN); | ||
19 | |||
20 | if (-d $ARGV[0]) { | ||
21 | $a[0]="#!$ARGV[0]/perl\n"; | ||
22 | } | ||
23 | else { | ||
24 | $a[0]="#!$ARGV[0]\n"; | ||
25 | } | ||
26 | |||
27 | # Playing it safe... | ||
28 | $new="$_.new"; | ||
29 | open(OUT,">$new") || die "unable to open $dir/$new:$!\n"; | ||
30 | print OUT @a; | ||
31 | close(OUT); | ||
32 | |||
33 | rename($new,$_) || die "unable to rename $dir/$new:$!\n"; | ||
34 | chmod(0755,$_) || die "unable to chmod $dir/$new:$!\n"; | ||
35 | } | ||
diff --git a/src/lib/libcrypto/util/pl/BC-16.pl b/src/lib/libcrypto/util/pl/BC-16.pl new file mode 100644 index 0000000000..2033f524ca --- /dev/null +++ b/src/lib/libcrypto/util/pl/BC-16.pl | |||
@@ -0,0 +1,146 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # VCw16lib.pl - the file for Visual C++ 1.52b for windows, static libraries | ||
3 | # | ||
4 | |||
5 | $o='\\'; | ||
6 | $cp='copy'; | ||
7 | $rm='del'; | ||
8 | |||
9 | # C compiler stuff | ||
10 | $cc='bcc'; | ||
11 | |||
12 | if ($debug) | ||
13 | { $op="-v "; } | ||
14 | else { $op="-O "; } | ||
15 | |||
16 | $cflags="-d -ml $op -DL_ENDIAN"; | ||
17 | # I add the stack opt | ||
18 | $base_lflags="/c /C"; | ||
19 | $lflags="$base_lflags"; | ||
20 | |||
21 | if ($win16) | ||
22 | { | ||
23 | $shlib=1; | ||
24 | $cflags.=" -DOPENSSL_SYSNAME_WIN16"; | ||
25 | $app_cflag="-W"; | ||
26 | $lib_cflag="-WD"; | ||
27 | $lflags.="/Twe"; | ||
28 | } | ||
29 | else | ||
30 | { | ||
31 | $cflags.=" -DOENSSL_SYSNAME_MSDOS"; | ||
32 | $lflags.=" /Tde"; | ||
33 | } | ||
34 | |||
35 | if ($shlib) | ||
36 | { | ||
37 | $mlflags=" /Twd $base_lflags"; # stack if defined in .def file | ||
38 | $libs="libw ldllcew"; | ||
39 | $no_asm=1; | ||
40 | } | ||
41 | else | ||
42 | { $mlflags=''; } | ||
43 | |||
44 | $obj='.obj'; | ||
45 | $ofile="-o"; | ||
46 | |||
47 | # EXE linking stuff | ||
48 | $link="tlink"; | ||
49 | $efile=""; | ||
50 | $exep='.exe'; | ||
51 | $ex_libs="CL"; | ||
52 | $ex_libs.=$no_sock?"":" winsock.lib"; | ||
53 | |||
54 | $app_ex_obj="C0L.obj "; | ||
55 | $shlib_ex_obj="" if ($shlib); | ||
56 | |||
57 | # static library stuff | ||
58 | $mklib='tlib'; | ||
59 | $ranlib='echo no ranlib'; | ||
60 | $plib=""; | ||
61 | $libp=".lib"; | ||
62 | $shlibp=($shlib)?".dll":".lib"; | ||
63 | $lfile=''; | ||
64 | |||
65 | $asm='bcc -c -B -Tml'; | ||
66 | $afile='/o'; | ||
67 | if ($no_asm) | ||
68 | { | ||
69 | $bn_asm_obj=''; | ||
70 | $bn_asm_src=''; | ||
71 | } | ||
72 | elsif ($asmbits == 32) | ||
73 | { | ||
74 | $bn_asm_obj='crypto\bn\asm\x86w32.obj'; | ||
75 | $bn_asm_src='crypto\bn\asm\x86w32.asm'; | ||
76 | } | ||
77 | else | ||
78 | { | ||
79 | $bn_asm_obj='crypto\bn\asm\x86w16.obj'; | ||
80 | $bn_asm_src='crypto\bn\asm\x86w16.asm'; | ||
81 | } | ||
82 | |||
83 | sub do_lib_rule | ||
84 | { | ||
85 | local($target,$name,$shlib)=@_; | ||
86 | local($ret,$Name); | ||
87 | |||
88 | $taget =~ s/\//$o/g if $o ne '/'; | ||
89 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
90 | |||
91 | $ret.="$target: \$(${Name}OBJ)\n"; | ||
92 | $ret.="\t\$(RM) \$(O_$Name)\n"; | ||
93 | |||
94 | # Due to a pathetic line length limit, I unwrap the args. | ||
95 | local($lib_names)=""; | ||
96 | local($dll_names)=""; | ||
97 | foreach $_ (sort split(/\s+/,$Vars{"${Name}OBJ"})) | ||
98 | { | ||
99 | $lib_names.=" +$_ &\n"; | ||
100 | $dll_names.=" $_\n"; | ||
101 | } | ||
102 | |||
103 | if (!$shlib) | ||
104 | { | ||
105 | $ret.="\t\$(MKLIB) $target & <<|\n$lib_names\n,\n|\n"; | ||
106 | } | ||
107 | else | ||
108 | { | ||
109 | local($ex)=($Name eq "SSL")?' $(L_CRYPTO) winsock':""; | ||
110 | $ret.="\t\$(LINK) \$(MLFLAGS) @&&|\n"; | ||
111 | $ret.=$dll_names; | ||
112 | $ret.="\n $target\n\n $ex $libs\nms$o${name}16.def;\n|\n"; | ||
113 | ($out_lib=$target) =~ s/O_/L_/; | ||
114 | $ret.="\timplib /nowep $out_lib $target\n\n"; | ||
115 | } | ||
116 | $ret.="\n"; | ||
117 | return($ret); | ||
118 | } | ||
119 | |||
120 | sub do_link_rule | ||
121 | { | ||
122 | local($target,$files,$dep_libs,$libs)=@_; | ||
123 | local($ret,$f,$_,@f); | ||
124 | |||
125 | $file =~ s/\//$o/g if $o ne '/'; | ||
126 | $n=&bname($targer); | ||
127 | $ret.="$target: $files $dep_libs\n"; | ||
128 | $ret.=" \$(LINK) @&&|"; | ||
129 | |||
130 | # Due to a pathetic line length limit, I have to unwrap the args. | ||
131 | $ret.=" \$(LFLAGS) "; | ||
132 | if ($files =~ /\(([^)]*)\)$/) | ||
133 | { | ||
134 | $ret.=" \$(APP_EX_OBJ)"; | ||
135 | foreach $_ (sort split(/\s+/,$Vars{$1})) | ||
136 | { $ret.="\n $r $_ +"; } | ||
137 | chop($ret); | ||
138 | $ret.="\n"; | ||
139 | } | ||
140 | else | ||
141 | { $ret.="\n $r \$(APP_EX_OBJ) $files\n"; } | ||
142 | $ret.=" $target\n\n $libs\n\n|\n\n"; | ||
143 | return($ret); | ||
144 | } | ||
145 | |||
146 | 1; | ||
diff --git a/src/lib/libcrypto/util/pl/BC-32.pl b/src/lib/libcrypto/util/pl/BC-32.pl new file mode 100644 index 0000000000..e83b336190 --- /dev/null +++ b/src/lib/libcrypto/util/pl/BC-32.pl | |||
@@ -0,0 +1,135 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # Borland C++ builder 3 and 4 -- Janez Jere <jj@void.si> | ||
3 | # | ||
4 | |||
5 | $ssl= "ssleay32"; | ||
6 | $crypto="libeay32"; | ||
7 | |||
8 | $o='\\'; | ||
9 | $cp='copy'; | ||
10 | $rm='del'; | ||
11 | |||
12 | # C compiler stuff | ||
13 | $cc='bcc32'; | ||
14 | $lflags="-ap -Tpe -x -Gn "; | ||
15 | $mlflags=''; | ||
16 | |||
17 | $out_def="out32"; | ||
18 | $tmp_def="tmp32"; | ||
19 | $inc_def="inc32"; | ||
20 | #enable max error messages, disable most common warnings | ||
21 | $cflags="-DWIN32_LEAN_AND_MEAN -q -w-aus -w-par -w-inl -c -tWC -tWM -DOPENSSL_SYSNAME_WIN32 -DL_ENDIAN -DDSO_WIN32 -D_stricmp=stricmp "; | ||
22 | if ($debug) | ||
23 | { | ||
24 | $cflags.="-Od -y -v -vi- -D_DEBUG"; | ||
25 | $mlflags.=' '; | ||
26 | } | ||
27 | else | ||
28 | { | ||
29 | $cflags.="-O2 -ff -fp"; | ||
30 | } | ||
31 | |||
32 | $obj='.obj'; | ||
33 | $ofile="-o"; | ||
34 | |||
35 | # EXE linking stuff | ||
36 | $link="ilink32"; | ||
37 | $efile=""; | ||
38 | $exep='.exe'; | ||
39 | if ($no_sock) | ||
40 | { $ex_libs=""; } | ||
41 | else { $ex_libs="cw32mt.lib import32.lib"; } | ||
42 | |||
43 | # static library stuff | ||
44 | $mklib='tlib /P64'; | ||
45 | $ranlib=''; | ||
46 | $plib=""; | ||
47 | $libp=".lib"; | ||
48 | $shlibp=($shlib)?".dll":".lib"; | ||
49 | $lfile=''; | ||
50 | |||
51 | $shlib_ex_obj=""; | ||
52 | $app_ex_obj="c0x32.obj"; | ||
53 | |||
54 | $asm='nasmw -f obj'; | ||
55 | $asm.=" /Zi" if $debug; | ||
56 | $afile='-o'; | ||
57 | |||
58 | $bn_mulw_obj=''; | ||
59 | $bn_mulw_src=''; | ||
60 | $des_enc_obj=''; | ||
61 | $des_enc_src=''; | ||
62 | $bf_enc_obj=''; | ||
63 | $bf_enc_src=''; | ||
64 | |||
65 | if (!$no_asm) | ||
66 | { | ||
67 | $bn_mulw_obj='crypto\bn\asm\bn_win32.obj'; | ||
68 | $bn_mulw_src='crypto\bn\asm\bn_win32.asm'; | ||
69 | $des_enc_obj='crypto\des\asm\d_win32.obj crypto\des\asm\y_win32.obj'; | ||
70 | $des_enc_src='crypto\des\asm\d_win32.asm crypto\des\asm\y_win32.asm'; | ||
71 | $bf_enc_obj='crypto\bf\asm\b_win32.obj'; | ||
72 | $bf_enc_src='crypto\bf\asm\b_win32.asm'; | ||
73 | $cast_enc_obj='crypto\cast\asm\c_win32.obj'; | ||
74 | $cast_enc_src='crypto\cast\asm\c_win32.asm'; | ||
75 | $rc4_enc_obj='crypto\rc4\asm\r4_win32.obj'; | ||
76 | $rc4_enc_src='crypto\rc4\asm\r4_win32.asm'; | ||
77 | $rc5_enc_obj='crypto\rc5\asm\r5_win32.obj'; | ||
78 | $rc5_enc_src='crypto\rc5\asm\r5_win32.asm'; | ||
79 | $md5_asm_obj='crypto\md5\asm\m5_win32.obj'; | ||
80 | $md5_asm_src='crypto\md5\asm\m5_win32.asm'; | ||
81 | $sha1_asm_obj='crypto\sha\asm\s1_win32.obj'; | ||
82 | $sha1_asm_src='crypto\sha\asm\s1_win32.asm'; | ||
83 | $rmd160_asm_obj='crypto\ripemd\asm\rm_win32.obj'; | ||
84 | $rmd160_asm_src='crypto\ripemd\asm\rm_win32.asm'; | ||
85 | $cflags.=" -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM"; | ||
86 | } | ||
87 | |||
88 | if ($shlib) | ||
89 | { | ||
90 | $mlflags.=" $lflags /dll"; | ||
91 | # $cflags =~ s| /MD| /MT|; | ||
92 | $lib_cflag=" /GD -D_WINDLL -D_DLL"; | ||
93 | $out_def="out32dll"; | ||
94 | $tmp_def="tmp32dll"; | ||
95 | } | ||
96 | |||
97 | sub do_lib_rule | ||
98 | { | ||
99 | local($objs,$target,$name,$shlib)=@_; | ||
100 | local($ret,$Name); | ||
101 | |||
102 | $taget =~ s/\//$o/g if $o ne '/'; | ||
103 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
104 | |||
105 | # $target="\$(LIB_D)$o$target"; | ||
106 | $ret.="$target: $objs\n"; | ||
107 | if (!$shlib) | ||
108 | { | ||
109 | # $ret.="\t\$(RM) \$(O_$Name)\n"; | ||
110 | $ret.="\techo LIB $<\n"; | ||
111 | $ret.="\t&\$(MKLIB) $lfile$target -+\$**\n"; | ||
112 | } | ||
113 | else | ||
114 | { | ||
115 | local($ex)=($target =~ /O_SSL/)?' $(L_CRYPTO)':''; | ||
116 | $ex.=' wsock32.lib gdi32.lib'; | ||
117 | $ret.="\t\$(LINK) \$(MLFLAGS) $efile$target /def:ms/${Name}.def @<<\n \$(SHLIB_EX_OBJ) $objs $ex\n<<\n"; | ||
118 | } | ||
119 | $ret.="\n"; | ||
120 | return($ret); | ||
121 | } | ||
122 | |||
123 | sub do_link_rule | ||
124 | { | ||
125 | local($target,$files,$dep_libs,$libs)=@_; | ||
126 | local($ret,$_); | ||
127 | |||
128 | $file =~ s/\//$o/g if $o ne '/'; | ||
129 | $n=&bname($targer); | ||
130 | $ret.="$target: $files $dep_libs\n"; | ||
131 | $ret.="\t\$(LINK) \$(LFLAGS) $files \$(APP_EX_OBJ), $target,, $libs\n\n"; | ||
132 | return($ret); | ||
133 | } | ||
134 | |||
135 | 1; | ||
diff --git a/src/lib/libcrypto/util/pl/Mingw32.pl b/src/lib/libcrypto/util/pl/Mingw32.pl new file mode 100644 index 0000000000..4bee638c4a --- /dev/null +++ b/src/lib/libcrypto/util/pl/Mingw32.pl | |||
@@ -0,0 +1,104 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # Mingw32.pl -- Mingw | ||
4 | # | ||
5 | |||
6 | $o='/'; | ||
7 | $cp='cp'; | ||
8 | $rm='rm -f'; | ||
9 | $mkdir='gmkdir'; | ||
10 | |||
11 | $o='\\'; | ||
12 | $cp='copy'; | ||
13 | $rm='del'; | ||
14 | $mkdir='mkdir'; | ||
15 | |||
16 | # C compiler stuff | ||
17 | |||
18 | $cc='gcc'; | ||
19 | if ($debug) | ||
20 | { $cflags="-DL_ENDIAN -DDSO_WIN32 -g2 -ggdb"; } | ||
21 | else | ||
22 | { $cflags="-DL_ENDIAN -DDSO_WIN32 -fomit-frame-pointer -O3 -mcpu=i486 -Wall"; } | ||
23 | |||
24 | if ($gaswin and !$no_asm) | ||
25 | { | ||
26 | $bn_asm_obj='$(OBJ_D)\bn-win32.o'; | ||
27 | $bn_asm_src='crypto/bn/asm/bn-win32.s'; | ||
28 | $bnco_asm_obj='$(OBJ_D)\co-win32.o'; | ||
29 | $bnco_asm_src='crypto/bn/asm/co-win32.s'; | ||
30 | $des_enc_obj='$(OBJ_D)\d-win32.o $(OBJ_D)\y-win32.o'; | ||
31 | $des_enc_src='crypto/des/asm/d-win32.s crypto/des/asm/y-win32.s'; | ||
32 | $bf_enc_obj='$(OBJ_D)\b-win32.o'; | ||
33 | $bf_enc_src='crypto/bf/asm/b-win32.s'; | ||
34 | # $cast_enc_obj='$(OBJ_D)\c-win32.o'; | ||
35 | # $cast_enc_src='crypto/cast/asm/c-win32.s'; | ||
36 | $rc4_enc_obj='$(OBJ_D)\r4-win32.o'; | ||
37 | $rc4_enc_src='crypto/rc4/asm/r4-win32.s'; | ||
38 | $rc5_enc_obj='$(OBJ_D)\r5-win32.o'; | ||
39 | $rc5_enc_src='crypto/rc5/asm/r5-win32.s'; | ||
40 | $md5_asm_obj='$(OBJ_D)\m5-win32.o'; | ||
41 | $md5_asm_src='crypto/md5/asm/m5-win32.s'; | ||
42 | $rmd160_asm_obj='$(OBJ_D)\rm-win32.o'; | ||
43 | $rmd160_asm_src='crypto/ripemd/asm/rm-win32.s'; | ||
44 | $sha1_asm_obj='$(OBJ_D)\s1-win32.o'; | ||
45 | $sha1_asm_src='crypto/sha/asm/s1-win32.s'; | ||
46 | $cflags.=" -DBN_ASM -DMD5_ASM -DSHA1_ASM"; | ||
47 | } | ||
48 | |||
49 | |||
50 | $obj='.o'; | ||
51 | $ofile='-o '; | ||
52 | |||
53 | # EXE linking stuff | ||
54 | $link='${CC}'; | ||
55 | $lflags='${CFLAGS}'; | ||
56 | $efile='-o '; | ||
57 | $exep=''; | ||
58 | $ex_libs="-lwsock32 -lgdi32"; | ||
59 | |||
60 | # static library stuff | ||
61 | $mklib='ar r'; | ||
62 | $mlflags=''; | ||
63 | $ranlib='ranlib'; | ||
64 | $plib='lib'; | ||
65 | $libp=".a"; | ||
66 | $shlibp=".a"; | ||
67 | $lfile=''; | ||
68 | |||
69 | $asm='as'; | ||
70 | $afile='-o '; | ||
71 | #$bn_asm_obj=""; | ||
72 | #$bn_asm_src=""; | ||
73 | #$des_enc_obj=""; | ||
74 | #$des_enc_src=""; | ||
75 | #$bf_enc_obj=""; | ||
76 | #$bf_enc_src=""; | ||
77 | |||
78 | sub do_lib_rule | ||
79 | { | ||
80 | local($obj,$target,$name,$shlib)=@_; | ||
81 | local($ret,$_,$Name); | ||
82 | |||
83 | $target =~ s/\//$o/g if $o ne '/'; | ||
84 | $target="$target"; | ||
85 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
86 | |||
87 | $ret.="$target: \$(${Name}OBJ)\n"; | ||
88 | $ret.="\tif exist $target \$(RM) $target\n"; | ||
89 | $ret.="\t\$(MKLIB) $target \$(${Name}OBJ)\n"; | ||
90 | $ret.="\t\$(RANLIB) $target\n\n"; | ||
91 | } | ||
92 | |||
93 | sub do_link_rule | ||
94 | { | ||
95 | local($target,$files,$dep_libs,$libs)=@_; | ||
96 | local($ret,$_); | ||
97 | |||
98 | $file =~ s/\//$o/g if $o ne '/'; | ||
99 | $n=&bname($target); | ||
100 | $ret.="$target: $files $dep_libs\n"; | ||
101 | $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n"; | ||
102 | return($ret); | ||
103 | } | ||
104 | 1; | ||
diff --git a/src/lib/libcrypto/util/pl/OS2-EMX.pl b/src/lib/libcrypto/util/pl/OS2-EMX.pl new file mode 100644 index 0000000000..ddb3524210 --- /dev/null +++ b/src/lib/libcrypto/util/pl/OS2-EMX.pl | |||
@@ -0,0 +1,119 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # OS2-EMX.pl - for EMX GCC on OS/2 | ||
4 | # | ||
5 | |||
6 | $o='/'; | ||
7 | $cp='cp'; | ||
8 | $rm='rm -f'; | ||
9 | |||
10 | $preamble = "SHELL=sh\n"; | ||
11 | |||
12 | # C compiler stuff | ||
13 | |||
14 | $cc='gcc'; | ||
15 | $cflags="-DL_ENDIAN -O3 -fomit-frame-pointer -m486 -Zmtd -Wall "; | ||
16 | $cflags.="-Zomf " if $shlib; | ||
17 | $shl_cflag="-Zdll"; | ||
18 | |||
19 | if ($debug) { | ||
20 | $cflags.="-g "; | ||
21 | } | ||
22 | |||
23 | $obj=$shlib ? '.obj' : '.o'; | ||
24 | $ofile='-o '; | ||
25 | |||
26 | # EXE linking stuff | ||
27 | $link='${CC}'; | ||
28 | $lflags='${CFLAGS} -Zbsd-signals -s'; | ||
29 | $efile='-o '; | ||
30 | $exep='.exe'; | ||
31 | $ex_libs="-lsocket"; | ||
32 | |||
33 | # static library stuff | ||
34 | $mklib='ar r'; | ||
35 | $mlflags=''; | ||
36 | $ranlib="ar s"; | ||
37 | $plib=''; | ||
38 | $libp=$shlib ? ".lib" : ".a"; | ||
39 | $shlibp=$shlib ? ".dll" : ".a"; | ||
40 | $lfile=''; | ||
41 | |||
42 | $asm=$shlib ? 'as -Zomf' : 'as'; | ||
43 | $afile='-o '; | ||
44 | $bn_asm_obj=""; | ||
45 | $bn_asm_src=""; | ||
46 | $des_enc_obj=""; | ||
47 | $des_enc_src=""; | ||
48 | $bf_enc_obj=""; | ||
49 | $bf_enc_src=""; | ||
50 | |||
51 | if (!$no_asm) | ||
52 | { | ||
53 | $bn_asm_obj="crypto/bn/asm/bn-os2$obj crypto/bn/asm/co-os2$obj"; | ||
54 | $bn_asm_src="crypto/bn/asm/bn-os2.asm crypto/bn/asm/co-os2.asm"; | ||
55 | $des_enc_obj="crypto/des/asm/d-os2$obj crypto/des/asm/y-os2$obj"; | ||
56 | $des_enc_src="crypto/des/asm/d-os2.asm crypto/des/asm/y-os2.asm"; | ||
57 | $bf_enc_obj="crypto/bf/asm/b-os2$obj"; | ||
58 | $bf_enc_src="crypto/bf/asm/b-os2.asm"; | ||
59 | $cast_enc_obj="crypto/cast/asm/c-os2$obj"; | ||
60 | $cast_enc_src="crypto/cast/asm/c-os2.asm"; | ||
61 | $rc4_enc_obj="crypto/rc4/asm/r4-os2$obj"; | ||
62 | $rc4_enc_src="crypto/rc4/asm/r4-os2.asm"; | ||
63 | $rc5_enc_obj="crypto/rc5/asm/r5-os2$obj"; | ||
64 | $rc5_enc_src="crypto/rc5/asm/r5-os2.asm"; | ||
65 | $md5_asm_obj="crypto/md5/asm/m5-os2$obj"; | ||
66 | $md5_asm_src="crypto/md5/asm/m5-os2.asm"; | ||
67 | $sha1_asm_obj="crypto/sha/asm/s1-os2$obj"; | ||
68 | $sha1_asm_src="crypto/sha/asm/s1-os2.asm"; | ||
69 | $rmd160_asm_obj="crypto/ripemd/asm/rm-os2$obj"; | ||
70 | $rmd160_asm_src="crypto/ripemd/asm/rm-os2.asm"; | ||
71 | } | ||
72 | |||
73 | if ($shlib) | ||
74 | { | ||
75 | $mlflags.=" $lflags -Zdll"; | ||
76 | $lib_cflag=" -D_DLL"; | ||
77 | $out_def="out_dll"; | ||
78 | $tmp_def="tmp_dll"; | ||
79 | } | ||
80 | |||
81 | sub do_lib_rule | ||
82 | { | ||
83 | local($obj,$target,$name,$shlib)=@_; | ||
84 | local($ret,$_,$Name); | ||
85 | |||
86 | $target =~ s/\//$o/g if $o ne '/'; | ||
87 | $target="$target"; | ||
88 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
89 | |||
90 | $ret.="$target: \$(${Name}OBJ)\n"; | ||
91 | if (!$shlib) | ||
92 | { | ||
93 | $ret.="\t\$(RM) $target\n"; | ||
94 | $ret.="\t\$(MKLIB) $target \$(${Name}OBJ)\n"; | ||
95 | $ret.="\t\$(RANLIB) $target\n\n"; | ||
96 | } | ||
97 | else | ||
98 | { | ||
99 | local($ex)=($target =~ /O_SSL/)?' $(L_CRYPTO)':''; | ||
100 | $ex.=' -lsocket'; | ||
101 | $ret.="\t\$(LINK) \$(SHLIB_CFLAGS) \$(MLFLAGS) $efile$target \$(SHLIB_EX_OBJ) \$(${Name}OBJ) $ex os2/${Name}.def\n"; | ||
102 | $ret.="\temximp -o $out_def/$name.a os2/${Name}.def\n"; | ||
103 | $ret.="\temximp -o $out_def/$name.lib os2/${Name}.def\n\n"; | ||
104 | } | ||
105 | } | ||
106 | |||
107 | sub do_link_rule | ||
108 | { | ||
109 | local($target,$files,$dep_libs,$libs)=@_; | ||
110 | local($ret,$_); | ||
111 | |||
112 | $file =~ s/\//$o/g if $o ne '/'; | ||
113 | $n=&bname($target); | ||
114 | $ret.="$target: $files $dep_libs\n"; | ||
115 | $ret.="\t\$(LINK) ${efile}$target \$(CFLAG) \$(LFLAGS) $files $libs\n\n"; | ||
116 | return($ret); | ||
117 | } | ||
118 | |||
119 | 1; | ||
diff --git a/src/lib/libcrypto/util/pl/VC-16.pl b/src/lib/libcrypto/util/pl/VC-16.pl new file mode 100644 index 0000000000..7cda5e67a9 --- /dev/null +++ b/src/lib/libcrypto/util/pl/VC-16.pl | |||
@@ -0,0 +1,172 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # VCw16lib.pl - the file for Visual C++ 1.52b for windows, static libraries | ||
3 | # | ||
4 | |||
5 | $ssl= "ssleay16"; | ||
6 | $crypto="libeay16"; | ||
7 | |||
8 | $o='\\'; | ||
9 | $cp='copy'; | ||
10 | $rm='del'; | ||
11 | |||
12 | # C compiler stuff | ||
13 | $cc='cl'; | ||
14 | |||
15 | $out_def="out16"; | ||
16 | $tmp_def="tmp16"; | ||
17 | $inc_def="inc16"; | ||
18 | |||
19 | if ($debug) | ||
20 | { | ||
21 | $op="/Od /Zi /Zd"; | ||
22 | $base_lflags="/CO"; | ||
23 | } | ||
24 | else { | ||
25 | $op="/G2 /f- /Ocgnotb2"; | ||
26 | } | ||
27 | $base_lflags.=" /FARCALL /NOLOGO /NOD /SEG:1024 /ONERROR:NOEXE /NOE /PACKC:60000"; | ||
28 | if ($win16) { $base_lflags.=" /PACKD:60000"; } | ||
29 | |||
30 | $cflags="/ALw /Gx- /Gt256 /Gf $op /W3 /WX -DL_ENDIAN /nologo"; | ||
31 | # I add the stack opt | ||
32 | $lflags="$base_lflags /STACK:20000"; | ||
33 | |||
34 | if ($win16) | ||
35 | { | ||
36 | $cflags.=" -DOPENSSL_SYSNAME_WIN16"; | ||
37 | $app_cflag="/Gw /FPi87"; | ||
38 | $lib_cflag="/Gw"; | ||
39 | $lib_cflag.=" -D_WINDLL -D_DLL" if $shlib; | ||
40 | $lib_cflag.=" -DWIN16TTY" if !$shlib; | ||
41 | $lflags.=" /ALIGN:256"; | ||
42 | $ex_libs.="oldnames llibcewq libw"; | ||
43 | } | ||
44 | else | ||
45 | { | ||
46 | $no_sock=1; | ||
47 | $cflags.=" -DMSDOS"; | ||
48 | $lflags.=" /EXEPACK"; | ||
49 | $ex_libs.="oldnames.lib llibce.lib"; | ||
50 | } | ||
51 | |||
52 | if ($shlib) | ||
53 | { | ||
54 | $mlflags="$base_lflags"; | ||
55 | $libs="oldnames ldllcew libw"; | ||
56 | $shlib_ex_obj=""; | ||
57 | # $no_asm=1; | ||
58 | $out_def="out16dll"; | ||
59 | $tmp_def="tmp16dll"; | ||
60 | } | ||
61 | else | ||
62 | { $mlflags=''; } | ||
63 | |||
64 | $app_ex_obj="setargv.obj"; | ||
65 | |||
66 | $obj='.obj'; | ||
67 | $ofile="/Fo"; | ||
68 | |||
69 | # EXE linking stuff | ||
70 | $link="link"; | ||
71 | $efile=""; | ||
72 | $exep='.exe'; | ||
73 | $ex_libs.=$no_sock?"":" winsock"; | ||
74 | |||
75 | # static library stuff | ||
76 | $mklib='lib /PAGESIZE:1024'; | ||
77 | $ranlib=''; | ||
78 | $plib=""; | ||
79 | $libp=".lib"; | ||
80 | $shlibp=($shlib)?".dll":".lib"; | ||
81 | $lfile=''; | ||
82 | |||
83 | $asm='ml /Cp /c /Cx'; | ||
84 | $afile='/Fo'; | ||
85 | |||
86 | $bn_asm_obj=''; | ||
87 | $bn_asm_src=''; | ||
88 | $des_enc_obj=''; | ||
89 | $des_enc_src=''; | ||
90 | $bf_enc_obj=''; | ||
91 | $bf_enc_src=''; | ||
92 | |||
93 | if (!$no_asm) | ||
94 | { | ||
95 | if ($asmbits == 32) | ||
96 | { | ||
97 | $bn_asm_obj='crypto\bn\asm\x86w32.obj'; | ||
98 | $bn_asm_src='crypto\bn\asm\x86w32.asm'; | ||
99 | } | ||
100 | else | ||
101 | { | ||
102 | $bn_asm_obj='crypto\bn\asm\x86w16.obj'; | ||
103 | $bn_asm_src='crypto\bn\asm\x86w16.asm'; | ||
104 | } | ||
105 | } | ||
106 | |||
107 | sub do_lib_rule | ||
108 | { | ||
109 | local($objs,$target,$name,$shlib)=@_; | ||
110 | local($ret,$Name); | ||
111 | |||
112 | $taget =~ s/\//$o/g if $o ne '/'; | ||
113 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
114 | |||
115 | # $target="\$(LIB_D)$o$target"; | ||
116 | $ret.="$target: $objs\n"; | ||
117 | # $ret.="\t\$(RM) \$(O_$Name)\n"; | ||
118 | |||
119 | # Due to a pathetic line length limit, I unwrap the args. | ||
120 | local($lib_names)=""; | ||
121 | local($dll_names)=" \$(SHLIB_EX_OBJ) +\n"; | ||
122 | ($obj)= ($objs =~ /\((.*)\)/); | ||
123 | foreach $_ (sort split(/\s+/,$Vars{$obj})) | ||
124 | { | ||
125 | $lib_names.="+$_ &\n"; | ||
126 | $dll_names.=" $_ +\n"; | ||
127 | } | ||
128 | |||
129 | if (!$shlib) | ||
130 | { | ||
131 | $ret.="\tdel $target\n"; | ||
132 | $ret.="\t\$(MKLIB) @<<\n$target\ny\n$lib_names\n\n<<\n"; | ||
133 | } | ||
134 | else | ||
135 | { | ||
136 | local($ex)=($target =~ /O_SSL/)?'$(L_CRYPTO)':""; | ||
137 | $ex.=' winsock'; | ||
138 | $ret.="\t\$(LINK) \$(MLFLAGS) @<<\n"; | ||
139 | $ret.=$dll_names; | ||
140 | $ret.="\n $target\n\n $ex $libs\nms$o${name}.def;\n<<\n"; | ||
141 | ($out_lib=$target) =~ s/O_/L_/; | ||
142 | $ret.="\timplib /noignorecase /nowep $out_lib $target\n"; | ||
143 | } | ||
144 | $ret.="\n"; | ||
145 | return($ret); | ||
146 | } | ||
147 | |||
148 | sub do_link_rule | ||
149 | { | ||
150 | local($target,$files,$dep_libs,$libs)=@_; | ||
151 | local($ret,$f,$_,@f); | ||
152 | |||
153 | $file =~ s/\//$o/g if $o ne '/'; | ||
154 | $n=&bname($targer); | ||
155 | $ret.="$target: $files $dep_libs\n"; | ||
156 | $ret.=" \$(LINK) \$(LFLAGS) @<<\n"; | ||
157 | |||
158 | # Due to a pathetic line length limit, I have to unwrap the args. | ||
159 | if ($files =~ /\(([^)]*)\)$/) | ||
160 | { | ||
161 | @a=('$(APP_EX_OBJ)'); | ||
162 | push(@a,sort split(/\s+/,$Vars{$1})); | ||
163 | for $_ (@a) | ||
164 | { $ret.=" $_ +\n"; } | ||
165 | } | ||
166 | else | ||
167 | { $ret.=" \$(APP_EX_OBJ) $files"; } | ||
168 | $ret.="\n $target\n\n $libs\n\n<<\n\n"; | ||
169 | return($ret); | ||
170 | } | ||
171 | |||
172 | 1; | ||
diff --git a/src/lib/libcrypto/util/pl/VC-32.pl b/src/lib/libcrypto/util/pl/VC-32.pl new file mode 100644 index 0000000000..285990c589 --- /dev/null +++ b/src/lib/libcrypto/util/pl/VC-32.pl | |||
@@ -0,0 +1,140 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # VCw32lib.pl - the file for Visual C++ 4.[01] for windows NT, static libraries | ||
3 | # | ||
4 | |||
5 | $ssl= "ssleay32"; | ||
6 | $crypto="libeay32"; | ||
7 | |||
8 | $o='\\'; | ||
9 | $cp='copy nul+'; # Timestamps get stuffed otherwise | ||
10 | $rm='del'; | ||
11 | |||
12 | # C compiler stuff | ||
13 | $cc='cl'; | ||
14 | $cflags=' /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32'; | ||
15 | $lflags="/nologo /subsystem:console /machine:I386 /opt:ref"; | ||
16 | $mlflags=''; | ||
17 | |||
18 | $out_def="out32"; | ||
19 | $tmp_def="tmp32"; | ||
20 | $inc_def="inc32"; | ||
21 | |||
22 | if ($debug) | ||
23 | { | ||
24 | $cflags=" /MDd /W3 /WX /Zi /Yd /Od /nologo -DOPENSSL_SYSNAME_WIN32 -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DDEBUG -DDSO_WIN32"; | ||
25 | $lflags.=" /debug"; | ||
26 | $mlflags.=' /debug'; | ||
27 | } | ||
28 | $cflags .= " -DOPENSSL_SYSNAME_WINNT" if $NT == 1; | ||
29 | |||
30 | $obj='.obj'; | ||
31 | $ofile="/Fo"; | ||
32 | |||
33 | # EXE linking stuff | ||
34 | $link="link"; | ||
35 | $efile="/out:"; | ||
36 | $exep='.exe'; | ||
37 | if ($no_sock) | ||
38 | { $ex_libs=""; } | ||
39 | else { $ex_libs="wsock32.lib user32.lib gdi32.lib"; } | ||
40 | |||
41 | # static library stuff | ||
42 | $mklib='lib'; | ||
43 | $ranlib=''; | ||
44 | $plib=""; | ||
45 | $libp=".lib"; | ||
46 | $shlibp=($shlib)?".dll":".lib"; | ||
47 | $lfile='/out:'; | ||
48 | |||
49 | $shlib_ex_obj=""; | ||
50 | $app_ex_obj="setargv.obj"; | ||
51 | if ($nasm) { | ||
52 | $asm='nasmw -f win32'; | ||
53 | $afile='-o '; | ||
54 | } else { | ||
55 | $asm='ml /Cp /coff /c /Cx'; | ||
56 | $asm.=" /Zi" if $debug; | ||
57 | $afile='/Fo'; | ||
58 | } | ||
59 | |||
60 | $bn_asm_obj=''; | ||
61 | $bn_asm_src=''; | ||
62 | $des_enc_obj=''; | ||
63 | $des_enc_src=''; | ||
64 | $bf_enc_obj=''; | ||
65 | $bf_enc_src=''; | ||
66 | |||
67 | if (!$no_asm) | ||
68 | { | ||
69 | $bn_asm_obj='crypto\bn\asm\bn_win32.obj'; | ||
70 | $bn_asm_src='crypto\bn\asm\bn_win32.asm'; | ||
71 | $des_enc_obj='crypto\des\asm\d_win32.obj crypto\des\asm\y_win32.obj'; | ||
72 | $des_enc_src='crypto\des\asm\d_win32.asm crypto\des\asm\y_win32.asm'; | ||
73 | $bf_enc_obj='crypto\bf\asm\b_win32.obj'; | ||
74 | $bf_enc_src='crypto\bf\asm\b_win32.asm'; | ||
75 | $cast_enc_obj='crypto\cast\asm\c_win32.obj'; | ||
76 | $cast_enc_src='crypto\cast\asm\c_win32.asm'; | ||
77 | $rc4_enc_obj='crypto\rc4\asm\r4_win32.obj'; | ||
78 | $rc4_enc_src='crypto\rc4\asm\r4_win32.asm'; | ||
79 | $rc5_enc_obj='crypto\rc5\asm\r5_win32.obj'; | ||
80 | $rc5_enc_src='crypto\rc5\asm\r5_win32.asm'; | ||
81 | $md5_asm_obj='crypto\md5\asm\m5_win32.obj'; | ||
82 | $md5_asm_src='crypto\md5\asm\m5_win32.asm'; | ||
83 | $sha1_asm_obj='crypto\sha\asm\s1_win32.obj'; | ||
84 | $sha1_asm_src='crypto\sha\asm\s1_win32.asm'; | ||
85 | $rmd160_asm_obj='crypto\ripemd\asm\rm_win32.obj'; | ||
86 | $rmd160_asm_src='crypto\ripemd\asm\rm_win32.asm'; | ||
87 | $cflags.=" -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM"; | ||
88 | } | ||
89 | |||
90 | if ($shlib) | ||
91 | { | ||
92 | $mlflags.=" $lflags /dll"; | ||
93 | # $cflags =~ s| /MD| /MT|; | ||
94 | $lib_cflag=" -D_WINDLL"; | ||
95 | $out_def="out32dll"; | ||
96 | $tmp_def="tmp32dll"; | ||
97 | } | ||
98 | |||
99 | $cflags.=" /Fd$out_def"; | ||
100 | |||
101 | sub do_lib_rule | ||
102 | { | ||
103 | local($objs,$target,$name,$shlib)=@_; | ||
104 | local($ret,$Name); | ||
105 | |||
106 | $taget =~ s/\//$o/g if $o ne '/'; | ||
107 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
108 | |||
109 | # $target="\$(LIB_D)$o$target"; | ||
110 | $ret.="$target: $objs\n"; | ||
111 | if (!$shlib) | ||
112 | { | ||
113 | # $ret.="\t\$(RM) \$(O_$Name)\n"; | ||
114 | $ex =' advapi32.lib'; | ||
115 | $ret.="\t\$(MKLIB) $lfile$target @<<\n $objs $ex\n<<\n"; | ||
116 | } | ||
117 | else | ||
118 | { | ||
119 | local($ex)=($target =~ /O_SSL/)?' $(L_CRYPTO)':''; | ||
120 | $ex.=' wsock32.lib gdi32.lib advapi32.lib'; | ||
121 | $ret.="\t\$(LINK) \$(MLFLAGS) $efile$target /def:ms/${Name}.def @<<\n \$(SHLIB_EX_OBJ) $objs $ex\n<<\n"; | ||
122 | } | ||
123 | $ret.="\n"; | ||
124 | return($ret); | ||
125 | } | ||
126 | |||
127 | sub do_link_rule | ||
128 | { | ||
129 | local($target,$files,$dep_libs,$libs)=@_; | ||
130 | local($ret,$_); | ||
131 | |||
132 | $file =~ s/\//$o/g if $o ne '/'; | ||
133 | $n=&bname($targer); | ||
134 | $ret.="$target: $files $dep_libs\n"; | ||
135 | $ret.=" \$(LINK) \$(LFLAGS) $efile$target @<<\n"; | ||
136 | $ret.=" \$(APP_EX_OBJ) $files $libs\n<<\n\n"; | ||
137 | return($ret); | ||
138 | } | ||
139 | |||
140 | 1; | ||
diff --git a/src/lib/libcrypto/util/pl/VC-CE.pl b/src/lib/libcrypto/util/pl/VC-CE.pl new file mode 100644 index 0000000000..2fd0c4dd32 --- /dev/null +++ b/src/lib/libcrypto/util/pl/VC-CE.pl | |||
@@ -0,0 +1,116 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # VC-CE.pl - the file for eMbedded Visual C++ 3.0 for windows CE, static libraries | ||
3 | # | ||
4 | |||
5 | $ssl= "ssleay32"; | ||
6 | $crypto="libeay32"; | ||
7 | $RSAref="RSAref32"; | ||
8 | |||
9 | $o='\\'; | ||
10 | $cp='copy nul+'; # Timestamps get stuffed otherwise | ||
11 | $rm='del'; | ||
12 | |||
13 | # C compiler stuff | ||
14 | $cc='$(CC)'; | ||
15 | $cflags=' /W3 /WX /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo $(WCETARGETDEFS) -DUNICODE -D_UNICODE -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -I$(WCECOMPAT)/include'; | ||
16 | $lflags='/nologo /subsystem:windowsce,$(WCELDVERSION) /machine:$(WCELDMACHINE) /opt:ref'; | ||
17 | $mlflags=''; | ||
18 | |||
19 | $out_def='out32_$(TARGETCPU)'; | ||
20 | $tmp_def='tmp32_$(TARGETCPU)'; | ||
21 | $inc_def="inc32"; | ||
22 | |||
23 | if ($debug) | ||
24 | { | ||
25 | $cflags=" /MDd /W3 /WX /Zi /Yd /Od /nologo -DWIN32 -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DDEBUG -DDSO_WIN32"; | ||
26 | $lflags.=" /debug"; | ||
27 | $mlflags.=' /debug'; | ||
28 | } | ||
29 | |||
30 | $obj='.obj'; | ||
31 | $ofile="/Fo"; | ||
32 | |||
33 | # EXE linking stuff | ||
34 | $link="link"; | ||
35 | $efile="/out:"; | ||
36 | $exep='.exe'; | ||
37 | if ($no_sock) | ||
38 | { $ex_libs=""; } | ||
39 | else { $ex_libs='winsock.lib $(WCECOMPAT)/lib/wcecompatex.lib $(WCELDFLAGS)'; } | ||
40 | |||
41 | # static library stuff | ||
42 | $mklib='lib'; | ||
43 | $ranlib=''; | ||
44 | $plib=""; | ||
45 | $libp=".lib"; | ||
46 | $shlibp=($shlib)?".dll":".lib"; | ||
47 | $lfile='/out:'; | ||
48 | |||
49 | $shlib_ex_obj=""; | ||
50 | $app_ex_obj=""; | ||
51 | $app_ex_obj=""; | ||
52 | |||
53 | $bn_asm_obj=''; | ||
54 | $bn_asm_src=''; | ||
55 | $des_enc_obj=''; | ||
56 | $des_enc_src=''; | ||
57 | $bf_enc_obj=''; | ||
58 | $bf_enc_src=''; | ||
59 | |||
60 | if ($shlib) | ||
61 | { | ||
62 | $mlflags.=" $lflags /dll"; | ||
63 | # $cflags =~ s| /MD| /MT|; | ||
64 | $lib_cflag=" -D_WINDLL -D_DLL"; | ||
65 | $out_def='out32dll_$(TARGETCPU)'; | ||
66 | $tmp_def='tmp32dll_$(TARGETCPU)'; | ||
67 | } | ||
68 | |||
69 | $cflags.=" /Fd$out_def"; | ||
70 | |||
71 | sub do_lib_rule | ||
72 | { | ||
73 | local($objs,$target,$name,$shlib)=@_; | ||
74 | local($ret,$Name); | ||
75 | |||
76 | $taget =~ s/\//$o/g if $o ne '/'; | ||
77 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
78 | |||
79 | # $target="\$(LIB_D)$o$target"; | ||
80 | $ret.="$target: $objs\n"; | ||
81 | if (!$shlib) | ||
82 | { | ||
83 | # $ret.="\t\$(RM) \$(O_$Name)\n"; | ||
84 | $ex =' '; | ||
85 | $ret.="\t\$(MKLIB) $lfile$target @<<\n $objs $ex\n<<\n"; | ||
86 | } | ||
87 | else | ||
88 | { | ||
89 | local($ex)=($target =~ /O_SSL/)?' $(L_CRYPTO)':''; | ||
90 | # $ex.=' winsock.lib coredll.lib $(WCECOMPAT)/lib/wcecompatex.lib'; | ||
91 | $ex.=' winsock.lib $(WCECOMPAT)/lib/wcecompatex.lib'; | ||
92 | $ret.="\t\$(LINK) \$(MLFLAGS) $efile$target /def:ms/${Name}.def @<<\n \$(SHLIB_EX_OBJ) $objs $ex\n<<\n"; | ||
93 | } | ||
94 | $ret.="\n"; | ||
95 | return($ret); | ||
96 | } | ||
97 | |||
98 | sub do_link_rule | ||
99 | { | ||
100 | local($target,$files,$dep_libs,$libs,$sha1file,$openssl)=@_; | ||
101 | local($ret,$_); | ||
102 | |||
103 | $file =~ s/\//$o/g if $o ne '/'; | ||
104 | $n=&bname($targer); | ||
105 | $ret.="$target: $files $dep_libs\n"; | ||
106 | $ret.=" \$(LINK) \$(LFLAGS) $efile$target @<<\n"; | ||
107 | $ret.=" \$(APP_EX_OBJ) $files $libs\n<<\n"; | ||
108 | if (defined $sha1file) | ||
109 | { | ||
110 | $ret.=" $openssl sha1 -hmac etaonrishdlcupfm -binary $target > $sha1file"; | ||
111 | } | ||
112 | $ret.="\n"; | ||
113 | return($ret); | ||
114 | } | ||
115 | |||
116 | 1; | ||
diff --git a/src/lib/libcrypto/util/pl/linux.pl b/src/lib/libcrypto/util/pl/linux.pl new file mode 100644 index 0000000000..8924ed5480 --- /dev/null +++ b/src/lib/libcrypto/util/pl/linux.pl | |||
@@ -0,0 +1,104 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # linux.pl - the standard unix makefile stuff. | ||
4 | # | ||
5 | |||
6 | $o='/'; | ||
7 | $cp='/bin/cp'; | ||
8 | $rm='/bin/rm -f'; | ||
9 | |||
10 | # C compiler stuff | ||
11 | |||
12 | $cc='gcc'; | ||
13 | if ($debug) | ||
14 | { $cflags="-g2 -ggdb -DREF_CHECK -DCRYPTO_MDEBUG"; } | ||
15 | elsif ($profile) | ||
16 | { $cflags="-pg -O3"; } | ||
17 | else | ||
18 | { $cflags="-O3 -fomit-frame-pointer"; } | ||
19 | |||
20 | if (!$no_asm) | ||
21 | { | ||
22 | $bn_asm_obj='$(OBJ_D)/bn86-elf.o'; | ||
23 | $bn_asm_src='crypto/bn/asm/bn86unix.cpp'; | ||
24 | $bnco_asm_obj='$(OBJ_D)/co86-elf.o'; | ||
25 | $bnco_asm_src='crypto/bn/asm/co86unix.cpp'; | ||
26 | $des_enc_obj='$(OBJ_D)/dx86-elf.o $(OBJ_D)/yx86-elf.o'; | ||
27 | $des_enc_src='crypto/des/asm/dx86unix.cpp crypto/des/asm/yx86unix.cpp'; | ||
28 | $bf_enc_obj='$(OBJ_D)/bx86-elf.o'; | ||
29 | $bf_enc_src='crypto/bf/asm/bx86unix.cpp'; | ||
30 | $cast_enc_obj='$(OBJ_D)/cx86-elf.o'; | ||
31 | $cast_enc_src='crypto/cast/asm/cx86unix.cpp'; | ||
32 | $rc4_enc_obj='$(OBJ_D)/rx86-elf.o'; | ||
33 | $rc4_enc_src='crypto/rc4/asm/rx86unix.cpp'; | ||
34 | $rc5_enc_obj='$(OBJ_D)/r586-elf.o'; | ||
35 | $rc5_enc_src='crypto/rc5/asm/r586unix.cpp'; | ||
36 | $md5_asm_obj='$(OBJ_D)/mx86-elf.o'; | ||
37 | $md5_asm_src='crypto/md5/asm/mx86unix.cpp'; | ||
38 | $rmd160_asm_obj='$(OBJ_D)/rm86-elf.o'; | ||
39 | $rmd160_asm_src='crypto/ripemd/asm/rm86unix.cpp'; | ||
40 | $sha1_asm_obj='$(OBJ_D)/sx86-elf.o'; | ||
41 | $sha1_asm_src='crypto/sha/asm/sx86unix.cpp'; | ||
42 | $cflags.=" -DBN_ASM -DMD5_ASM -DSHA1_ASM"; | ||
43 | } | ||
44 | |||
45 | $cflags.=" -DTERMIO -DL_ENDIAN -m486 -Wall"; | ||
46 | |||
47 | if ($shlib) | ||
48 | { | ||
49 | $shl_cflag=" -DPIC -fpic"; | ||
50 | $shlibp=".so.$ssl_version"; | ||
51 | $so_shlibp=".so"; | ||
52 | } | ||
53 | |||
54 | sub do_shlib_rule | ||
55 | { | ||
56 | local($obj,$target,$name,$shlib,$so_name)=@_; | ||
57 | local($ret,$_,$Name); | ||
58 | |||
59 | $target =~ s/\//$o/g if $o ne '/'; | ||
60 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
61 | |||
62 | $ret.="$target: \$(${Name}OBJ)\n"; | ||
63 | $ret.="\t\$(RM) target\n"; | ||
64 | $ret.="\tgcc \${CFLAGS} -shared -Wl,-soname,$target -o $target \$(${Name}OBJ)\n"; | ||
65 | ($t=$target) =~ s/(^.*)\/[^\/]*$/$1/; | ||
66 | if ($so_name ne "") | ||
67 | { | ||
68 | $ret.="\t\$(RM) \$(LIB_D)$o$so_name\n"; | ||
69 | $ret.="\tln -s $target \$(LIB_D)$o$so_name\n\n"; | ||
70 | } | ||
71 | } | ||
72 | |||
73 | sub do_link_rule | ||
74 | { | ||
75 | local($target,$files,$dep_libs,$libs)=@_; | ||
76 | local($ret,$_); | ||
77 | |||
78 | $file =~ s/\//$o/g if $o ne '/'; | ||
79 | $n=&bname($target); | ||
80 | $ret.="$target: $files $dep_libs\n"; | ||
81 | $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n"; | ||
82 | return($ret); | ||
83 | } | ||
84 | |||
85 | sub do_asm_rule | ||
86 | { | ||
87 | local($target,$src)=@_; | ||
88 | local($ret,@s,@t,$i); | ||
89 | |||
90 | $target =~ s/\//$o/g if $o ne "/"; | ||
91 | $src =~ s/\//$o/g if $o ne "/"; | ||
92 | |||
93 | @s=split(/\s+/,$src); | ||
94 | @t=split(/\s+/,$target); | ||
95 | |||
96 | for ($i=0; $i<=$#s; $i++) | ||
97 | { | ||
98 | $ret.="$t[$i]: $s[$i]\n"; | ||
99 | $ret.="\tgcc -E -DELF \$(SRC_D)$o$s[$i]|\$(AS) $afile$t[$i]\n\n"; | ||
100 | } | ||
101 | return($ret); | ||
102 | } | ||
103 | |||
104 | 1; | ||
diff --git a/src/lib/libcrypto/util/pl/ultrix.pl b/src/lib/libcrypto/util/pl/ultrix.pl new file mode 100644 index 0000000000..ea370c71f9 --- /dev/null +++ b/src/lib/libcrypto/util/pl/ultrix.pl | |||
@@ -0,0 +1,38 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # linux.pl - the standard unix makefile stuff. | ||
4 | # | ||
5 | |||
6 | $o='/'; | ||
7 | $cp='/bin/cp'; | ||
8 | $rm='/bin/rm -f'; | ||
9 | |||
10 | # C compiler stuff | ||
11 | |||
12 | $cc='cc'; | ||
13 | if ($debug) | ||
14 | { $cflags="-g -DREF_CHECK -DCRYPTO_MDEBUG"; } | ||
15 | else | ||
16 | { $cflags="-O2"; } | ||
17 | |||
18 | $cflags.=" -std1 -DL_ENDIAN"; | ||
19 | |||
20 | if (!$no_asm) | ||
21 | { | ||
22 | $bn_asm_obj='$(OBJ_D)/mips1.o'; | ||
23 | $bn_asm_src='crypto/bn/asm/mips1.s'; | ||
24 | } | ||
25 | |||
26 | sub do_link_rule | ||
27 | { | ||
28 | local($target,$files,$dep_libs,$libs)=@_; | ||
29 | local($ret,$_); | ||
30 | |||
31 | $file =~ s/\//$o/g if $o ne '/'; | ||
32 | $n=&bname($target); | ||
33 | $ret.="$target: $files $dep_libs\n"; | ||
34 | $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n"; | ||
35 | return($ret); | ||
36 | } | ||
37 | |||
38 | 1; | ||
diff --git a/src/lib/libcrypto/util/pl/unix.pl b/src/lib/libcrypto/util/pl/unix.pl new file mode 100644 index 0000000000..146611ad99 --- /dev/null +++ b/src/lib/libcrypto/util/pl/unix.pl | |||
@@ -0,0 +1,96 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # unix.pl - the standard unix makefile stuff. | ||
4 | # | ||
5 | |||
6 | $o='/'; | ||
7 | $cp='/bin/cp'; | ||
8 | $rm='/bin/rm -f'; | ||
9 | |||
10 | # C compiler stuff | ||
11 | |||
12 | if ($gcc) | ||
13 | { | ||
14 | $cc='gcc'; | ||
15 | if ($debug) | ||
16 | { $cflags="-g2 -ggdb"; } | ||
17 | else | ||
18 | { $cflags="-O3 -fomit-frame-pointer"; } | ||
19 | } | ||
20 | else | ||
21 | { | ||
22 | $cc='cc'; | ||
23 | if ($debug) | ||
24 | { $cflags="-g"; } | ||
25 | else | ||
26 | { $cflags="-O"; } | ||
27 | } | ||
28 | $obj='.o'; | ||
29 | $ofile='-o '; | ||
30 | |||
31 | # EXE linking stuff | ||
32 | $link='${CC}'; | ||
33 | $lflags='${CFLAGS}'; | ||
34 | $efile='-o '; | ||
35 | $exep=''; | ||
36 | $ex_libs=""; | ||
37 | |||
38 | # static library stuff | ||
39 | $mklib='ar r'; | ||
40 | $mlflags=''; | ||
41 | $ranlib=&which("ranlib") or $ranlib="true"; | ||
42 | $plib='lib'; | ||
43 | $libp=".a"; | ||
44 | $shlibp=".a"; | ||
45 | $lfile=''; | ||
46 | |||
47 | $asm='as'; | ||
48 | $afile='-o '; | ||
49 | $bn_asm_obj=""; | ||
50 | $bn_asm_src=""; | ||
51 | $des_enc_obj=""; | ||
52 | $des_enc_src=""; | ||
53 | $bf_enc_obj=""; | ||
54 | $bf_enc_src=""; | ||
55 | |||
56 | sub do_lib_rule | ||
57 | { | ||
58 | local($obj,$target,$name,$shlib)=@_; | ||
59 | local($ret,$_,$Name); | ||
60 | |||
61 | $target =~ s/\//$o/g if $o ne '/'; | ||
62 | $target="$target"; | ||
63 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
64 | |||
65 | $ret.="$target: \$(${Name}OBJ)\n"; | ||
66 | $ret.="\t\$(RM) $target\n"; | ||
67 | $ret.="\t\$(MKLIB) $target \$(${Name}OBJ)\n"; | ||
68 | $ret.="\t\$(RANLIB) $target\n\n"; | ||
69 | } | ||
70 | |||
71 | sub do_link_rule | ||
72 | { | ||
73 | local($target,$files,$dep_libs,$libs)=@_; | ||
74 | local($ret,$_); | ||
75 | |||
76 | $file =~ s/\//$o/g if $o ne '/'; | ||
77 | $n=&bname($target); | ||
78 | $ret.="$target: $files $dep_libs\n"; | ||
79 | $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n"; | ||
80 | return($ret); | ||
81 | } | ||
82 | |||
83 | sub which | ||
84 | { | ||
85 | my ($name)=@_; | ||
86 | my $path; | ||
87 | foreach $path (split /:/, $ENV{PATH}) | ||
88 | { | ||
89 | if (-x "$path/$name") | ||
90 | { | ||
91 | return "$path/$name"; | ||
92 | } | ||
93 | } | ||
94 | } | ||
95 | |||
96 | 1; | ||
diff --git a/src/lib/libcrypto/util/pod2man.pl b/src/lib/libcrypto/util/pod2man.pl new file mode 100644 index 0000000000..657e4e264e --- /dev/null +++ b/src/lib/libcrypto/util/pod2man.pl | |||
@@ -0,0 +1,1183 @@ | |||
1 | : #!/usr/bin/perl-5.005 | ||
2 | eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' | ||
3 | if $running_under_some_shell; | ||
4 | |||
5 | $DEF_PM_SECTION = '3pm' || '3'; | ||
6 | |||
7 | =head1 NAME | ||
8 | |||
9 | pod2man - translate embedded Perl pod directives into man pages | ||
10 | |||
11 | =head1 SYNOPSIS | ||
12 | |||
13 | B<pod2man> | ||
14 | [ B<--section=>I<manext> ] | ||
15 | [ B<--release=>I<relpatch> ] | ||
16 | [ B<--center=>I<string> ] | ||
17 | [ B<--date=>I<string> ] | ||
18 | [ B<--fixed=>I<font> ] | ||
19 | [ B<--official> ] | ||
20 | [ B<--lax> ] | ||
21 | I<inputfile> | ||
22 | |||
23 | =head1 DESCRIPTION | ||
24 | |||
25 | B<pod2man> converts its input file containing embedded pod directives (see | ||
26 | L<perlpod>) into nroff source suitable for viewing with nroff(1) or | ||
27 | troff(1) using the man(7) macro set. | ||
28 | |||
29 | Besides the obvious pod conversions, B<pod2man> also takes care of | ||
30 | func(), func(n), and simple variable references like $foo or @bar so | ||
31 | you don't have to use code escapes for them; complex expressions like | ||
32 | C<$fred{'stuff'}> will still need to be escaped, though. Other nagging | ||
33 | little roffish things that it catches include translating the minus in | ||
34 | something like foo-bar, making a long dash--like this--into a real em | ||
35 | dash, fixing up "paired quotes", putting a little space after the | ||
36 | parens in something like func(), making C++ and PI look right, making | ||
37 | double underbars have a little tiny space between them, making ALLCAPS | ||
38 | a teeny bit smaller in troff(1), and escaping backslashes so you don't | ||
39 | have to. | ||
40 | |||
41 | =head1 OPTIONS | ||
42 | |||
43 | =over 8 | ||
44 | |||
45 | =item center | ||
46 | |||
47 | Set the centered header to a specific string. The default is | ||
48 | "User Contributed Perl Documentation", unless the C<--official> flag is | ||
49 | given, in which case the default is "Perl Programmers Reference Guide". | ||
50 | |||
51 | =item date | ||
52 | |||
53 | Set the left-hand footer string to this value. By default, | ||
54 | the modification date of the input file will be used. | ||
55 | |||
56 | =item fixed | ||
57 | |||
58 | The fixed font to use for code refs. Defaults to CW. | ||
59 | |||
60 | =item official | ||
61 | |||
62 | Set the default header to indicate that this page is of | ||
63 | the standard release in case C<--center> is not given. | ||
64 | |||
65 | =item release | ||
66 | |||
67 | Set the centered footer. By default, this is the current | ||
68 | perl release. | ||
69 | |||
70 | =item section | ||
71 | |||
72 | Set the section for the C<.TH> macro. The standard conventions on | ||
73 | sections are to use 1 for user commands, 2 for system calls, 3 for | ||
74 | functions, 4 for devices, 5 for file formats, 6 for games, 7 for | ||
75 | miscellaneous information, and 8 for administrator commands. This works | ||
76 | best if you put your Perl man pages in a separate tree, like | ||
77 | F</usr/local/perl/man/>. By default, section 1 will be used | ||
78 | unless the file ends in F<.pm> in which case section 3 will be selected. | ||
79 | |||
80 | =item lax | ||
81 | |||
82 | Don't complain when required sections aren't present. | ||
83 | |||
84 | =back | ||
85 | |||
86 | =head1 Anatomy of a Proper Man Page | ||
87 | |||
88 | For those not sure of the proper layout of a man page, here's | ||
89 | an example of the skeleton of a proper man page. Head of the | ||
90 | major headers should be setout as a C<=head1> directive, and | ||
91 | are historically written in the rather startling ALL UPPER CASE | ||
92 | format, although this is not mandatory. | ||
93 | Minor headers may be included using C<=head2>, and are | ||
94 | typically in mixed case. | ||
95 | |||
96 | =over 10 | ||
97 | |||
98 | =item NAME | ||
99 | |||
100 | Mandatory section; should be a comma-separated list of programs or | ||
101 | functions documented by this podpage, such as: | ||
102 | |||
103 | foo, bar - programs to do something | ||
104 | |||
105 | =item SYNOPSIS | ||
106 | |||
107 | A short usage summary for programs and functions, which | ||
108 | may someday be deemed mandatory. | ||
109 | |||
110 | =item DESCRIPTION | ||
111 | |||
112 | Long drawn out discussion of the program. It's a good idea to break this | ||
113 | up into subsections using the C<=head2> directives, like | ||
114 | |||
115 | =head2 A Sample Subection | ||
116 | |||
117 | =head2 Yet Another Sample Subection | ||
118 | |||
119 | =item OPTIONS | ||
120 | |||
121 | Some people make this separate from the description. | ||
122 | |||
123 | =item RETURN VALUE | ||
124 | |||
125 | What the program or function returns if successful. | ||
126 | |||
127 | =item ERRORS | ||
128 | |||
129 | Exceptions, return codes, exit stati, and errno settings. | ||
130 | |||
131 | =item EXAMPLES | ||
132 | |||
133 | Give some example uses of the program. | ||
134 | |||
135 | =item ENVIRONMENT | ||
136 | |||
137 | Envariables this program might care about. | ||
138 | |||
139 | =item FILES | ||
140 | |||
141 | All files used by the program. You should probably use the FE<lt>E<gt> | ||
142 | for these. | ||
143 | |||
144 | =item SEE ALSO | ||
145 | |||
146 | Other man pages to check out, like man(1), man(7), makewhatis(8), or catman(8). | ||
147 | |||
148 | =item NOTES | ||
149 | |||
150 | Miscellaneous commentary. | ||
151 | |||
152 | =item CAVEATS | ||
153 | |||
154 | Things to take special care with; sometimes called WARNINGS. | ||
155 | |||
156 | =item DIAGNOSTICS | ||
157 | |||
158 | All possible messages the program can print out--and | ||
159 | what they mean. | ||
160 | |||
161 | =item BUGS | ||
162 | |||
163 | Things that are broken or just don't work quite right. | ||
164 | |||
165 | =item RESTRICTIONS | ||
166 | |||
167 | Bugs you don't plan to fix :-) | ||
168 | |||
169 | =item AUTHOR | ||
170 | |||
171 | Who wrote it (or AUTHORS if multiple). | ||
172 | |||
173 | =item HISTORY | ||
174 | |||
175 | Programs derived from other sources sometimes have this, or | ||
176 | you might keep a modification log here. | ||
177 | |||
178 | =back | ||
179 | |||
180 | =head1 EXAMPLES | ||
181 | |||
182 | pod2man program > program.1 | ||
183 | pod2man some_module.pm > /usr/perl/man/man3/some_module.3 | ||
184 | pod2man --section=7 note.pod > note.7 | ||
185 | |||
186 | =head1 DIAGNOSTICS | ||
187 | |||
188 | The following diagnostics are generated by B<pod2man>. Items | ||
189 | marked "(W)" are non-fatal, whereas the "(F)" errors will cause | ||
190 | B<pod2man> to immediately exit with a non-zero status. | ||
191 | |||
192 | =over 4 | ||
193 | |||
194 | =item bad option in paragraph %d of %s: ``%s'' should be [%s]<%s> | ||
195 | |||
196 | (W) If you start include an option, you should set it off | ||
197 | as bold, italic, or code. | ||
198 | |||
199 | =item can't open %s: %s | ||
200 | |||
201 | (F) The input file wasn't available for the given reason. | ||
202 | |||
203 | =item Improper man page - no dash in NAME header in paragraph %d of %s | ||
204 | |||
205 | (W) The NAME header did not have an isolated dash in it. This is | ||
206 | considered important. | ||
207 | |||
208 | =item Invalid man page - no NAME line in %s | ||
209 | |||
210 | (F) You did not include a NAME header, which is essential. | ||
211 | |||
212 | =item roff font should be 1 or 2 chars, not `%s' (F) | ||
213 | |||
214 | (F) The font specified with the C<--fixed> option was not | ||
215 | a one- or two-digit roff font. | ||
216 | |||
217 | =item %s is missing required section: %s | ||
218 | |||
219 | (W) Required sections include NAME, DESCRIPTION, and if you're | ||
220 | using a section starting with a 3, also a SYNOPSIS. Actually, | ||
221 | not having a NAME is a fatal. | ||
222 | |||
223 | =item Unknown escape: %s in %s | ||
224 | |||
225 | (W) An unknown HTML entity (probably for an 8-bit character) was given via | ||
226 | a C<EE<lt>E<gt>> directive. Besides amp, lt, gt, and quot, recognized | ||
227 | entities are Aacute, aacute, Acirc, acirc, AElig, aelig, Agrave, agrave, | ||
228 | Aring, aring, Atilde, atilde, Auml, auml, Ccedil, ccedil, Eacute, eacute, | ||
229 | Ecirc, ecirc, Egrave, egrave, ETH, eth, Euml, euml, Iacute, iacute, Icirc, | ||
230 | icirc, Igrave, igrave, Iuml, iuml, Ntilde, ntilde, Oacute, oacute, Ocirc, | ||
231 | ocirc, Ograve, ograve, Oslash, oslash, Otilde, otilde, Ouml, ouml, szlig, | ||
232 | THORN, thorn, Uacute, uacute, Ucirc, ucirc, Ugrave, ugrave, Uuml, uuml, | ||
233 | Yacute, yacute, and yuml. | ||
234 | |||
235 | =item Unmatched =back | ||
236 | |||
237 | (W) You have a C<=back> without a corresponding C<=over>. | ||
238 | |||
239 | =item Unrecognized pod directive: %s | ||
240 | |||
241 | (W) You specified a pod directive that isn't in the known list of | ||
242 | C<=head1>, C<=head2>, C<=item>, C<=over>, C<=back>, or C<=cut>. | ||
243 | |||
244 | |||
245 | =back | ||
246 | |||
247 | =head1 NOTES | ||
248 | |||
249 | If you would like to print out a lot of man page continuously, you | ||
250 | probably want to set the C and D registers to set contiguous page | ||
251 | numbering and even/odd paging, at least on some versions of man(7). | ||
252 | Settting the F register will get you some additional experimental | ||
253 | indexing: | ||
254 | |||
255 | troff -man -rC1 -rD1 -rF1 perl.1 perldata.1 perlsyn.1 ... | ||
256 | |||
257 | The indexing merely outputs messages via C<.tm> for each | ||
258 | major page, section, subsection, item, and any C<XE<lt>E<gt>> | ||
259 | directives. | ||
260 | |||
261 | |||
262 | =head1 RESTRICTIONS | ||
263 | |||
264 | None at this time. | ||
265 | |||
266 | =head1 BUGS | ||
267 | |||
268 | The =over and =back directives don't really work right. They | ||
269 | take absolute positions instead of offsets, don't nest well, and | ||
270 | making people count is suboptimal in any event. | ||
271 | |||
272 | =head1 AUTHORS | ||
273 | |||
274 | Original prototype by Larry Wall, but so massively hacked over by | ||
275 | Tom Christiansen such that Larry probably doesn't recognize it anymore. | ||
276 | |||
277 | =cut | ||
278 | |||
279 | $/ = ""; | ||
280 | $cutting = 1; | ||
281 | @Indices = (); | ||
282 | |||
283 | # We try first to get the version number from a local binary, in case we're | ||
284 | # running an installed version of Perl to produce documentation from an | ||
285 | # uninstalled newer version's pod files. | ||
286 | if ($^O ne 'plan9' and $^O ne 'dos' and $^O ne 'os2' and $^O ne 'MSWin32') { | ||
287 | my $perl = (-x './perl' && -f './perl' ) ? | ||
288 | './perl' : | ||
289 | ((-x '../perl' && -f '../perl') ? | ||
290 | '../perl' : | ||
291 | ''); | ||
292 | ($version,$patch) = `$perl -e 'print $]'` =~ /^(\d\.\d{3})(\d{2})?/ if $perl; | ||
293 | } | ||
294 | # No luck; we'll just go with the running Perl's version | ||
295 | ($version,$patch) = $] =~ /^(.{5})(\d{2})?/ unless $version; | ||
296 | $DEF_RELEASE = "perl $version"; | ||
297 | $DEF_RELEASE .= ", patch $patch" if $patch; | ||
298 | |||
299 | |||
300 | sub makedate { | ||
301 | my $secs = shift; | ||
302 | my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($secs); | ||
303 | my $mname = (qw{Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec})[$mon]; | ||
304 | $year += 1900; | ||
305 | return "$mday/$mname/$year"; | ||
306 | } | ||
307 | |||
308 | use Getopt::Long; | ||
309 | |||
310 | $DEF_SECTION = 1; | ||
311 | $DEF_CENTER = "User Contributed Perl Documentation"; | ||
312 | $STD_CENTER = "Perl Programmers Reference Guide"; | ||
313 | $DEF_FIXED = 'CW'; | ||
314 | $DEF_LAX = 0; | ||
315 | |||
316 | sub usage { | ||
317 | warn "$0: @_\n" if @_; | ||
318 | die <<EOF; | ||
319 | usage: $0 [options] podpage | ||
320 | Options are: | ||
321 | --section=manext (default "$DEF_SECTION") | ||
322 | --release=relpatch (default "$DEF_RELEASE") | ||
323 | --center=string (default "$DEF_CENTER") | ||
324 | --date=string (default "$DEF_DATE") | ||
325 | --fixed=font (default "$DEF_FIXED") | ||
326 | --official (default NOT) | ||
327 | --lax (default NOT) | ||
328 | EOF | ||
329 | } | ||
330 | |||
331 | $uok = GetOptions( qw( | ||
332 | section=s | ||
333 | release=s | ||
334 | center=s | ||
335 | date=s | ||
336 | fixed=s | ||
337 | official | ||
338 | lax | ||
339 | help)); | ||
340 | |||
341 | $DEF_DATE = makedate((stat($ARGV[0]))[9] || time()); | ||
342 | |||
343 | usage("Usage error!") unless $uok; | ||
344 | usage() if $opt_help; | ||
345 | usage("Need one and only one podpage argument") unless @ARGV == 1; | ||
346 | |||
347 | $section = $opt_section || ($ARGV[0] =~ /\.pm$/ | ||
348 | ? $DEF_PM_SECTION : $DEF_SECTION); | ||
349 | $RP = $opt_release || $DEF_RELEASE; | ||
350 | $center = $opt_center || ($opt_official ? $STD_CENTER : $DEF_CENTER); | ||
351 | $lax = $opt_lax || $DEF_LAX; | ||
352 | |||
353 | $CFont = $opt_fixed || $DEF_FIXED; | ||
354 | |||
355 | if (length($CFont) == 2) { | ||
356 | $CFont_embed = "\\f($CFont"; | ||
357 | } | ||
358 | elsif (length($CFont) == 1) { | ||
359 | $CFont_embed = "\\f$CFont"; | ||
360 | } | ||
361 | else { | ||
362 | die "roff font should be 1 or 2 chars, not `$CFont_embed'"; | ||
363 | } | ||
364 | |||
365 | $date = $opt_date || $DEF_DATE; | ||
366 | |||
367 | for (qw{NAME DESCRIPTION}) { | ||
368 | # for (qw{NAME DESCRIPTION AUTHOR}) { | ||
369 | $wanna_see{$_}++; | ||
370 | } | ||
371 | $wanna_see{SYNOPSIS}++ if $section =~ /^3/; | ||
372 | |||
373 | |||
374 | $name = @ARGV ? $ARGV[0] : "<STDIN>"; | ||
375 | $Filename = $name; | ||
376 | if ($section =~ /^1/) { | ||
377 | require File::Basename; | ||
378 | $name = uc File::Basename::basename($name); | ||
379 | } | ||
380 | $name =~ s/\.(pod|p[lm])$//i; | ||
381 | |||
382 | # Lose everything up to the first of | ||
383 | # */lib/*perl* standard or site_perl module | ||
384 | # */*perl*/lib from -D prefix=/opt/perl | ||
385 | # */*perl*/ random module hierarchy | ||
386 | # which works. | ||
387 | $name =~ s-//+-/-g; | ||
388 | if ($name =~ s-^.*?/lib/[^/]*perl[^/]*/--i | ||
389 | or $name =~ s-^.*?/[^/]*perl[^/]*/lib/--i | ||
390 | or $name =~ s-^.*?/[^/]*perl[^/]*/--i) { | ||
391 | # Lose ^site(_perl)?/. | ||
392 | $name =~ s-^site(_perl)?/--; | ||
393 | # Lose ^arch/. (XXX should we use Config? Just for archname?) | ||
394 | $name =~ s~^(.*-$^O|$^O-.*)/~~o; | ||
395 | # Lose ^version/. | ||
396 | $name =~ s-^\d+\.\d+/--; | ||
397 | } | ||
398 | |||
399 | # Translate Getopt/Long to Getopt::Long, etc. | ||
400 | $name =~ s(/)(::)g; | ||
401 | |||
402 | if ($name ne 'something') { | ||
403 | FCHECK: { | ||
404 | open(F, "< $ARGV[0]") || die "can't open $ARGV[0]: $!"; | ||
405 | while (<F>) { | ||
406 | next unless /^=\b/; | ||
407 | if (/^=head1\s+NAME\s*$/) { # an /m would forgive mistakes | ||
408 | $_ = <F>; | ||
409 | unless (/\s*-+\s+/) { | ||
410 | $oops++; | ||
411 | warn "$0: Improper man page - no dash in NAME header in paragraph $. of $ARGV[0]\n" | ||
412 | } else { | ||
413 | my @n = split /\s+-+\s+/; | ||
414 | if (@n != 2) { | ||
415 | $oops++; | ||
416 | warn "$0: Improper man page - malformed NAME header in paragraph $. of $ARGV[0]\n" | ||
417 | } | ||
418 | else { | ||
419 | $n[0] =~ s/\n/ /g; | ||
420 | $n[1] =~ s/\n/ /g; | ||
421 | %namedesc = @n; | ||
422 | } | ||
423 | } | ||
424 | last FCHECK; | ||
425 | } | ||
426 | next if /^=cut\b/; # DB_File and Net::Ping have =cut before NAME | ||
427 | next if /^=pod\b/; # It is OK to have =pod before NAME | ||
428 | die "$0: Invalid man page - 1st pod line is not NAME in $ARGV[0]\n" unless $lax; | ||
429 | } | ||
430 | die "$0: Invalid man page - no documentation in $ARGV[0]\n" unless $lax; | ||
431 | } | ||
432 | close F; | ||
433 | } | ||
434 | |||
435 | print <<"END"; | ||
436 | .rn '' }` | ||
437 | ''' \$RCSfile\$\$Revision\$\$Date\$ | ||
438 | ''' | ||
439 | ''' \$Log\$ | ||
440 | ''' | ||
441 | .de Sh | ||
442 | .br | ||
443 | .if t .Sp | ||
444 | .ne 5 | ||
445 | .PP | ||
446 | \\fB\\\\\$1\\fR | ||
447 | .PP | ||
448 | .. | ||
449 | .de Sp | ||
450 | .if t .sp .5v | ||
451 | .if n .sp | ||
452 | .. | ||
453 | .de Ip | ||
454 | .br | ||
455 | .ie \\\\n(.\$>=3 .ne \\\\\$3 | ||
456 | .el .ne 3 | ||
457 | .IP "\\\\\$1" \\\\\$2 | ||
458 | .. | ||
459 | .de Vb | ||
460 | .ft $CFont | ||
461 | .nf | ||
462 | .ne \\\\\$1 | ||
463 | .. | ||
464 | .de Ve | ||
465 | .ft R | ||
466 | |||
467 | .fi | ||
468 | .. | ||
469 | ''' | ||
470 | ''' | ||
471 | ''' Set up \\*(-- to give an unbreakable dash; | ||
472 | ''' string Tr holds user defined translation string. | ||
473 | ''' Bell System Logo is used as a dummy character. | ||
474 | ''' | ||
475 | .tr \\(*W-|\\(bv\\*(Tr | ||
476 | .ie n \\{\\ | ||
477 | .ds -- \\(*W- | ||
478 | .ds PI pi | ||
479 | .if (\\n(.H=4u)&(1m=24u) .ds -- \\(*W\\h'-12u'\\(*W\\h'-12u'-\\" diablo 10 pitch | ||
480 | .if (\\n(.H=4u)&(1m=20u) .ds -- \\(*W\\h'-12u'\\(*W\\h'-8u'-\\" diablo 12 pitch | ||
481 | .ds L" "" | ||
482 | .ds R" "" | ||
483 | ''' \\*(M", \\*(S", \\*(N" and \\*(T" are the equivalent of | ||
484 | ''' \\*(L" and \\*(R", except that they are used on ".xx" lines, | ||
485 | ''' such as .IP and .SH, which do another additional levels of | ||
486 | ''' double-quote interpretation | ||
487 | .ds M" """ | ||
488 | .ds S" """ | ||
489 | .ds N" """"" | ||
490 | .ds T" """"" | ||
491 | .ds L' ' | ||
492 | .ds R' ' | ||
493 | .ds M' ' | ||
494 | .ds S' ' | ||
495 | .ds N' ' | ||
496 | .ds T' ' | ||
497 | 'br\\} | ||
498 | .el\\{\\ | ||
499 | .ds -- \\(em\\| | ||
500 | .tr \\*(Tr | ||
501 | .ds L" `` | ||
502 | .ds R" '' | ||
503 | .ds M" `` | ||
504 | .ds S" '' | ||
505 | .ds N" `` | ||
506 | .ds T" '' | ||
507 | .ds L' ` | ||
508 | .ds R' ' | ||
509 | .ds M' ` | ||
510 | .ds S' ' | ||
511 | .ds N' ` | ||
512 | .ds T' ' | ||
513 | .ds PI \\(*p | ||
514 | 'br\\} | ||
515 | END | ||
516 | |||
517 | print <<'END'; | ||
518 | .\" If the F register is turned on, we'll generate | ||
519 | .\" index entries out stderr for the following things: | ||
520 | .\" TH Title | ||
521 | .\" SH Header | ||
522 | .\" Sh Subsection | ||
523 | .\" Ip Item | ||
524 | .\" X<> Xref (embedded | ||
525 | .\" Of course, you have to process the output yourself | ||
526 | .\" in some meaninful fashion. | ||
527 | .if \nF \{ | ||
528 | .de IX | ||
529 | .tm Index:\\$1\t\\n%\t"\\$2" | ||
530 | .. | ||
531 | .nr % 0 | ||
532 | .rr F | ||
533 | .\} | ||
534 | END | ||
535 | |||
536 | print <<"END"; | ||
537 | .TH $name $section "$RP" "$date" "$center" | ||
538 | .UC | ||
539 | END | ||
540 | |||
541 | push(@Indices, qq{.IX Title "$name $section"}); | ||
542 | |||
543 | while (($name, $desc) = each %namedesc) { | ||
544 | for ($name, $desc) { s/^\s+//; s/\s+$//; } | ||
545 | push(@Indices, qq(.IX Name "$name - $desc"\n)); | ||
546 | } | ||
547 | |||
548 | print <<'END'; | ||
549 | .if n .hy 0 | ||
550 | .if n .na | ||
551 | .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' | ||
552 | .de CQ \" put $1 in typewriter font | ||
553 | END | ||
554 | print ".ft $CFont\n"; | ||
555 | print <<'END'; | ||
556 | 'if n "\c | ||
557 | 'if t \\&\\$1\c | ||
558 | 'if n \\&\\$1\c | ||
559 | 'if n \&" | ||
560 | \\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 | ||
561 | '.ft R | ||
562 | .. | ||
563 | .\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 | ||
564 | . \" AM - accent mark definitions | ||
565 | .bd B 3 | ||
566 | . \" fudge factors for nroff and troff | ||
567 | .if n \{\ | ||
568 | . ds #H 0 | ||
569 | . ds #V .8m | ||
570 | . ds #F .3m | ||
571 | . ds #[ \f1 | ||
572 | . ds #] \fP | ||
573 | .\} | ||
574 | .if t \{\ | ||
575 | . ds #H ((1u-(\\\\n(.fu%2u))*.13m) | ||
576 | . ds #V .6m | ||
577 | . ds #F 0 | ||
578 | . ds #[ \& | ||
579 | . ds #] \& | ||
580 | .\} | ||
581 | . \" simple accents for nroff and troff | ||
582 | .if n \{\ | ||
583 | . ds ' \& | ||
584 | . ds ` \& | ||
585 | . ds ^ \& | ||
586 | . ds , \& | ||
587 | . ds ~ ~ | ||
588 | . ds ? ? | ||
589 | . ds ! ! | ||
590 | . ds / | ||
591 | . ds q | ||
592 | .\} | ||
593 | .if t \{\ | ||
594 | . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" | ||
595 | . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' | ||
596 | . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' | ||
597 | . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' | ||
598 | . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' | ||
599 | . ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' | ||
600 | . ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' | ||
601 | . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' | ||
602 | . ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' | ||
603 | .\} | ||
604 | . \" troff and (daisy-wheel) nroff accents | ||
605 | .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' | ||
606 | .ds 8 \h'\*(#H'\(*b\h'-\*(#H' | ||
607 | .ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] | ||
608 | .ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' | ||
609 | .ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' | ||
610 | .ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] | ||
611 | .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] | ||
612 | .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' | ||
613 | .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' | ||
614 | .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] | ||
615 | .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] | ||
616 | .ds ae a\h'-(\w'a'u*4/10)'e | ||
617 | .ds Ae A\h'-(\w'A'u*4/10)'E | ||
618 | .ds oe o\h'-(\w'o'u*4/10)'e | ||
619 | .ds Oe O\h'-(\w'O'u*4/10)'E | ||
620 | . \" corrections for vroff | ||
621 | .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' | ||
622 | .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' | ||
623 | . \" for low resolution devices (crt and lpr) | ||
624 | .if \n(.H>23 .if \n(.V>19 \ | ||
625 | \{\ | ||
626 | . ds : e | ||
627 | . ds 8 ss | ||
628 | . ds v \h'-1'\o'\(aa\(ga' | ||
629 | . ds _ \h'-1'^ | ||
630 | . ds . \h'-1'. | ||
631 | . ds 3 3 | ||
632 | . ds o a | ||
633 | . ds d- d\h'-1'\(ga | ||
634 | . ds D- D\h'-1'\(hy | ||
635 | . ds th \o'bp' | ||
636 | . ds Th \o'LP' | ||
637 | . ds ae ae | ||
638 | . ds Ae AE | ||
639 | . ds oe oe | ||
640 | . ds Oe OE | ||
641 | .\} | ||
642 | .rm #[ #] #H #V #F C | ||
643 | END | ||
644 | |||
645 | $indent = 0; | ||
646 | |||
647 | $begun = ""; | ||
648 | |||
649 | # Unrolling [^A-Z>]|[A-Z](?!<) gives: // MRE pp 165. | ||
650 | my $nonest = '(?:[^A-Z>]*(?:[A-Z](?!<)[^A-Z>]*)*)'; | ||
651 | |||
652 | while (<>) { | ||
653 | if ($cutting) { | ||
654 | next unless /^=/; | ||
655 | $cutting = 0; | ||
656 | } | ||
657 | if ($begun) { | ||
658 | if (/^=end\s+$begun/) { | ||
659 | $begun = ""; | ||
660 | } | ||
661 | elsif ($begun =~ /^(roff|man)$/) { | ||
662 | print STDOUT $_; | ||
663 | } | ||
664 | next; | ||
665 | } | ||
666 | chomp; | ||
667 | |||
668 | # Translate verbatim paragraph | ||
669 | |||
670 | if (/^\s/) { | ||
671 | @lines = split(/\n/); | ||
672 | for (@lines) { | ||
673 | 1 while s | ||
674 | {^( [^\t]* ) \t ( \t* ) } | ||
675 | { $1 . ' ' x (8 - (length($1)%8) + 8 * (length($2))) }ex; | ||
676 | s/\\/\\e/g; | ||
677 | s/\A/\\&/s; | ||
678 | } | ||
679 | $lines = @lines; | ||
680 | makespace() unless $verbatim++; | ||
681 | print ".Vb $lines\n"; | ||
682 | print join("\n", @lines), "\n"; | ||
683 | print ".Ve\n"; | ||
684 | $needspace = 0; | ||
685 | next; | ||
686 | } | ||
687 | |||
688 | $verbatim = 0; | ||
689 | |||
690 | if (/^=for\s+(\S+)\s*/s) { | ||
691 | if ($1 eq "man" or $1 eq "roff") { | ||
692 | print STDOUT $',"\n\n"; | ||
693 | } else { | ||
694 | # ignore unknown for | ||
695 | } | ||
696 | next; | ||
697 | } | ||
698 | elsif (/^=begin\s+(\S+)\s*/s) { | ||
699 | $begun = $1; | ||
700 | if ($1 eq "man" or $1 eq "roff") { | ||
701 | print STDOUT $'."\n\n"; | ||
702 | } | ||
703 | next; | ||
704 | } | ||
705 | |||
706 | # check for things that'll hosed our noremap scheme; affects $_ | ||
707 | init_noremap(); | ||
708 | |||
709 | if (!/^=item/) { | ||
710 | |||
711 | # trofficate backslashes; must do it before what happens below | ||
712 | s/\\/noremap('\\e')/ge; | ||
713 | |||
714 | # protect leading periods and quotes against *roff | ||
715 | # mistaking them for directives | ||
716 | s/^(?:[A-Z]<)?[.']/\\&$&/gm; | ||
717 | |||
718 | # first hide the escapes in case we need to | ||
719 | # intuit something and get it wrong due to fmting | ||
720 | |||
721 | 1 while s/([A-Z]<$nonest>)/noremap($1)/ge; | ||
722 | |||
723 | # func() is a reference to a perl function | ||
724 | s{ | ||
725 | \b | ||
726 | ( | ||
727 | [:\w]+ \(\) | ||
728 | ) | ||
729 | } {I<$1>}gx; | ||
730 | |||
731 | # func(n) is a reference to a perl function or a man page | ||
732 | s{ | ||
733 | ([:\w]+) | ||
734 | ( | ||
735 | \( [^\051]+ \) | ||
736 | ) | ||
737 | } {I<$1>\\|$2}gx; | ||
738 | |||
739 | # convert simple variable references | ||
740 | s/(\s+)([\$\@%][\w:]+)(?!\()/${1}C<$2>/g; | ||
741 | |||
742 | if (m{ ( | ||
743 | [\-\w]+ | ||
744 | \( | ||
745 | [^\051]*? | ||
746 | [\@\$,] | ||
747 | [^\051]*? | ||
748 | \) | ||
749 | ) | ||
750 | }x && $` !~ /([LCI]<[^<>]*|-)$/ && !/^=\w/) | ||
751 | { | ||
752 | warn "$0: bad option in paragraph $. of $ARGV: ``$1'' should be [LCI]<$1>\n"; | ||
753 | $oops++; | ||
754 | } | ||
755 | |||
756 | while (/(-[a-zA-Z])\b/g && $` !~ /[\w\-]$/) { | ||
757 | warn "$0: bad option in paragraph $. of $ARGV: ``$1'' should be [CB]<$1>\n"; | ||
758 | $oops++; | ||
759 | } | ||
760 | |||
761 | # put it back so we get the <> processed again; | ||
762 | clear_noremap(0); # 0 means leave the E's | ||
763 | |||
764 | } else { | ||
765 | # trofficate backslashes | ||
766 | s/\\/noremap('\\e')/ge; | ||
767 | |||
768 | } | ||
769 | |||
770 | # need to hide E<> first; they're processed in clear_noremap | ||
771 | s/(E<[^<>]+>)/noremap($1)/ge; | ||
772 | |||
773 | |||
774 | $maxnest = 10; | ||
775 | while ($maxnest-- && /[A-Z]</) { | ||
776 | |||
777 | # can't do C font here | ||
778 | s/([BI])<($nonest)>/font($1) . $2 . font('R')/eg; | ||
779 | |||
780 | # files and filelike refs in italics | ||
781 | s/F<($nonest)>/I<$1>/g; | ||
782 | |||
783 | # no break -- usually we want C<> for this | ||
784 | s/S<($nonest)>/nobreak($1)/eg; | ||
785 | |||
786 | # LREF: a la HREF L<show this text|man/section> | ||
787 | s:L<([^|>]+)\|[^>]+>:$1:g; | ||
788 | |||
789 | # LREF: a manpage(3f) | ||
790 | s:L<([a-zA-Z][^\s\/]+)(\([^\)]+\))?>:the I<$1>$2 manpage:g; | ||
791 | |||
792 | # LREF: an =item on another manpage | ||
793 | s{ | ||
794 | L< | ||
795 | ([^/]+) | ||
796 | / | ||
797 | ( | ||
798 | [:\w]+ | ||
799 | (\(\))? | ||
800 | ) | ||
801 | > | ||
802 | } {the C<$2> entry in the I<$1> manpage}gx; | ||
803 | |||
804 | # LREF: an =item on this manpage | ||
805 | s{ | ||
806 | ((?: | ||
807 | L< | ||
808 | / | ||
809 | ( | ||
810 | [:\w]+ | ||
811 | (\(\))? | ||
812 | ) | ||
813 | > | ||
814 | (,?\s+(and\s+)?)? | ||
815 | )+) | ||
816 | } { internal_lrefs($1) }gex; | ||
817 | |||
818 | # LREF: a =head2 (head1?), maybe on a manpage, maybe right here | ||
819 | # the "func" can disambiguate | ||
820 | s{ | ||
821 | L< | ||
822 | (?: | ||
823 | ([a-zA-Z]\S+?) / | ||
824 | )? | ||
825 | "?(.*?)"? | ||
826 | > | ||
827 | }{ | ||
828 | do { | ||
829 | $1 # if no $1, assume it means on this page. | ||
830 | ? "the section on I<$2> in the I<$1> manpage" | ||
831 | : "the section on I<$2>" | ||
832 | } | ||
833 | }gesx; # s in case it goes over multiple lines, so . matches \n | ||
834 | |||
835 | s/Z<>/\\&/g; | ||
836 | |||
837 | # comes last because not subject to reprocessing | ||
838 | s/C<($nonest)>/noremap("${CFont_embed}${1}\\fR")/eg; | ||
839 | } | ||
840 | |||
841 | if (s/^=//) { | ||
842 | $needspace = 0; # Assume this. | ||
843 | |||
844 | s/\n/ /g; | ||
845 | |||
846 | ($Cmd, $_) = split(' ', $_, 2); | ||
847 | |||
848 | $dotlevel = 1; | ||
849 | if ($Cmd eq 'head1') { | ||
850 | $dotlevel = 1; | ||
851 | } | ||
852 | elsif ($Cmd eq 'head2') { | ||
853 | $dotlevel = 1; | ||
854 | } | ||
855 | elsif ($Cmd eq 'item') { | ||
856 | $dotlevel = 2; | ||
857 | } | ||
858 | |||
859 | if (defined $_) { | ||
860 | &escapes($dotlevel); | ||
861 | s/"/""/g; | ||
862 | } | ||
863 | |||
864 | clear_noremap(1); | ||
865 | |||
866 | if ($Cmd eq 'cut') { | ||
867 | $cutting = 1; | ||
868 | } | ||
869 | elsif ($Cmd eq 'head1') { | ||
870 | s/\s+$//; | ||
871 | delete $wanna_see{$_} if exists $wanna_see{$_}; | ||
872 | print qq{.SH "$_"\n}; | ||
873 | push(@Indices, qq{.IX Header "$_"\n}); | ||
874 | } | ||
875 | elsif ($Cmd eq 'head2') { | ||
876 | print qq{.Sh "$_"\n}; | ||
877 | push(@Indices, qq{.IX Subsection "$_"\n}); | ||
878 | } | ||
879 | elsif ($Cmd eq 'over') { | ||
880 | push(@indent,$indent); | ||
881 | $indent += ($_ + 0) || 5; | ||
882 | } | ||
883 | elsif ($Cmd eq 'back') { | ||
884 | $indent = pop(@indent); | ||
885 | warn "$0: Unmatched =back in paragraph $. of $ARGV\n" unless defined $indent; | ||
886 | $needspace = 1; | ||
887 | } | ||
888 | elsif ($Cmd eq 'item') { | ||
889 | s/^\*( |$)/\\(bu$1/g; | ||
890 | # if you know how to get ":s please do | ||
891 | s/\\\*\(L"([^"]+?)\\\*\(R"/'$1'/g; | ||
892 | s/\\\*\(L"([^"]+?)""/'$1'/g; | ||
893 | s/[^"]""([^"]+?)""[^"]/'$1'/g; | ||
894 | # here do something about the $" in perlvar? | ||
895 | print STDOUT qq{.Ip "$_" $indent\n}; | ||
896 | push(@Indices, qq{.IX Item "$_"\n}); | ||
897 | } | ||
898 | elsif ($Cmd eq 'pod') { | ||
899 | # this is just a comment | ||
900 | } | ||
901 | else { | ||
902 | warn "$0: Unrecognized pod directive in paragraph $. of $ARGV: $Cmd\n"; | ||
903 | } | ||
904 | } | ||
905 | else { | ||
906 | if ($needspace) { | ||
907 | &makespace; | ||
908 | } | ||
909 | &escapes(0); | ||
910 | clear_noremap(1); | ||
911 | print $_, "\n"; | ||
912 | $needspace = 1; | ||
913 | } | ||
914 | } | ||
915 | |||
916 | print <<"END"; | ||
917 | |||
918 | .rn }` '' | ||
919 | END | ||
920 | |||
921 | if (%wanna_see && !$lax) { | ||
922 | @missing = keys %wanna_see; | ||
923 | warn "$0: $Filename is missing required section" | ||
924 | . (@missing > 1 && "s") | ||
925 | . ": @missing\n"; | ||
926 | $oops++; | ||
927 | } | ||
928 | |||
929 | foreach (@Indices) { print "$_\n"; } | ||
930 | |||
931 | exit; | ||
932 | #exit ($oops != 0); | ||
933 | |||
934 | ######################################################################### | ||
935 | |||
936 | sub nobreak { | ||
937 | my $string = shift; | ||
938 | $string =~ s/ /\\ /g; | ||
939 | $string; | ||
940 | } | ||
941 | |||
942 | sub escapes { | ||
943 | my $indot = shift; | ||
944 | |||
945 | s/X<(.*?)>/mkindex($1)/ge; | ||
946 | |||
947 | # translate the minus in foo-bar into foo\-bar for roff | ||
948 | s/([^0-9a-z-])-([^-])/$1\\-$2/g; | ||
949 | |||
950 | # make -- into the string version \*(-- (defined above) | ||
951 | s/\b--\b/\\*(--/g; | ||
952 | s/"--([^"])/"\\*(--$1/g; # should be a better way | ||
953 | s/([^"])--"/$1\\*(--"/g; | ||
954 | |||
955 | # fix up quotes; this is somewhat tricky | ||
956 | my $dotmacroL = 'L'; | ||
957 | my $dotmacroR = 'R'; | ||
958 | if ( $indot == 1 ) { | ||
959 | $dotmacroL = 'M'; | ||
960 | $dotmacroR = 'S'; | ||
961 | } | ||
962 | elsif ( $indot >= 2 ) { | ||
963 | $dotmacroL = 'N'; | ||
964 | $dotmacroR = 'T'; | ||
965 | } | ||
966 | if (!/""/) { | ||
967 | s/(^|\s)(['"])/noremap("$1\\*($dotmacroL$2")/ge; | ||
968 | s/(['"])($|[\-\s,;\\!?.])/noremap("\\*($dotmacroR$1$2")/ge; | ||
969 | } | ||
970 | |||
971 | #s/(?!")(?:.)--(?!")(?:.)/\\*(--/g; | ||
972 | #s/(?:(?!")(?:.)--(?:"))|(?:(?:")--(?!")(?:.))/\\*(--/g; | ||
973 | |||
974 | |||
975 | # make sure that func() keeps a bit a space tween the parens | ||
976 | ### s/\b\(\)/\\|()/g; | ||
977 | ### s/\b\(\)/(\\|)/g; | ||
978 | |||
979 | # make C++ into \*C+, which is a squinched version (defined above) | ||
980 | s/\bC\+\+/\\*(C+/g; | ||
981 | |||
982 | # make double underbars have a little tiny space between them | ||
983 | s/__/_\\|_/g; | ||
984 | |||
985 | # PI goes to \*(PI (defined above) | ||
986 | s/\bPI\b/noremap('\\*(PI')/ge; | ||
987 | |||
988 | # make all caps a teeny bit smaller, but don't muck with embedded code literals | ||
989 | my $hidCFont = font('C'); | ||
990 | if ($Cmd !~ /^head1/) { # SH already makes smaller | ||
991 | # /g isn't enough; 1 while or we'll be off | ||
992 | |||
993 | # 1 while s{ | ||
994 | # (?!$hidCFont)(..|^.|^) | ||
995 | # \b | ||
996 | # ( | ||
997 | # [A-Z][\/A-Z+:\-\d_$.]+ | ||
998 | # ) | ||
999 | # (s?) | ||
1000 | # \b | ||
1001 | # } {$1\\s-1$2\\s0}gmox; | ||
1002 | |||
1003 | 1 while s{ | ||
1004 | (?!$hidCFont)(..|^.|^) | ||
1005 | ( | ||
1006 | \b[A-Z]{2,}[\/A-Z+:\-\d_\$]*\b | ||
1007 | ) | ||
1008 | } { | ||
1009 | $1 . noremap( '\\s-1' . $2 . '\\s0' ) | ||
1010 | }egmox; | ||
1011 | |||
1012 | } | ||
1013 | } | ||
1014 | |||
1015 | # make troff just be normal, but make small nroff get quoted | ||
1016 | # decided to just put the quotes in the text; sigh; | ||
1017 | sub ccvt { | ||
1018 | local($_,$prev) = @_; | ||
1019 | noremap(qq{.CQ "$_" \n\\&}); | ||
1020 | } | ||
1021 | |||
1022 | sub makespace { | ||
1023 | if ($indent) { | ||
1024 | print ".Sp\n"; | ||
1025 | } | ||
1026 | else { | ||
1027 | print ".PP\n"; | ||
1028 | } | ||
1029 | } | ||
1030 | |||
1031 | sub mkindex { | ||
1032 | my ($entry) = @_; | ||
1033 | my @entries = split m:\s*/\s*:, $entry; | ||
1034 | push @Indices, ".IX Xref " . join ' ', map {qq("$_")} @entries; | ||
1035 | return ''; | ||
1036 | } | ||
1037 | |||
1038 | sub font { | ||
1039 | local($font) = shift; | ||
1040 | return '\\f' . noremap($font); | ||
1041 | } | ||
1042 | |||
1043 | sub noremap { | ||
1044 | local($thing_to_hide) = shift; | ||
1045 | $thing_to_hide =~ tr/\000-\177/\200-\377/; | ||
1046 | return $thing_to_hide; | ||
1047 | } | ||
1048 | |||
1049 | sub init_noremap { | ||
1050 | # escape high bit characters in input stream | ||
1051 | s/([\200-\377])/"E<".ord($1).">"/ge; | ||
1052 | } | ||
1053 | |||
1054 | sub clear_noremap { | ||
1055 | my $ready_to_print = $_[0]; | ||
1056 | |||
1057 | tr/\200-\377/\000-\177/; | ||
1058 | |||
1059 | # trofficate backslashes | ||
1060 | # s/(?!\\e)(?:..|^.|^)\\/\\e/g; | ||
1061 | |||
1062 | # now for the E<>s, which have been hidden until now | ||
1063 | # otherwise the interative \w<> processing would have | ||
1064 | # been hosed by the E<gt> | ||
1065 | s { | ||
1066 | E< | ||
1067 | ( | ||
1068 | ( \d + ) | ||
1069 | | ( [A-Za-z]+ ) | ||
1070 | ) | ||
1071 | > | ||
1072 | } { | ||
1073 | do { | ||
1074 | defined $2 | ||
1075 | ? chr($2) | ||
1076 | : | ||
1077 | exists $HTML_Escapes{$3} | ||
1078 | ? do { $HTML_Escapes{$3} } | ||
1079 | : do { | ||
1080 | warn "$0: Unknown escape in paragraph $. of $ARGV: ``$&''\n"; | ||
1081 | "E<$1>"; | ||
1082 | } | ||
1083 | } | ||
1084 | }egx if $ready_to_print; | ||
1085 | } | ||
1086 | |||
1087 | sub internal_lrefs { | ||
1088 | local($_) = shift; | ||
1089 | local $trailing_and = s/and\s+$// ? "and " : ""; | ||
1090 | |||
1091 | s{L</([^>]+)>}{$1}g; | ||
1092 | my(@items) = split( /(?:,?\s+(?:and\s+)?)/ ); | ||
1093 | my $retstr = "the "; | ||
1094 | my $i; | ||
1095 | for ($i = 0; $i <= $#items; $i++) { | ||
1096 | $retstr .= "C<$items[$i]>"; | ||
1097 | $retstr .= ", " if @items > 2 && $i != $#items; | ||
1098 | $retstr .= " and " if $i+2 == @items; | ||
1099 | } | ||
1100 | |||
1101 | $retstr .= " entr" . ( @items > 1 ? "ies" : "y" ) | ||
1102 | . " elsewhere in this document"; | ||
1103 | # terminal space to avoid words running together (pattern used | ||
1104 | # strips terminal spaces) | ||
1105 | $retstr .= " " if length $trailing_and; | ||
1106 | $retstr .= $trailing_and; | ||
1107 | |||
1108 | return $retstr; | ||
1109 | |||
1110 | } | ||
1111 | |||
1112 | BEGIN { | ||
1113 | %HTML_Escapes = ( | ||
1114 | 'amp' => '&', # ampersand | ||
1115 | 'lt' => '<', # left chevron, less-than | ||
1116 | 'gt' => '>', # right chevron, greater-than | ||
1117 | 'quot' => '"', # double quote | ||
1118 | |||
1119 | "Aacute" => "A\\*'", # capital A, acute accent | ||
1120 | "aacute" => "a\\*'", # small a, acute accent | ||
1121 | "Acirc" => "A\\*^", # capital A, circumflex accent | ||
1122 | "acirc" => "a\\*^", # small a, circumflex accent | ||
1123 | "AElig" => '\*(AE', # capital AE diphthong (ligature) | ||
1124 | "aelig" => '\*(ae', # small ae diphthong (ligature) | ||
1125 | "Agrave" => "A\\*`", # capital A, grave accent | ||
1126 | "agrave" => "A\\*`", # small a, grave accent | ||
1127 | "Aring" => 'A\\*o', # capital A, ring | ||
1128 | "aring" => 'a\\*o', # small a, ring | ||
1129 | "Atilde" => 'A\\*~', # capital A, tilde | ||
1130 | "atilde" => 'a\\*~', # small a, tilde | ||
1131 | "Auml" => 'A\\*:', # capital A, dieresis or umlaut mark | ||
1132 | "auml" => 'a\\*:', # small a, dieresis or umlaut mark | ||
1133 | "Ccedil" => 'C\\*,', # capital C, cedilla | ||
1134 | "ccedil" => 'c\\*,', # small c, cedilla | ||
1135 | "Eacute" => "E\\*'", # capital E, acute accent | ||
1136 | "eacute" => "e\\*'", # small e, acute accent | ||
1137 | "Ecirc" => "E\\*^", # capital E, circumflex accent | ||
1138 | "ecirc" => "e\\*^", # small e, circumflex accent | ||
1139 | "Egrave" => "E\\*`", # capital E, grave accent | ||
1140 | "egrave" => "e\\*`", # small e, grave accent | ||
1141 | "ETH" => '\\*(D-', # capital Eth, Icelandic | ||
1142 | "eth" => '\\*(d-', # small eth, Icelandic | ||
1143 | "Euml" => "E\\*:", # capital E, dieresis or umlaut mark | ||
1144 | "euml" => "e\\*:", # small e, dieresis or umlaut mark | ||
1145 | "Iacute" => "I\\*'", # capital I, acute accent | ||
1146 | "iacute" => "i\\*'", # small i, acute accent | ||
1147 | "Icirc" => "I\\*^", # capital I, circumflex accent | ||
1148 | "icirc" => "i\\*^", # small i, circumflex accent | ||
1149 | "Igrave" => "I\\*`", # capital I, grave accent | ||
1150 | "igrave" => "i\\*`", # small i, grave accent | ||
1151 | "Iuml" => "I\\*:", # capital I, dieresis or umlaut mark | ||
1152 | "iuml" => "i\\*:", # small i, dieresis or umlaut mark | ||
1153 | "Ntilde" => 'N\*~', # capital N, tilde | ||
1154 | "ntilde" => 'n\*~', # small n, tilde | ||
1155 | "Oacute" => "O\\*'", # capital O, acute accent | ||
1156 | "oacute" => "o\\*'", # small o, acute accent | ||
1157 | "Ocirc" => "O\\*^", # capital O, circumflex accent | ||
1158 | "ocirc" => "o\\*^", # small o, circumflex accent | ||
1159 | "Ograve" => "O\\*`", # capital O, grave accent | ||
1160 | "ograve" => "o\\*`", # small o, grave accent | ||
1161 | "Oslash" => "O\\*/", # capital O, slash | ||
1162 | "oslash" => "o\\*/", # small o, slash | ||
1163 | "Otilde" => "O\\*~", # capital O, tilde | ||
1164 | "otilde" => "o\\*~", # small o, tilde | ||
1165 | "Ouml" => "O\\*:", # capital O, dieresis or umlaut mark | ||
1166 | "ouml" => "o\\*:", # small o, dieresis or umlaut mark | ||
1167 | "szlig" => '\*8', # small sharp s, German (sz ligature) | ||
1168 | "THORN" => '\\*(Th', # capital THORN, Icelandic | ||
1169 | "thorn" => '\\*(th',, # small thorn, Icelandic | ||
1170 | "Uacute" => "U\\*'", # capital U, acute accent | ||
1171 | "uacute" => "u\\*'", # small u, acute accent | ||
1172 | "Ucirc" => "U\\*^", # capital U, circumflex accent | ||
1173 | "ucirc" => "u\\*^", # small u, circumflex accent | ||
1174 | "Ugrave" => "U\\*`", # capital U, grave accent | ||
1175 | "ugrave" => "u\\*`", # small u, grave accent | ||
1176 | "Uuml" => "U\\*:", # capital U, dieresis or umlaut mark | ||
1177 | "uuml" => "u\\*:", # small u, dieresis or umlaut mark | ||
1178 | "Yacute" => "Y\\*'", # capital Y, acute accent | ||
1179 | "yacute" => "y\\*'", # small y, acute accent | ||
1180 | "yuml" => "y\\*:", # small y, dieresis or umlaut mark | ||
1181 | ); | ||
1182 | } | ||
1183 | |||
diff --git a/src/lib/libcrypto/util/pod2mantest b/src/lib/libcrypto/util/pod2mantest new file mode 100644 index 0000000000..384e683df4 --- /dev/null +++ b/src/lib/libcrypto/util/pod2mantest | |||
@@ -0,0 +1,58 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # This script is used by test/Makefile to check whether a sane 'pod2man' | ||
4 | # is installed. | ||
5 | # ('make install' should not try to run 'pod2man' if it does not exist or if | ||
6 | # it is a broken 'pod2man' version that is known to cause trouble. if we find | ||
7 | # the system 'pod2man' to be broken, we use our own copy instead) | ||
8 | # | ||
9 | # In any case, output an appropriate command line for running (or not | ||
10 | # running) pod2man. | ||
11 | |||
12 | |||
13 | IFS=: | ||
14 | if test "$OSTYPE" = "msdosdjgpp"; then IFS=";"; fi | ||
15 | |||
16 | try_without_dir=true | ||
17 | # First we try "pod2man", then "$dir/pod2man" for each item in $PATH. | ||
18 | for dir in dummy${IFS}$PATH; do | ||
19 | if [ "$try_without_dir" = true ]; then | ||
20 | # first iteration | ||
21 | pod2man=pod2man | ||
22 | try_without_dir=false | ||
23 | else | ||
24 | # second and later iterations | ||
25 | pod2man="$dir/pod2man" | ||
26 | if [ ! -f "$pod2man" ]; then # '-x' is not available on Ultrix | ||
27 | pod2man='' | ||
28 | fi | ||
29 | fi | ||
30 | |||
31 | if [ ! "$pod2man" = '' ]; then | ||
32 | failure=none | ||
33 | |||
34 | if "$pod2man" --section=1 --center=OpenSSL --release=dev pod2mantest.pod | fgrep OpenSSL >/dev/null; then | ||
35 | : | ||
36 | else | ||
37 | failure=BasicTest | ||
38 | fi | ||
39 | |||
40 | if [ "$failure" = none ]; then | ||
41 | if "$pod2man" --section=1 --center=OpenSSL --release=dev pod2mantest.pod | grep '^MARKER - ' >/dev/null; then | ||
42 | failure=MultilineTest | ||
43 | fi | ||
44 | fi | ||
45 | |||
46 | |||
47 | if [ "$failure" = none ]; then | ||
48 | echo "$pod2man" | ||
49 | exit 0 | ||
50 | fi | ||
51 | |||
52 | echo "$pod2man does not work properly ('$failure' failed). Looking for another pod2man ..." >&2 | ||
53 | fi | ||
54 | done | ||
55 | |||
56 | echo "No working pod2man found. Consider installing a new version." >&2 | ||
57 | echo "As a workaround, we'll use a bundled old copy of pod2man.pl." >&2 | ||
58 | echo "$1 ../../util/pod2man.pl" | ||
diff --git a/src/lib/libcrypto/util/pod2mantest.pod b/src/lib/libcrypto/util/pod2mantest.pod new file mode 100644 index 0000000000..5d2539a17f --- /dev/null +++ b/src/lib/libcrypto/util/pod2mantest.pod | |||
@@ -0,0 +1,15 @@ | |||
1 | =pod | ||
2 | |||
3 | =head1 NAME | ||
4 | |||
5 | foo, bar, | ||
6 | MARKER - test of multiline name section | ||
7 | |||
8 | =head1 DESCRIPTION | ||
9 | |||
10 | This is a test .pod file to see if we have a buggy pod2man or not. | ||
11 | If we have a buggy implementation, we will get a line matching the | ||
12 | regular expression "^ +MARKER - test of multiline name section *$" | ||
13 | at the end of the resulting document. | ||
14 | |||
15 | =cut | ||
diff --git a/src/lib/libcrypto/util/point.sh b/src/lib/libcrypto/util/point.sh new file mode 100644 index 0000000000..4790e08f8a --- /dev/null +++ b/src/lib/libcrypto/util/point.sh | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | rm -f "$2" | ||
4 | if test "$OSTYPE" = msdosdjgpp; then | ||
5 | cp "$1" "$2" | ||
6 | else | ||
7 | ln -s "$1" "$2" | ||
8 | fi | ||
9 | echo "$2 => $1" | ||
10 | |||
diff --git a/src/lib/libcrypto/util/selftest.pl b/src/lib/libcrypto/util/selftest.pl new file mode 100644 index 0000000000..276b81183d --- /dev/null +++ b/src/lib/libcrypto/util/selftest.pl | |||
@@ -0,0 +1,195 @@ | |||
1 | #!/usr/local/bin/perl -w | ||
2 | # | ||
3 | # Run the test suite and generate a report | ||
4 | # | ||
5 | |||
6 | if (! -f "Configure") { | ||
7 | print "Please run perl util/selftest.pl in the OpenSSL directory.\n"; | ||
8 | exit 1; | ||
9 | } | ||
10 | |||
11 | my $report="testlog"; | ||
12 | my $os="??"; | ||
13 | my $version="??"; | ||
14 | my $platform0="??"; | ||
15 | my $platform="??"; | ||
16 | my $options="??"; | ||
17 | my $last="??"; | ||
18 | my $ok=0; | ||
19 | my $cc="cc"; | ||
20 | my $cversion="??"; | ||
21 | my $sep="-----------------------------------------------------------------------------\n"; | ||
22 | my $not_our_fault="\nPlease ask your system administrator/vendor for more information.\n[Problems with your operating system setup should not be reported\nto the OpenSSL project.]\n"; | ||
23 | |||
24 | open(OUT,">$report") or die; | ||
25 | |||
26 | print OUT "OpenSSL self-test report:\n\n"; | ||
27 | |||
28 | $uname=`uname -a`; | ||
29 | $uname="??\n" if $uname eq ""; | ||
30 | |||
31 | $c=`sh config -t`; | ||
32 | foreach $_ (split("\n",$c)) { | ||
33 | $os=$1 if (/Operating system: (.*)$/); | ||
34 | $platform0=$1 if (/Configuring for (.*)$/); | ||
35 | } | ||
36 | |||
37 | system "sh config" if (! -f "Makefile.ssl"); | ||
38 | |||
39 | if (open(IN,"<Makefile.ssl")) { | ||
40 | while (<IN>) { | ||
41 | $version=$1 if (/^VERSION=(.*)$/); | ||
42 | $platform=$1 if (/^PLATFORM=(.*)$/); | ||
43 | $options=$1 if (/^OPTIONS=(.*)$/); | ||
44 | $cc=$1 if (/^CC= *(.*)$/); | ||
45 | } | ||
46 | close(IN); | ||
47 | } else { | ||
48 | print OUT "Error running config!\n"; | ||
49 | } | ||
50 | |||
51 | $cversion=`$cc -v 2>&1`; | ||
52 | $cversion=`$cc -V 2>&1` if $cversion =~ "usage"; | ||
53 | $cversion=`$cc -V |head -1` if $cversion =~ "Error"; | ||
54 | $cversion=`$cc --version` if $cversion eq ""; | ||
55 | $cversion =~ s/Reading specs.*\n//; | ||
56 | $cversion =~ s/usage.*\n//; | ||
57 | chomp $cversion; | ||
58 | |||
59 | if (open(IN,"<CHANGES")) { | ||
60 | while(<IN>) { | ||
61 | if (/\*\) (.{0,55})/ && !/applies to/) { | ||
62 | $last=$1; | ||
63 | last; | ||
64 | } | ||
65 | } | ||
66 | close(IN); | ||
67 | } | ||
68 | |||
69 | print OUT "OpenSSL version: $version\n"; | ||
70 | print OUT "Last change: $last...\n"; | ||
71 | print OUT "Options: $options\n" if $options ne ""; | ||
72 | print OUT "OS (uname): $uname"; | ||
73 | print OUT "OS (config): $os\n"; | ||
74 | print OUT "Target (default): $platform0\n"; | ||
75 | print OUT "Target: $platform\n"; | ||
76 | print OUT "Compiler: $cversion\n"; | ||
77 | print OUT "\n"; | ||
78 | |||
79 | print "Checking compiler...\n"; | ||
80 | if (open(TEST,">cctest.c")) { | ||
81 | print TEST "#include <stdio.h>\n#include <errno.h>\nmain(){printf(\"Hello world\\n\");}\n"; | ||
82 | close(TEST); | ||
83 | system("$cc -o cctest cctest.c"); | ||
84 | if (`./cctest` !~ /Hello world/) { | ||
85 | print OUT "Compiler doesn't work.\n"; | ||
86 | print OUT $not_our_fault; | ||
87 | goto err; | ||
88 | } | ||
89 | system("ar r cctest.a /dev/null"); | ||
90 | if (not -f "cctest.a") { | ||
91 | print OUT "Check your archive tool (ar).\n"; | ||
92 | print OUT $not_our_fault; | ||
93 | goto err; | ||
94 | } | ||
95 | } else { | ||
96 | print OUT "Can't create cctest.c\n"; | ||
97 | } | ||
98 | if (open(TEST,">cctest.c")) { | ||
99 | print TEST "#include <openssl/opensslv.h>\nmain(){printf(OPENSSL_VERSION_TEXT);}\n"; | ||
100 | close(TEST); | ||
101 | system("$cc -o cctest -Iinclude cctest.c"); | ||
102 | $cctest = `./cctest`; | ||
103 | if ($cctest !~ /OpenSSL $version/) { | ||
104 | if ($cctest =~ /OpenSSL/) { | ||
105 | print OUT "#include uses headers from different OpenSSL version!\n"; | ||
106 | } else { | ||
107 | print OUT "Can't compile test program!\n"; | ||
108 | } | ||
109 | print OUT $not_our_fault; | ||
110 | goto err; | ||
111 | } | ||
112 | } else { | ||
113 | print OUT "Can't create cctest.c\n"; | ||
114 | } | ||
115 | |||
116 | print "Running make...\n"; | ||
117 | if (system("make 2>&1 | tee make.log") > 255) { | ||
118 | |||
119 | print OUT "make failed!\n"; | ||
120 | if (open(IN,"<make.log")) { | ||
121 | print OUT $sep; | ||
122 | while (<IN>) { | ||
123 | print OUT; | ||
124 | } | ||
125 | close(IN); | ||
126 | print OUT $sep; | ||
127 | } else { | ||
128 | print OUT "make.log not found!\n"; | ||
129 | } | ||
130 | goto err; | ||
131 | } | ||
132 | |||
133 | $_=$options; | ||
134 | s/no-asm//; | ||
135 | s/no-shared//; | ||
136 | s/no-krb5//; | ||
137 | if (/no-/) | ||
138 | { | ||
139 | print OUT "Test skipped.\n"; | ||
140 | goto err; | ||
141 | } | ||
142 | |||
143 | print "Running make test...\n"; | ||
144 | if (system("make test 2>&1 | tee maketest.log") > 255) | ||
145 | { | ||
146 | print OUT "make test failed!\n"; | ||
147 | } else { | ||
148 | $ok=1; | ||
149 | } | ||
150 | |||
151 | if ($ok and open(IN,"<maketest.log")) { | ||
152 | while (<IN>) { | ||
153 | $ok=2 if /^platform: $platform/; | ||
154 | } | ||
155 | close(IN); | ||
156 | } | ||
157 | |||
158 | if ($ok != 2) { | ||
159 | print OUT "Failure!\n"; | ||
160 | if (open(IN,"<make.log")) { | ||
161 | print OUT $sep; | ||
162 | while (<IN>) { | ||
163 | print OUT; | ||
164 | } | ||
165 | close(IN); | ||
166 | print OUT $sep; | ||
167 | } else { | ||
168 | print OUT "make.log not found!\n"; | ||
169 | } | ||
170 | if (open(IN,"<maketest.log")) { | ||
171 | while (<IN>) { | ||
172 | print OUT; | ||
173 | } | ||
174 | close(IN); | ||
175 | print OUT $sep; | ||
176 | } else { | ||
177 | print OUT "maketest.log not found!\n"; | ||
178 | } | ||
179 | } else { | ||
180 | print OUT "Test passed.\n"; | ||
181 | } | ||
182 | err: | ||
183 | close(OUT); | ||
184 | |||
185 | print "\n"; | ||
186 | open(IN,"<$report") or die; | ||
187 | while (<IN>) { | ||
188 | if (/$sep/) { | ||
189 | print "[...]\n"; | ||
190 | last; | ||
191 | } | ||
192 | print; | ||
193 | } | ||
194 | print "\nTest report in file $report\n"; | ||
195 | |||
diff --git a/src/lib/libcrypto/util/shlib_wrap.sh b/src/lib/libcrypto/util/shlib_wrap.sh new file mode 100755 index 0000000000..dc5f5b1ce4 --- /dev/null +++ b/src/lib/libcrypto/util/shlib_wrap.sh | |||
@@ -0,0 +1,70 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ $# -ne 0 ] || set -x # debug mode without arguments:-) | ||
4 | |||
5 | THERE="`echo $0 | sed -e 's|[^/]*$||' 2>/dev/null`.." | ||
6 | [ -d "${THERE}" ] || exec "$@" # should never happen... | ||
7 | |||
8 | # Alternative to this is to parse ${THERE}/Makefile... | ||
9 | LIBCRYPTOSO="${THERE}/libcrypto.so" | ||
10 | if [ -f "$LIBCRYPTOSO" ]; then | ||
11 | while [ -h "$LIBCRYPTOSO" ]; do | ||
12 | LIBCRYPTOSO="${THERE}/`ls -l "$LIBCRYPTOSO" | sed -e 's|.*\-> ||'`" | ||
13 | done | ||
14 | SOSUFFIX=`echo ${LIBCRYPTOSO} | sed -e 's|.*\.so||' 2>/dev/null` | ||
15 | LIBSSLSO="${THERE}/libssl.so${SOSUFFIX}" | ||
16 | fi | ||
17 | |||
18 | SYSNAME=`(uname -s) 2>/dev/null`; | ||
19 | case "$SYSNAME" in | ||
20 | SunOS|IRIX*) | ||
21 | # SunOS and IRIX run-time linkers evaluate alternative | ||
22 | # variables depending on target ABI... | ||
23 | rld_var=LD_LIBRARY_PATH | ||
24 | case "`(/usr/bin/file "$LIBCRYPTOSO") 2>/dev/null`" in | ||
25 | *ELF\ 64*SPARC*) | ||
26 | [ -n "$LD_LIBRARY_PATH_64" ] && rld_var=LD_LIBRARY_PATH_64 | ||
27 | ;; | ||
28 | *ELF\ N32*MIPS*) | ||
29 | [ -n "$LD_LIBRARYN32_PATH" ] && rld_var=LD_LIBRARYN32_PATH | ||
30 | _RLDN32_LIST="$LIBCRYPTOSO:$LIBSSLSO:DEFAULT"; export _RLDN32_LIST | ||
31 | ;; | ||
32 | *ELF\ 64*MIPS*) | ||
33 | [ -n "$LD_LIBRARY64_PATH" ] && rld_var=LD_LIBRARY64_PATH | ||
34 | _RLD64_LIST="$LIBCRYPTOSO:$LIBSSLSO:DEFAULT"; export _RLD64_LIST | ||
35 | ;; | ||
36 | esac | ||
37 | eval $rld_var=\"${THERE}:'$'$rld_var\"; export $rld_var | ||
38 | unset rld_var | ||
39 | ;; | ||
40 | *) LD_LIBRARY_PATH="${THERE}:$LD_LIBRARY_PATH" # Linux, ELF HP-UX | ||
41 | DYLD_LIBRARY_PATH="${THERE}:$DYLD_LIBRARY_PATH" # MacOS X | ||
42 | SHLIB_PATH="${THERE}:$SHLIB_PATH" # legacy HP-UX | ||
43 | LIBPATH="${THERE}:$LIBPATH" # AIX, OS/2 | ||
44 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH | ||
45 | # Even though $PATH is adjusted [for Windows sake], it doesn't | ||
46 | # necessarily does the trick. Trouble is that with introduction | ||
47 | # of SafeDllSearchMode in XP/2003 it's more appropriate to copy | ||
48 | # .DLLs in vicinity of executable, which is done elsewhere... | ||
49 | if [ "$OSTYPE" != msdosdjgpp ]; then | ||
50 | PATH="${THERE}:$PATH"; export PATH | ||
51 | fi | ||
52 | ;; | ||
53 | esac | ||
54 | |||
55 | if [ -f "$LIBCRYPTOSO" ]; then | ||
56 | # Following three lines are major excuse for isolating them into | ||
57 | # this wrapper script. Original reason for setting LD_PRELOAD | ||
58 | # was to make it possible to pass 'make test' when user linked | ||
59 | # with -rpath pointing to previous version installation. Wrapping | ||
60 | # it into a script makes it possible to do so on multi-ABI | ||
61 | # platforms. | ||
62 | case "$SYSNAME" in | ||
63 | *BSD) LD_PRELOAD="$LIBCRYPTOSO:$LIBSSLSO" ;; # *BSD | ||
64 | *) LD_PRELOAD="$LIBCRYPTOSO $LIBSSLSO" ;; # SunOS, Linux, ELF HP-UX | ||
65 | esac | ||
66 | _RLD_LIST="$LIBCRYPTOSO:$LIBSSLSO:DEFAULT" # Tru64, o32 IRIX | ||
67 | export LD_PRELOAD _RLD_LIST | ||
68 | fi | ||
69 | |||
70 | exec "$@" | ||
diff --git a/src/lib/libcrypto/util/sp-diff.pl b/src/lib/libcrypto/util/sp-diff.pl new file mode 100644 index 0000000000..9d6c60387f --- /dev/null +++ b/src/lib/libcrypto/util/sp-diff.pl | |||
@@ -0,0 +1,80 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # This file takes as input, the files that have been output from | ||
4 | # ssleay speed. | ||
5 | # It prints a table of the relative differences with %100 being 'no difference' | ||
6 | # | ||
7 | |||
8 | ($#ARGV == 1) || die "$0 speedout1 speedout2\n"; | ||
9 | |||
10 | %one=&loadfile($ARGV[0]); | ||
11 | %two=&loadfile($ARGV[1]); | ||
12 | |||
13 | $line=0; | ||
14 | foreach $a ("md2","md4","md5","sha","sha1","rc4","des cfb","des cbc","des ede3", | ||
15 | "idea cfb","idea cbc","rc2 cfb","rc2 cbc","blowfish cbc","cast cbc") | ||
16 | { | ||
17 | if (defined($one{$a,8}) && defined($two{$a,8})) | ||
18 | { | ||
19 | print "type 8 byte% 64 byte% 256 byte% 1024 byte% 8192 byte%\n" | ||
20 | unless $line; | ||
21 | $line++; | ||
22 | printf "%-12s ",$a; | ||
23 | foreach $b (8,64,256,1024,8192) | ||
24 | { | ||
25 | $r=$two{$a,$b}/$one{$a,$b}*100; | ||
26 | printf "%12.2f",$r; | ||
27 | } | ||
28 | print "\n"; | ||
29 | } | ||
30 | } | ||
31 | |||
32 | foreach $a ( | ||
33 | "rsa 512","rsa 1024","rsa 2048","rsa 4096", | ||
34 | "dsa 512","dsa 1024","dsa 2048", | ||
35 | ) | ||
36 | { | ||
37 | if (defined($one{$a,1}) && defined($two{$a,1})) | ||
38 | { | ||
39 | $r1=($one{$a,1}/$two{$a,1})*100; | ||
40 | $r2=($one{$a,2}/$two{$a,2})*100; | ||
41 | printf "$a bits %% %6.2f %% %6.2f\n",$r1,$r2; | ||
42 | } | ||
43 | } | ||
44 | |||
45 | sub loadfile | ||
46 | { | ||
47 | local($file)=@_; | ||
48 | local($_,%ret); | ||
49 | |||
50 | open(IN,"<$file") || die "unable to open '$file' for input\n"; | ||
51 | $header=1; | ||
52 | while (<IN>) | ||
53 | { | ||
54 | $header=0 if /^[dr]sa/; | ||
55 | if (/^type/) { $header=0; next; } | ||
56 | next if $header; | ||
57 | chop; | ||
58 | @a=split; | ||
59 | if ($a[0] =~ /^[dr]sa$/) | ||
60 | { | ||
61 | ($n,$t1,$t2)=($_ =~ /^([dr]sa\s+\d+)\s+bits\s+([.\d]+)s\s+([.\d]+)/); | ||
62 | $ret{$n,1}=$t1; | ||
63 | $ret{$n,2}=$t2; | ||
64 | } | ||
65 | else | ||
66 | { | ||
67 | $n=join(' ',grep(/[^k]$/,@a)); | ||
68 | @k=grep(s/k$//,@a); | ||
69 | |||
70 | $ret{$n, 8}=$k[0]; | ||
71 | $ret{$n, 64}=$k[1]; | ||
72 | $ret{$n, 256}=$k[2]; | ||
73 | $ret{$n,1024}=$k[3]; | ||
74 | $ret{$n,8192}=$k[4]; | ||
75 | } | ||
76 | } | ||
77 | close(IN); | ||
78 | return(%ret); | ||
79 | } | ||
80 | |||
diff --git a/src/lib/libcrypto/util/speed.sh b/src/lib/libcrypto/util/speed.sh new file mode 100644 index 0000000000..f489706197 --- /dev/null +++ b/src/lib/libcrypto/util/speed.sh | |||
@@ -0,0 +1,39 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # | ||
4 | # This is a ugly script use, in conjuction with editing the 'b' | ||
5 | # configuration in the $(TOP)/Configure script which will | ||
6 | # output when finished a file called speed.log which is the | ||
7 | # timings of SSLeay with various options turned on or off. | ||
8 | # | ||
9 | # from the $(TOP) directory | ||
10 | # Edit Configure, modifying things to do with the b/bl-4c-2c etc | ||
11 | # configurations. | ||
12 | # | ||
13 | |||
14 | make clean | ||
15 | perl Configure b | ||
16 | make | ||
17 | apps/ssleay version -v -b -f >speed.1 | ||
18 | apps/ssleay speed >speed.1l | ||
19 | |||
20 | perl Configure bl-4c-2c | ||
21 | /bin/rm -f crypto/rc4/*.o crypto/bn/bn*.o crypto/md2/md2_dgst.o | ||
22 | make | ||
23 | apps/ssleay speed rc4 rsa md2 >speed.2l | ||
24 | |||
25 | perl Configure bl-4c-ri | ||
26 | /bin/rm -f crypto/rc4/rc4*.o | ||
27 | make | ||
28 | apps/ssleay speed rc4 >speed.3l | ||
29 | |||
30 | perl Configure b2-is-ri-dp | ||
31 | /bin/rm -f crypto/idea/i_*.o crypto/rc4/*.o crypto/des/ecb_enc.o crypto/bn/bn*.o | ||
32 | apps/ssleay speed rsa rc4 idea des >speed.4l | ||
33 | |||
34 | cat speed.1 >speed.log | ||
35 | cat speed.1l >>speed.log | ||
36 | perl util/sp-diff.pl speed.1l speed.2l >>speed.log | ||
37 | perl util/sp-diff.pl speed.1l speed.3l >>speed.log | ||
38 | perl util/sp-diff.pl speed.1l speed.4l >>speed.log | ||
39 | |||
diff --git a/src/lib/libcrypto/util/src-dep.pl b/src/lib/libcrypto/util/src-dep.pl new file mode 100644 index 0000000000..ad997e4746 --- /dev/null +++ b/src/lib/libcrypto/util/src-dep.pl | |||
@@ -0,0 +1,147 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | |||
3 | # we make up an array of | ||
4 | # $file{function_name}=filename; | ||
5 | # $unres{filename}="func1 func2 ...." | ||
6 | $debug=1; | ||
7 | #$nm_func="parse_linux"; | ||
8 | $nm_func="parse_solaris"; | ||
9 | |||
10 | foreach (@ARGV) | ||
11 | { | ||
12 | &$nm_func($_); | ||
13 | } | ||
14 | |||
15 | foreach $file (sort keys %unres) | ||
16 | { | ||
17 | @a=split(/\s+/,$unres{$file}); | ||
18 | %ff=(); | ||
19 | foreach $func (@a) | ||
20 | { | ||
21 | $f=$file{$func}; | ||
22 | $ff{$f}=1 if $f ne ""; | ||
23 | } | ||
24 | |||
25 | foreach $a (keys %ff) | ||
26 | { $we_need{$file}.="$a "; } | ||
27 | } | ||
28 | |||
29 | foreach $file (sort keys %we_need) | ||
30 | { | ||
31 | # print " $file $we_need{$file}\n"; | ||
32 | foreach $bit (split(/\s+/,$we_need{$file})) | ||
33 | { push(@final,&walk($bit)); } | ||
34 | |||
35 | foreach (@final) { $fin{$_}=1; } | ||
36 | @final=""; | ||
37 | foreach (sort keys %fin) | ||
38 | { push(@final,$_); } | ||
39 | |||
40 | print "$file: @final\n"; | ||
41 | } | ||
42 | |||
43 | sub walk | ||
44 | { | ||
45 | local($f)=@_; | ||
46 | local(@a,%seen,@ret,$r); | ||
47 | |||
48 | @ret=""; | ||
49 | $f =~ s/^\s+//; | ||
50 | $f =~ s/\s+$//; | ||
51 | return "" if ($f =~ "^\s*$"); | ||
52 | |||
53 | return(split(/\s/,$done{$f})) if defined ($done{$f}); | ||
54 | |||
55 | return if $in{$f} > 0; | ||
56 | $in{$f}++; | ||
57 | push(@ret,$f); | ||
58 | foreach $r (split(/\s+/,$we_need{$f})) | ||
59 | { | ||
60 | push(@ret,&walk($r)); | ||
61 | } | ||
62 | $in{$f}--; | ||
63 | $done{$f}=join(" ",@ret); | ||
64 | return(@ret); | ||
65 | } | ||
66 | |||
67 | sub parse_linux | ||
68 | { | ||
69 | local($name)=@_; | ||
70 | |||
71 | open(IN,"nm $name|") || die "unable to run 'nn $name':$!\n"; | ||
72 | while (<IN>) | ||
73 | { | ||
74 | chop; | ||
75 | next if /^\s*$/; | ||
76 | if (/^[^[](.*):$/) | ||
77 | { | ||
78 | $file=$1; | ||
79 | $file="$1.c" if /\[(.*).o\]/; | ||
80 | print STDERR "$file\n"; | ||
81 | $we_need{$file}=" "; | ||
82 | next; | ||
83 | } | ||
84 | |||
85 | @a=split(/\s*\|\s*/); | ||
86 | next unless $#a == 7; | ||
87 | next unless $a[4] eq "GLOB"; | ||
88 | if ($a[6] eq "UNDEF") | ||
89 | { | ||
90 | $unres{$file}.=$a[7]." "; | ||
91 | } | ||
92 | else | ||
93 | { | ||
94 | if ($file{$a[7]} ne "") | ||
95 | { | ||
96 | print STDERR "duplicate definition of $a[7],\n$file{$a[7]} and $file \n"; | ||
97 | } | ||
98 | else | ||
99 | { | ||
100 | $file{$a[7]}=$file; | ||
101 | } | ||
102 | } | ||
103 | } | ||
104 | close(IN); | ||
105 | } | ||
106 | |||
107 | sub parse_solaris | ||
108 | { | ||
109 | local($name)=@_; | ||
110 | |||
111 | open(IN,"nm $name|") || die "unable to run 'nn $name':$!\n"; | ||
112 | while (<IN>) | ||
113 | { | ||
114 | chop; | ||
115 | next if /^\s*$/; | ||
116 | if (/^(\S+):$/) | ||
117 | { | ||
118 | $file=$1; | ||
119 | #$file="$1.c" if $file =~ /^(.*).o$/; | ||
120 | print STDERR "$file\n"; | ||
121 | $we_need{$file}=" "; | ||
122 | next; | ||
123 | } | ||
124 | @a=split(/\s*\|\s*/); | ||
125 | next unless $#a == 7; | ||
126 | next unless $a[4] eq "GLOB"; | ||
127 | if ($a[6] eq "UNDEF") | ||
128 | { | ||
129 | $unres{$file}.=$a[7]." "; | ||
130 | print STDERR "$file needs $a[7]\n" if $debug; | ||
131 | } | ||
132 | else | ||
133 | { | ||
134 | if ($file{$a[7]} ne "") | ||
135 | { | ||
136 | print STDERR "duplicate definition of $a[7],\n$file{$a[7]} and $file \n"; | ||
137 | } | ||
138 | else | ||
139 | { | ||
140 | $file{$a[7]}=$file; | ||
141 | print STDERR "$file has $a[7]\n" if $debug; | ||
142 | } | ||
143 | } | ||
144 | } | ||
145 | close(IN); | ||
146 | } | ||
147 | |||
diff --git a/src/lib/libcrypto/util/ssleay.num b/src/lib/libcrypto/util/ssleay.num new file mode 100644 index 0000000000..46e38a131f --- /dev/null +++ b/src/lib/libcrypto/util/ssleay.num | |||
@@ -0,0 +1,217 @@ | |||
1 | ERR_load_SSL_strings 1 EXIST::FUNCTION: | ||
2 | SSL_CIPHER_description 2 EXIST::FUNCTION: | ||
3 | SSL_CTX_add_client_CA 3 EXIST::FUNCTION: | ||
4 | SSL_CTX_add_session 4 EXIST::FUNCTION: | ||
5 | SSL_CTX_check_private_key 5 EXIST::FUNCTION: | ||
6 | SSL_CTX_ctrl 6 EXIST::FUNCTION: | ||
7 | SSL_CTX_flush_sessions 7 EXIST::FUNCTION: | ||
8 | SSL_CTX_free 8 EXIST::FUNCTION: | ||
9 | SSL_CTX_get_client_CA_list 9 EXIST::FUNCTION: | ||
10 | SSL_CTX_get_verify_callback 10 EXIST::FUNCTION: | ||
11 | SSL_CTX_get_verify_mode 11 EXIST::FUNCTION: | ||
12 | SSL_CTX_new 12 EXIST::FUNCTION: | ||
13 | SSL_CTX_remove_session 13 EXIST::FUNCTION: | ||
14 | SSL_CTX_set_cipher_list 15 EXIST::FUNCTION: | ||
15 | SSL_CTX_set_client_CA_list 16 EXIST::FUNCTION: | ||
16 | SSL_CTX_set_default_passwd_cb 17 EXIST::FUNCTION: | ||
17 | SSL_CTX_set_ssl_version 19 EXIST::FUNCTION: | ||
18 | SSL_CTX_set_verify 21 EXIST::FUNCTION: | ||
19 | SSL_CTX_use_PrivateKey 22 EXIST::FUNCTION: | ||
20 | SSL_CTX_use_PrivateKey_ASN1 23 EXIST::FUNCTION: | ||
21 | SSL_CTX_use_PrivateKey_file 24 EXIST::FUNCTION:STDIO | ||
22 | SSL_CTX_use_RSAPrivateKey 25 EXIST::FUNCTION:RSA | ||
23 | SSL_CTX_use_RSAPrivateKey_ASN1 26 EXIST::FUNCTION:RSA | ||
24 | SSL_CTX_use_RSAPrivateKey_file 27 EXIST::FUNCTION:RSA,STDIO | ||
25 | SSL_CTX_use_certificate 28 EXIST::FUNCTION: | ||
26 | SSL_CTX_use_certificate_ASN1 29 EXIST::FUNCTION: | ||
27 | SSL_CTX_use_certificate_file 30 EXIST::FUNCTION:STDIO | ||
28 | SSL_SESSION_free 31 EXIST::FUNCTION: | ||
29 | SSL_SESSION_new 32 EXIST::FUNCTION: | ||
30 | SSL_SESSION_print 33 EXIST::FUNCTION:BIO | ||
31 | SSL_SESSION_print_fp 34 EXIST::FUNCTION:FP_API | ||
32 | SSL_accept 35 EXIST::FUNCTION: | ||
33 | SSL_add_client_CA 36 EXIST::FUNCTION: | ||
34 | SSL_alert_desc_string 37 EXIST::FUNCTION: | ||
35 | SSL_alert_desc_string_long 38 EXIST::FUNCTION: | ||
36 | SSL_alert_type_string 39 EXIST::FUNCTION: | ||
37 | SSL_alert_type_string_long 40 EXIST::FUNCTION: | ||
38 | SSL_check_private_key 41 EXIST::FUNCTION: | ||
39 | SSL_clear 42 EXIST::FUNCTION: | ||
40 | SSL_connect 43 EXIST::FUNCTION: | ||
41 | SSL_copy_session_id 44 EXIST::FUNCTION: | ||
42 | SSL_ctrl 45 EXIST::FUNCTION: | ||
43 | SSL_dup 46 EXIST::FUNCTION: | ||
44 | SSL_dup_CA_list 47 EXIST::FUNCTION: | ||
45 | SSL_free 48 EXIST::FUNCTION: | ||
46 | SSL_get_certificate 49 EXIST::FUNCTION: | ||
47 | SSL_get_cipher_list 52 EXIST::FUNCTION: | ||
48 | SSL_get_ciphers 55 EXIST::FUNCTION: | ||
49 | SSL_get_client_CA_list 56 EXIST::FUNCTION: | ||
50 | SSL_get_default_timeout 57 EXIST::FUNCTION: | ||
51 | SSL_get_error 58 EXIST::FUNCTION: | ||
52 | SSL_get_fd 59 EXIST::FUNCTION: | ||
53 | SSL_get_peer_cert_chain 60 EXIST::FUNCTION: | ||
54 | SSL_get_peer_certificate 61 EXIST::FUNCTION: | ||
55 | SSL_get_rbio 63 EXIST::FUNCTION:BIO | ||
56 | SSL_get_read_ahead 64 EXIST::FUNCTION: | ||
57 | SSL_get_shared_ciphers 65 EXIST::FUNCTION: | ||
58 | SSL_get_ssl_method 66 EXIST::FUNCTION: | ||
59 | SSL_get_verify_callback 69 EXIST::FUNCTION: | ||
60 | SSL_get_verify_mode 70 EXIST::FUNCTION: | ||
61 | SSL_get_version 71 EXIST::FUNCTION: | ||
62 | SSL_get_wbio 72 EXIST::FUNCTION:BIO | ||
63 | SSL_load_client_CA_file 73 EXIST::FUNCTION:STDIO | ||
64 | SSL_load_error_strings 74 EXIST::FUNCTION: | ||
65 | SSL_new 75 EXIST::FUNCTION: | ||
66 | SSL_peek 76 EXIST::FUNCTION: | ||
67 | SSL_pending 77 EXIST::FUNCTION: | ||
68 | SSL_read 78 EXIST::FUNCTION: | ||
69 | SSL_renegotiate 79 EXIST::FUNCTION: | ||
70 | SSL_rstate_string 80 EXIST::FUNCTION: | ||
71 | SSL_rstate_string_long 81 EXIST::FUNCTION: | ||
72 | SSL_set_accept_state 82 EXIST::FUNCTION: | ||
73 | SSL_set_bio 83 EXIST::FUNCTION:BIO | ||
74 | SSL_set_cipher_list 84 EXIST::FUNCTION: | ||
75 | SSL_set_client_CA_list 85 EXIST::FUNCTION: | ||
76 | SSL_set_connect_state 86 EXIST::FUNCTION: | ||
77 | SSL_set_fd 87 EXIST::FUNCTION:SOCK | ||
78 | SSL_set_read_ahead 88 EXIST::FUNCTION: | ||
79 | SSL_set_rfd 89 EXIST::FUNCTION:SOCK | ||
80 | SSL_set_session 90 EXIST::FUNCTION: | ||
81 | SSL_set_ssl_method 91 EXIST::FUNCTION: | ||
82 | SSL_set_verify 94 EXIST::FUNCTION: | ||
83 | SSL_set_wfd 95 EXIST::FUNCTION:SOCK | ||
84 | SSL_shutdown 96 EXIST::FUNCTION: | ||
85 | SSL_state_string 97 EXIST::FUNCTION: | ||
86 | SSL_state_string_long 98 EXIST::FUNCTION: | ||
87 | SSL_use_PrivateKey 99 EXIST::FUNCTION: | ||
88 | SSL_use_PrivateKey_ASN1 100 EXIST::FUNCTION: | ||
89 | SSL_use_PrivateKey_file 101 EXIST::FUNCTION:STDIO | ||
90 | SSL_use_RSAPrivateKey 102 EXIST::FUNCTION:RSA | ||
91 | SSL_use_RSAPrivateKey_ASN1 103 EXIST::FUNCTION:RSA | ||
92 | SSL_use_RSAPrivateKey_file 104 EXIST::FUNCTION:RSA,STDIO | ||
93 | SSL_use_certificate 105 EXIST::FUNCTION: | ||
94 | SSL_use_certificate_ASN1 106 EXIST::FUNCTION: | ||
95 | SSL_use_certificate_file 107 EXIST::FUNCTION:STDIO | ||
96 | SSL_write 108 EXIST::FUNCTION: | ||
97 | SSLeay_add_ssl_algorithms 109 NOEXIST::FUNCTION: | ||
98 | SSLv23_client_method 110 EXIST::FUNCTION:RSA | ||
99 | SSLv23_method 111 EXIST::FUNCTION:RSA | ||
100 | SSLv23_server_method 112 EXIST::FUNCTION:RSA | ||
101 | SSLv2_client_method 113 EXIST::FUNCTION:RSA | ||
102 | SSLv2_method 114 EXIST::FUNCTION:RSA | ||
103 | SSLv2_server_method 115 EXIST::FUNCTION:RSA | ||
104 | SSLv3_client_method 116 EXIST::FUNCTION: | ||
105 | SSLv3_method 117 EXIST::FUNCTION: | ||
106 | SSLv3_server_method 118 EXIST::FUNCTION: | ||
107 | d2i_SSL_SESSION 119 EXIST::FUNCTION: | ||
108 | i2d_SSL_SESSION 120 EXIST::FUNCTION: | ||
109 | BIO_f_ssl 121 EXIST::FUNCTION:BIO | ||
110 | BIO_new_ssl 122 EXIST::FUNCTION:BIO | ||
111 | BIO_proxy_ssl_copy_session_id 123 NOEXIST::FUNCTION: | ||
112 | BIO_ssl_copy_session_id 124 EXIST::FUNCTION:BIO | ||
113 | SSL_do_handshake 125 EXIST::FUNCTION: | ||
114 | SSL_get_privatekey 126 EXIST::FUNCTION: | ||
115 | SSL_get_current_cipher 127 EXIST::FUNCTION: | ||
116 | SSL_CIPHER_get_bits 128 EXIST::FUNCTION: | ||
117 | SSL_CIPHER_get_version 129 EXIST::FUNCTION: | ||
118 | SSL_CIPHER_get_name 130 EXIST::FUNCTION: | ||
119 | BIO_ssl_shutdown 131 EXIST::FUNCTION:BIO | ||
120 | SSL_SESSION_cmp 132 EXIST::FUNCTION: | ||
121 | SSL_SESSION_hash 133 EXIST::FUNCTION: | ||
122 | SSL_SESSION_get_time 134 EXIST::FUNCTION: | ||
123 | SSL_SESSION_set_time 135 EXIST::FUNCTION: | ||
124 | SSL_SESSION_get_timeout 136 EXIST::FUNCTION: | ||
125 | SSL_SESSION_set_timeout 137 EXIST::FUNCTION: | ||
126 | SSL_CTX_get_ex_data 138 EXIST::FUNCTION: | ||
127 | SSL_CTX_get_quiet_shutdown 140 EXIST::FUNCTION: | ||
128 | SSL_CTX_load_verify_locations 141 EXIST::FUNCTION: | ||
129 | SSL_CTX_set_default_verify_paths 142 EXIST:!VMS:FUNCTION: | ||
130 | SSL_CTX_set_def_verify_paths 142 EXIST:VMS:FUNCTION: | ||
131 | SSL_CTX_set_ex_data 143 EXIST::FUNCTION: | ||
132 | SSL_CTX_set_quiet_shutdown 145 EXIST::FUNCTION: | ||
133 | SSL_SESSION_get_ex_data 146 EXIST::FUNCTION: | ||
134 | SSL_SESSION_set_ex_data 148 EXIST::FUNCTION: | ||
135 | SSL_get_SSL_CTX 150 EXIST::FUNCTION: | ||
136 | SSL_get_ex_data 151 EXIST::FUNCTION: | ||
137 | SSL_get_quiet_shutdown 153 EXIST::FUNCTION: | ||
138 | SSL_get_session 154 EXIST::FUNCTION: | ||
139 | SSL_get_shutdown 155 EXIST::FUNCTION: | ||
140 | SSL_get_verify_result 157 EXIST::FUNCTION: | ||
141 | SSL_set_ex_data 158 EXIST::FUNCTION: | ||
142 | SSL_set_info_callback 160 EXIST::FUNCTION: | ||
143 | SSL_set_quiet_shutdown 161 EXIST::FUNCTION: | ||
144 | SSL_set_shutdown 162 EXIST::FUNCTION: | ||
145 | SSL_set_verify_result 163 EXIST::FUNCTION: | ||
146 | SSL_version 164 EXIST::FUNCTION: | ||
147 | SSL_get_info_callback 165 EXIST::FUNCTION: | ||
148 | SSL_state 166 EXIST::FUNCTION: | ||
149 | SSL_CTX_get_ex_new_index 167 EXIST::FUNCTION: | ||
150 | SSL_SESSION_get_ex_new_index 168 EXIST::FUNCTION: | ||
151 | SSL_get_ex_new_index 169 EXIST::FUNCTION: | ||
152 | TLSv1_method 170 EXIST::FUNCTION: | ||
153 | TLSv1_server_method 171 EXIST::FUNCTION: | ||
154 | TLSv1_client_method 172 EXIST::FUNCTION: | ||
155 | BIO_new_buffer_ssl_connect 173 EXIST::FUNCTION:BIO | ||
156 | BIO_new_ssl_connect 174 EXIST::FUNCTION:BIO | ||
157 | SSL_get_ex_data_X509_STORE_CTX_idx 175 EXIST:!VMS:FUNCTION: | ||
158 | SSL_get_ex_d_X509_STORE_CTX_idx 175 EXIST:VMS:FUNCTION: | ||
159 | SSL_CTX_set_tmp_dh_callback 176 EXIST::FUNCTION:DH | ||
160 | SSL_CTX_set_tmp_rsa_callback 177 EXIST::FUNCTION:RSA | ||
161 | SSL_CTX_set_timeout 178 EXIST::FUNCTION: | ||
162 | SSL_CTX_get_timeout 179 EXIST::FUNCTION: | ||
163 | SSL_CTX_get_cert_store 180 EXIST::FUNCTION: | ||
164 | SSL_CTX_set_cert_store 181 EXIST::FUNCTION: | ||
165 | SSL_want 182 EXIST::FUNCTION: | ||
166 | SSL_library_init 183 EXIST::FUNCTION: | ||
167 | SSL_COMP_add_compression_method 184 EXIST::FUNCTION:COMP | ||
168 | SSL_add_file_cert_subjects_to_stack 185 EXIST:!VMS:FUNCTION:STDIO | ||
169 | SSL_add_file_cert_subjs_to_stk 185 EXIST:VMS:FUNCTION:STDIO | ||
170 | SSL_set_tmp_rsa_callback 186 EXIST::FUNCTION:RSA | ||
171 | SSL_set_tmp_dh_callback 187 EXIST::FUNCTION:DH | ||
172 | SSL_add_dir_cert_subjects_to_stack 188 EXIST:!VMS:FUNCTION:STDIO | ||
173 | SSL_add_dir_cert_subjs_to_stk 188 NOEXIST::FUNCTION: | ||
174 | SSL_set_session_id_context 189 EXIST::FUNCTION: | ||
175 | SSL_CTX_use_certificate_chain_file 222 EXIST:!VMS:FUNCTION:STDIO | ||
176 | SSL_CTX_use_cert_chain_file 222 EXIST:VMS:FUNCTION:STDIO | ||
177 | SSL_CTX_set_verify_depth 225 EXIST::FUNCTION: | ||
178 | SSL_set_verify_depth 226 EXIST::FUNCTION: | ||
179 | SSL_CTX_get_verify_depth 228 EXIST::FUNCTION: | ||
180 | SSL_get_verify_depth 229 EXIST::FUNCTION: | ||
181 | SSL_CTX_set_session_id_context 231 EXIST::FUNCTION: | ||
182 | SSL_CTX_set_cert_verify_callback 232 EXIST:!VMS:FUNCTION: | ||
183 | SSL_CTX_set_cert_verify_cb 232 EXIST:VMS:FUNCTION: | ||
184 | SSL_CTX_set_default_passwd_cb_userdata 235 EXIST:!VMS:FUNCTION: | ||
185 | SSL_CTX_set_def_passwd_cb_ud 235 EXIST:VMS:FUNCTION: | ||
186 | SSL_set_purpose 236 EXIST::FUNCTION: | ||
187 | SSL_CTX_set_trust 237 EXIST::FUNCTION: | ||
188 | SSL_CTX_set_purpose 238 EXIST::FUNCTION: | ||
189 | SSL_set_trust 239 EXIST::FUNCTION: | ||
190 | SSL_get_finished 240 EXIST::FUNCTION: | ||
191 | SSL_get_peer_finished 241 EXIST::FUNCTION: | ||
192 | SSL_get1_session 242 EXIST::FUNCTION: | ||
193 | SSL_CTX_callback_ctrl 243 EXIST::FUNCTION: | ||
194 | SSL_callback_ctrl 244 EXIST::FUNCTION: | ||
195 | SSL_CTX_sessions 245 EXIST::FUNCTION: | ||
196 | SSL_get_rfd 246 EXIST::FUNCTION: | ||
197 | SSL_get_wfd 247 EXIST::FUNCTION: | ||
198 | kssl_cget_tkt 248 EXIST::FUNCTION:KRB5 | ||
199 | SSL_has_matching_session_id 249 EXIST::FUNCTION: | ||
200 | kssl_err_set 250 EXIST::FUNCTION:KRB5 | ||
201 | kssl_ctx_show 251 EXIST::FUNCTION:KRB5 | ||
202 | kssl_validate_times 252 EXIST::FUNCTION:KRB5 | ||
203 | kssl_check_authent 253 EXIST::FUNCTION:KRB5 | ||
204 | kssl_ctx_new 254 EXIST::FUNCTION:KRB5 | ||
205 | kssl_build_principal_2 255 EXIST::FUNCTION:KRB5 | ||
206 | kssl_skip_confound 256 EXIST::FUNCTION:KRB5 | ||
207 | kssl_sget_tkt 257 EXIST::FUNCTION:KRB5 | ||
208 | SSL_set_generate_session_id 258 EXIST::FUNCTION: | ||
209 | kssl_ctx_setkey 259 EXIST::FUNCTION:KRB5 | ||
210 | kssl_ctx_setprinc 260 EXIST::FUNCTION:KRB5 | ||
211 | kssl_ctx_free 261 EXIST::FUNCTION:KRB5 | ||
212 | kssl_krb5_free_data_contents 262 EXIST::FUNCTION:KRB5 | ||
213 | kssl_ctx_setstring 263 EXIST::FUNCTION:KRB5 | ||
214 | SSL_CTX_set_generate_session_id 264 EXIST::FUNCTION: | ||
215 | SSL_renegotiate_pending 265 EXIST::FUNCTION: | ||
216 | SSL_CTX_set_msg_callback 266 EXIST::FUNCTION: | ||
217 | SSL_set_msg_callback 267 EXIST::FUNCTION: | ||
diff --git a/src/lib/libcrypto/util/tab_num.pl b/src/lib/libcrypto/util/tab_num.pl new file mode 100644 index 0000000000..a81ed0edc2 --- /dev/null +++ b/src/lib/libcrypto/util/tab_num.pl | |||
@@ -0,0 +1,17 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | |||
3 | $num=1; | ||
4 | $width=40; | ||
5 | |||
6 | while (<>) | ||
7 | { | ||
8 | chop; | ||
9 | |||
10 | $i=length($_); | ||
11 | |||
12 | $n=$width-$i; | ||
13 | $i=int(($n+7)/8); | ||
14 | print $_.("\t" x $i).$num."\n"; | ||
15 | $num++; | ||
16 | } | ||
17 | |||
diff --git a/src/lib/libcrypto/util/x86asm.sh b/src/lib/libcrypto/util/x86asm.sh new file mode 100644 index 0000000000..d2090a9849 --- /dev/null +++ b/src/lib/libcrypto/util/x86asm.sh | |||
@@ -0,0 +1,42 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | echo Generating x86 assember | ||
4 | echo Bignum | ||
5 | (cd crypto/bn/asm; perl x86.pl cpp > bn86unix.cpp) | ||
6 | (cd crypto/bn/asm; perl x86.pl win32 > bn-win32.asm) | ||
7 | |||
8 | echo DES | ||
9 | (cd crypto/des/asm; perl des-586.pl cpp > dx86unix.cpp) | ||
10 | (cd crypto/des/asm; perl des-586.pl win32 > d-win32.asm) | ||
11 | |||
12 | echo "crypt(3)" | ||
13 | (cd crypto/des/asm; perl crypt586.pl cpp > yx86unix.cpp) | ||
14 | (cd crypto/des/asm; perl crypt586.pl win32 > y-win32.asm) | ||
15 | |||
16 | echo Blowfish | ||
17 | (cd crypto/bf/asm; perl bf-586.pl cpp > bx86unix.cpp) | ||
18 | (cd crypto/bf/asm; perl bf-586.pl win32 > b-win32.asm) | ||
19 | |||
20 | echo CAST5 | ||
21 | (cd crypto/cast/asm; perl cast-586.pl cpp > cx86unix.cpp) | ||
22 | (cd crypto/cast/asm; perl cast-586.pl win32 > c-win32.asm) | ||
23 | |||
24 | echo RC4 | ||
25 | (cd crypto/rc4/asm; perl rc4-586.pl cpp > rx86unix.cpp) | ||
26 | (cd crypto/rc4/asm; perl rc4-586.pl win32 > r4-win32.asm) | ||
27 | |||
28 | echo MD5 | ||
29 | (cd crypto/md5/asm; perl md5-586.pl cpp > mx86unix.cpp) | ||
30 | (cd crypto/md5/asm; perl md5-586.pl win32 > m5-win32.asm) | ||
31 | |||
32 | echo SHA1 | ||
33 | (cd crypto/sha/asm; perl sha1-586.pl cpp > sx86unix.cpp) | ||
34 | (cd crypto/sha/asm; perl sha1-586.pl win32 > s1-win32.asm) | ||
35 | |||
36 | echo RIPEMD160 | ||
37 | (cd crypto/ripemd/asm; perl rmd-586.pl cpp > rm86unix.cpp) | ||
38 | (cd crypto/ripemd/asm; perl rmd-586.pl win32 > rm-win32.asm) | ||
39 | |||
40 | echo RC5/32 | ||
41 | (cd crypto/rc5/asm; perl rc5-586.pl cpp > r586unix.cpp) | ||
42 | (cd crypto/rc5/asm; perl rc5-586.pl win32 > r5-win32.asm) | ||