summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/util')
-rw-r--r--src/lib/libcrypto/util/clean-depend.pl4
-rw-r--r--src/lib/libcrypto/util/libeay.num127
-rw-r--r--src/lib/libcrypto/util/mkdef.pl26
-rw-r--r--src/lib/libcrypto/util/mklink.pl7
-rw-r--r--src/lib/libcrypto/util/pod2man.pl2
5 files changed, 98 insertions, 68 deletions
diff --git a/src/lib/libcrypto/util/clean-depend.pl b/src/lib/libcrypto/util/clean-depend.pl
index af676af751..0193e726fe 100644
--- a/src/lib/libcrypto/util/clean-depend.pl
+++ b/src/lib/libcrypto/util/clean-depend.pl
@@ -15,8 +15,8 @@ while(<STDIN>) {
15 my ($file,$deps)=/^(.*): (.*)$/; 15 my ($file,$deps)=/^(.*): (.*)$/;
16 next if !defined $deps; 16 next if !defined $deps;
17 my @deps=split ' ',$deps; 17 my @deps=split ' ',$deps;
18 @deps=grep(!/^\/usr\/include/,@deps); 18 @deps=grep(!/^\//,@deps);
19 @deps=grep(!/^\/usr\/lib\/gcc-lib/,@deps); 19 @deps=grep(!/^\\$/,@deps);
20 push @{$files{$file}},@deps; 20 push @{$files{$file}},@deps;
21} 21}
22 22
diff --git a/src/lib/libcrypto/util/libeay.num b/src/lib/libcrypto/util/libeay.num
index e8eebbf50c..84ae840804 100644
--- a/src/lib/libcrypto/util/libeay.num
+++ b/src/lib/libcrypto/util/libeay.num
@@ -301,8 +301,8 @@ EVP_des_ede_cfb 308 EXIST::FUNCTION:DES
301EVP_des_ede_ofb 309 EXIST::FUNCTION:DES 301EVP_des_ede_ofb 309 EXIST::FUNCTION:DES
302EVP_des_ofb 310 EXIST::FUNCTION:DES 302EVP_des_ofb 310 EXIST::FUNCTION:DES
303EVP_desx_cbc 311 EXIST::FUNCTION:DES 303EVP_desx_cbc 311 EXIST::FUNCTION:DES
304EVP_dss 312 EXIST::FUNCTION:DSA 304EVP_dss 312 EXIST::FUNCTION:DSA,SHA
305EVP_dss1 313 EXIST::FUNCTION:DSA 305EVP_dss1 313 EXIST::FUNCTION:DSA,SHA
306EVP_enc_null 314 EXIST::FUNCTION: 306EVP_enc_null 314 EXIST::FUNCTION:
307EVP_get_cipherbyname 315 EXIST::FUNCTION: 307EVP_get_cipherbyname 315 EXIST::FUNCTION:
308EVP_get_digestbyname 316 EXIST::FUNCTION: 308EVP_get_digestbyname 316 EXIST::FUNCTION:
@@ -779,7 +779,7 @@ des_ede3_cfb64_encrypt 786 EXIST::FUNCTION:DES
779des_ede3_ofb64_encrypt 787 EXIST::FUNCTION:DES 779des_ede3_ofb64_encrypt 787 EXIST::FUNCTION:DES
780des_enc_read 788 EXIST::FUNCTION:DES 780des_enc_read 788 EXIST::FUNCTION:DES
781des_enc_write 789 EXIST::FUNCTION:DES 781des_enc_write 789 EXIST::FUNCTION:DES
782des_encrypt 790 EXIST::FUNCTION:DES 782des_encrypt1 790 EXIST::FUNCTION:DES
783des_encrypt2 791 EXIST::FUNCTION:DES 783des_encrypt2 791 EXIST::FUNCTION:DES
784des_encrypt3 792 EXIST::FUNCTION:DES 784des_encrypt3 792 EXIST::FUNCTION:DES
785des_fcrypt 793 EXIST::FUNCTION:DES 785des_fcrypt 793 EXIST::FUNCTION:DES
@@ -926,7 +926,7 @@ PKCS7_add_signature 938 EXIST::FUNCTION:
926PKCS7_cert_from_signer_info 939 EXIST::FUNCTION: 926PKCS7_cert_from_signer_info 939 EXIST::FUNCTION:
927PKCS7_get_signer_info 940 EXIST::FUNCTION: 927PKCS7_get_signer_info 940 EXIST::FUNCTION:
928EVP_delete_alias 941 NOEXIST::FUNCTION: 928EVP_delete_alias 941 NOEXIST::FUNCTION:
929EVP_mdc2 942 EXIST::FUNCTION: 929EVP_mdc2 942 EXIST::FUNCTION:MDC2
930PEM_read_bio_RSAPublicKey 943 EXIST::FUNCTION:RSA 930PEM_read_bio_RSAPublicKey 943 EXIST::FUNCTION:RSA
931PEM_write_bio_RSAPublicKey 944 EXIST::FUNCTION:RSA 931PEM_write_bio_RSAPublicKey 944 EXIST::FUNCTION:RSA
932d2i_RSAPublicKey_bio 945 EXIST::FUNCTION:RSA 932d2i_RSAPublicKey_bio 945 EXIST::FUNCTION:RSA
@@ -1870,61 +1870,64 @@ X509_keyid_set1 2460 EXIST::FUNCTION:
1870BIO_next 2461 EXIST::FUNCTION: 1870BIO_next 2461 EXIST::FUNCTION:
1871DSO_METHOD_vms 2462 EXIST::FUNCTION: 1871DSO_METHOD_vms 2462 EXIST::FUNCTION:
1872BIO_f_linebuffer 2463 EXIST:VMS:FUNCTION: 1872BIO_f_linebuffer 2463 EXIST:VMS:FUNCTION:
1873ERR_load_ENGINE_strings 2464 EXIST::FUNCTION: 1873BN_bntest_rand 2464 EXIST::FUNCTION:
1874ENGINE_set_DSA 2465 EXIST::FUNCTION: 1874OPENSSL_issetugid 2465 EXIST::FUNCTION:
1875ENGINE_get_finish_function 2466 EXIST::FUNCTION: 1875BN_rand_range 2466 EXIST::FUNCTION:
1876ENGINE_get_default_RSA 2467 EXIST::FUNCTION: 1876ERR_load_ENGINE_strings 2467 EXIST::FUNCTION:
1877ENGINE_get_BN_mod_exp 2468 EXIST::FUNCTION: 1877ENGINE_set_DSA 2468 EXIST::FUNCTION:
1878DSA_get_default_openssl_method 2469 EXIST::FUNCTION:DSA 1878ENGINE_get_finish_function 2469 EXIST::FUNCTION:
1879ENGINE_set_DH 2470 EXIST::FUNCTION: 1879ENGINE_get_default_RSA 2470 EXIST::FUNCTION:
1880ENGINE_set_default_BN_mod_exp_crt 2471 EXIST:!VMS:FUNCTION: 1880ENGINE_get_BN_mod_exp 2471 EXIST::FUNCTION:
1881ENGINE_set_def_BN_mod_exp_crt 2471 EXIST:VMS:FUNCTION: 1881DSA_get_default_openssl_method 2472 EXIST::FUNCTION:DSA
1882ENGINE_init 2472 EXIST::FUNCTION: 1882ENGINE_set_DH 2473 EXIST::FUNCTION:
1883DH_get_default_openssl_method 2473 EXIST::FUNCTION:DH 1883ENGINE_set_default_BN_mod_exp_crt 2474 EXIST:!VMS:FUNCTION:
1884RSA_set_default_openssl_method 2474 EXIST::FUNCTION:RSA 1884ENGINE_set_def_BN_mod_exp_crt 2474 EXIST:VMS:FUNCTION:
1885ENGINE_finish 2475 EXIST::FUNCTION: 1885ENGINE_init 2475 EXIST::FUNCTION:
1886ENGINE_load_public_key 2476 EXIST::FUNCTION: 1886DH_get_default_openssl_method 2476 EXIST::FUNCTION:DH
1887ENGINE_get_DH 2477 EXIST::FUNCTION: 1887RSA_set_default_openssl_method 2477 EXIST::FUNCTION:RSA
1888ENGINE_ctrl 2478 EXIST::FUNCTION: 1888ENGINE_finish 2478 EXIST::FUNCTION:
1889ENGINE_get_init_function 2479 EXIST::FUNCTION: 1889ENGINE_load_public_key 2479 EXIST::FUNCTION:
1890ENGINE_set_init_function 2480 EXIST::FUNCTION: 1890ENGINE_get_DH 2480 EXIST::FUNCTION:
1891ENGINE_set_default_DSA 2481 EXIST::FUNCTION: 1891ENGINE_ctrl 2481 EXIST::FUNCTION:
1892ENGINE_get_name 2482 EXIST::FUNCTION: 1892ENGINE_get_init_function 2482 EXIST::FUNCTION:
1893ENGINE_get_last 2483 EXIST::FUNCTION: 1893ENGINE_set_init_function 2483 EXIST::FUNCTION:
1894ENGINE_get_prev 2484 EXIST::FUNCTION: 1894ENGINE_set_default_DSA 2484 EXIST::FUNCTION:
1895ENGINE_get_default_DH 2485 EXIST::FUNCTION: 1895ENGINE_get_name 2485 EXIST::FUNCTION:
1896ENGINE_get_RSA 2486 EXIST::FUNCTION: 1896ENGINE_get_last 2486 EXIST::FUNCTION:
1897ENGINE_set_default 2487 EXIST::FUNCTION: 1897ENGINE_get_prev 2487 EXIST::FUNCTION:
1898ENGINE_get_RAND 2488 EXIST::FUNCTION: 1898ENGINE_get_default_DH 2488 EXIST::FUNCTION:
1899ENGINE_get_first 2489 EXIST::FUNCTION: 1899ENGINE_get_RSA 2489 EXIST::FUNCTION:
1900ENGINE_by_id 2490 EXIST::FUNCTION: 1900ENGINE_set_default 2490 EXIST::FUNCTION:
1901ENGINE_set_finish_function 2491 EXIST::FUNCTION: 1901ENGINE_get_RAND 2491 EXIST::FUNCTION:
1902ENGINE_get_default_BN_mod_exp_crt 2492 EXIST:!VMS:FUNCTION: 1902ENGINE_get_first 2492 EXIST::FUNCTION:
1903ENGINE_get_def_BN_mod_exp_crt 2492 EXIST:VMS:FUNCTION: 1903ENGINE_by_id 2493 EXIST::FUNCTION:
1904RSA_get_default_openssl_method 2493 EXIST::FUNCTION:RSA 1904ENGINE_set_finish_function 2494 EXIST::FUNCTION:
1905ENGINE_set_RSA 2494 EXIST::FUNCTION: 1905ENGINE_get_default_BN_mod_exp_crt 2495 EXIST:!VMS:FUNCTION:
1906ENGINE_load_private_key 2495 EXIST::FUNCTION: 1906ENGINE_get_def_BN_mod_exp_crt 2495 EXIST:VMS:FUNCTION:
1907ENGINE_set_default_RAND 2496 EXIST::FUNCTION: 1907RSA_get_default_openssl_method 2496 EXIST::FUNCTION:RSA
1908ENGINE_set_BN_mod_exp 2497 EXIST::FUNCTION: 1908ENGINE_set_RSA 2497 EXIST::FUNCTION:
1909ENGINE_remove 2498 EXIST::FUNCTION: 1909ENGINE_load_private_key 2498 EXIST::FUNCTION:
1910ENGINE_free 2499 EXIST::FUNCTION: 1910ENGINE_set_default_RAND 2499 EXIST::FUNCTION:
1911ENGINE_get_BN_mod_exp_crt 2500 EXIST::FUNCTION: 1911ENGINE_set_BN_mod_exp 2500 EXIST::FUNCTION:
1912ENGINE_get_next 2501 EXIST::FUNCTION: 1912ENGINE_remove 2501 EXIST::FUNCTION:
1913ENGINE_set_name 2502 EXIST::FUNCTION: 1913ENGINE_free 2502 EXIST::FUNCTION:
1914ENGINE_get_default_DSA 2503 EXIST::FUNCTION: 1914ENGINE_get_BN_mod_exp_crt 2503 EXIST::FUNCTION:
1915ENGINE_set_default_BN_mod_exp 2504 EXIST::FUNCTION: 1915ENGINE_get_next 2504 EXIST::FUNCTION:
1916ENGINE_set_default_RSA 2505 EXIST::FUNCTION: 1916ENGINE_set_name 2505 EXIST::FUNCTION:
1917ENGINE_get_default_RAND 2506 EXIST::FUNCTION: 1917ENGINE_get_default_DSA 2506 EXIST::FUNCTION:
1918ENGINE_get_default_BN_mod_exp 2507 EXIST::FUNCTION: 1918ENGINE_set_default_BN_mod_exp 2507 EXIST::FUNCTION:
1919ENGINE_set_RAND 2508 EXIST::FUNCTION: 1919ENGINE_set_default_RSA 2508 EXIST::FUNCTION:
1920ENGINE_set_id 2509 EXIST::FUNCTION: 1920ENGINE_get_default_RAND 2509 EXIST::FUNCTION:
1921ENGINE_set_BN_mod_exp_crt 2510 EXIST::FUNCTION: 1921ENGINE_get_default_BN_mod_exp 2510 EXIST::FUNCTION:
1922ENGINE_set_default_DH 2511 EXIST::FUNCTION: 1922ENGINE_set_RAND 2511 EXIST::FUNCTION:
1923ENGINE_new 2512 EXIST::FUNCTION: 1923ENGINE_set_id 2512 EXIST::FUNCTION:
1924ENGINE_get_id 2513 EXIST::FUNCTION: 1924ENGINE_set_BN_mod_exp_crt 2513 EXIST::FUNCTION:
1925DSA_set_default_openssl_method 2514 EXIST::FUNCTION:DSA 1925ENGINE_set_default_DH 2514 EXIST::FUNCTION:
1926ENGINE_add 2515 EXIST::FUNCTION: 1926ENGINE_new 2515 EXIST::FUNCTION:
1927DH_set_default_openssl_method 2516 EXIST::FUNCTION:DH 1927ENGINE_get_id 2516 EXIST::FUNCTION:
1928ENGINE_get_DSA 2517 EXIST::FUNCTION: 1928DSA_set_default_openssl_method 2517 EXIST::FUNCTION:DSA
1929ENGINE_get_ctrl_function 2518 EXIST::FUNCTION: 1929ENGINE_add 2518 EXIST::FUNCTION:
1930ENGINE_set_ctrl_function 2519 EXIST::FUNCTION: 1930DH_set_default_openssl_method 2519 EXIST::FUNCTION:DH
1931ENGINE_get_DSA 2520 EXIST::FUNCTION:
1932ENGINE_get_ctrl_function 2521 EXIST::FUNCTION:
1933ENGINE_set_ctrl_function 2522 EXIST::FUNCTION:
diff --git a/src/lib/libcrypto/util/mkdef.pl b/src/lib/libcrypto/util/mkdef.pl
index cc41a1813e..ba453358cf 100644
--- a/src/lib/libcrypto/util/mkdef.pl
+++ b/src/lib/libcrypto/util/mkdef.pl
@@ -119,7 +119,7 @@ foreach (@ARGV, split(/ /, $options))
119 elsif (/^no-rc4$/) { $no_rc4=1; } 119 elsif (/^no-rc4$/) { $no_rc4=1; }
120 elsif (/^no-rc5$/) { $no_rc5=1; } 120 elsif (/^no-rc5$/) { $no_rc5=1; }
121 elsif (/^no-idea$/) { $no_idea=1; } 121 elsif (/^no-idea$/) { $no_idea=1; }
122 elsif (/^no-des$/) { $no_des=1; } 122 elsif (/^no-des$/) { $no_des=1; $no_mdc2=1; }
123 elsif (/^no-bf$/) { $no_bf=1; } 123 elsif (/^no-bf$/) { $no_bf=1; }
124 elsif (/^no-cast$/) { $no_cast=1; } 124 elsif (/^no-cast$/) { $no_cast=1; }
125 elsif (/^no-md2$/) { $no_md2=1; } 125 elsif (/^no-md2$/) { $no_md2=1; }
@@ -705,7 +705,8 @@ EOF
705 } else { 705 } else {
706 (my $n, my $i) = split /\\/, $nums{$s}; 706 (my $n, my $i) = split /\\/, $nums{$s};
707 my %pf = (); 707 my %pf = ();
708 my @p = split(/,/, ($i =~ /^.*?:(.*?):/,$1)); 708 my @p = split(/,/, ($i =~ /^[^:]*:([^:]*):/,$1));
709 my @a = split(/,/, ($i =~ /^[^:]*:[^:]*:[^:]*:([^:]*)/,$1));
709 # @p_purged must contain hardware platforms only 710 # @p_purged must contain hardware platforms only
710 my @p_purged = (); 711 my @p_purged = ();
711 foreach $ptmp (@p) { 712 foreach $ptmp (@p) {
@@ -727,7 +728,26 @@ EOF
727 || (!$negatives 728 || (!$negatives
728 && ($rsaref || !grep(/^RSAREF$/,@p))) 729 && ($rsaref || !grep(/^RSAREF$/,@p)))
729 || ($negatives 730 || ($negatives
730 && (!$rsaref || !grep(/^!RSAREF$/,@p))))) { 731 && (!$rsaref || !grep(/^!RSAREF$/,@p))))
732 && (!@a || (!$no_rc2 || !grep(/^RC2$/,@a)))
733 && (!@a || (!$no_rc4 || !grep(/^RC4$/,@a)))
734 && (!@a || (!$no_rc5 || !grep(/^RC5$/,@a)))
735 && (!@a || (!$no_idea || !grep(/^IDEA$/,@a)))
736 && (!@a || (!$no_des || !grep(/^DES$/,@a)))
737 && (!@a || (!$no_bf || !grep(/^BF$/,@a)))
738 && (!@a || (!$no_cast || !grep(/^CAST$/,@a)))
739 && (!@a || (!$no_md2 || !grep(/^MD2$/,@a)))
740 && (!@a || (!$no_md4 || !grep(/^MD4$/,@a)))
741 && (!@a || (!$no_md5 || !grep(/^MD5$/,@a)))
742 && (!@a || (!$no_sha || !grep(/^SHA$/,@a)))
743 && (!@a || (!$no_ripemd || !grep(/^RIPEMD$/,@a)))
744 && (!@a || (!$no_mdc2 || !grep(/^MDC2$/,@a)))
745 && (!@a || (!$no_rsa || !grep(/^RSA$/,@a)))
746 && (!@a || (!$no_dsa || !grep(/^DSA$/,@a)))
747 && (!@a || (!$no_dh || !grep(/^DH$/,@a)))
748 && (!@a || (!$no_hmac || !grep(/^HMAC$/,@a)))
749 && (!@a || (!$no_fp_api || !grep(/^FP_API$/,@a)))
750 ) {
731 printf OUT " %s%-40s@%d\n",($W32)?"":"_",$s,$n; 751 printf OUT " %s%-40s@%d\n",($W32)?"":"_",$s,$n;
732# } else { 752# } else {
733# print STDERR "DEBUG: \"$sym\" (@p):", 753# print STDERR "DEBUG: \"$sym\" (@p):",
diff --git a/src/lib/libcrypto/util/mklink.pl b/src/lib/libcrypto/util/mklink.pl
index d7b997ada7..9e9c9a5146 100644
--- a/src/lib/libcrypto/util/mklink.pl
+++ b/src/lib/libcrypto/util/mklink.pl
@@ -48,8 +48,13 @@ foreach $dirname (@from_path) {
48my $to = join('/', @to_path); 48my $to = join('/', @to_path);
49 49
50my $file; 50my $file;
51$symlink_exists=eval {symlink("",""); 1};
51foreach $file (@files) { 52foreach $file (@files) {
52 my $err = ""; 53 my $err = "";
53 symlink("$to/$file", "$from/$file") or $err = " [$!]"; 54 if ($symlink_exists) {
55 symlink("$to/$file", "$from/$file") or $err = " [$!]";
56 } else {
57 system ("cp", "$file", "$from/$file") and $err = " [$!]";
58 }
54 print $file . " => $from/$file$err\n"; 59 print $file . " => $from/$file$err\n";
55} 60}
diff --git a/src/lib/libcrypto/util/pod2man.pl b/src/lib/libcrypto/util/pod2man.pl
index f5ec0767ed..c6b64add60 100644
--- a/src/lib/libcrypto/util/pod2man.pl
+++ b/src/lib/libcrypto/util/pod2man.pl
@@ -416,6 +416,8 @@ if ($name ne 'something') {
416 warn "$0: Improper man page - malformed NAME header in paragraph $. of $ARGV[0]\n" 416 warn "$0: Improper man page - malformed NAME header in paragraph $. of $ARGV[0]\n"
417 } 417 }
418 else { 418 else {
419 $n[0] =~ s/\n/ /;
420 $n[1] =~ s/\n/ /;
419 %namedesc = @n; 421 %namedesc = @n;
420 } 422 }
421 } 423 }