diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/util/clean-depend.pl | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/util/libeay.num | 127 | ||||
| -rw-r--r-- | src/lib/libcrypto/util/mkdef.pl | 26 | ||||
| -rw-r--r-- | src/lib/libcrypto/util/mklink.pl | 7 | ||||
| -rw-r--r-- | src/lib/libcrypto/util/pod2man.pl | 2 |
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 | |||
| 301 | EVP_des_ede_ofb 309 EXIST::FUNCTION:DES | 301 | EVP_des_ede_ofb 309 EXIST::FUNCTION:DES |
| 302 | EVP_des_ofb 310 EXIST::FUNCTION:DES | 302 | EVP_des_ofb 310 EXIST::FUNCTION:DES |
| 303 | EVP_desx_cbc 311 EXIST::FUNCTION:DES | 303 | EVP_desx_cbc 311 EXIST::FUNCTION:DES |
| 304 | EVP_dss 312 EXIST::FUNCTION:DSA | 304 | EVP_dss 312 EXIST::FUNCTION:DSA,SHA |
| 305 | EVP_dss1 313 EXIST::FUNCTION:DSA | 305 | EVP_dss1 313 EXIST::FUNCTION:DSA,SHA |
| 306 | EVP_enc_null 314 EXIST::FUNCTION: | 306 | EVP_enc_null 314 EXIST::FUNCTION: |
| 307 | EVP_get_cipherbyname 315 EXIST::FUNCTION: | 307 | EVP_get_cipherbyname 315 EXIST::FUNCTION: |
| 308 | EVP_get_digestbyname 316 EXIST::FUNCTION: | 308 | EVP_get_digestbyname 316 EXIST::FUNCTION: |
| @@ -779,7 +779,7 @@ des_ede3_cfb64_encrypt 786 EXIST::FUNCTION:DES | |||
| 779 | des_ede3_ofb64_encrypt 787 EXIST::FUNCTION:DES | 779 | des_ede3_ofb64_encrypt 787 EXIST::FUNCTION:DES |
| 780 | des_enc_read 788 EXIST::FUNCTION:DES | 780 | des_enc_read 788 EXIST::FUNCTION:DES |
| 781 | des_enc_write 789 EXIST::FUNCTION:DES | 781 | des_enc_write 789 EXIST::FUNCTION:DES |
| 782 | des_encrypt 790 EXIST::FUNCTION:DES | 782 | des_encrypt1 790 EXIST::FUNCTION:DES |
| 783 | des_encrypt2 791 EXIST::FUNCTION:DES | 783 | des_encrypt2 791 EXIST::FUNCTION:DES |
| 784 | des_encrypt3 792 EXIST::FUNCTION:DES | 784 | des_encrypt3 792 EXIST::FUNCTION:DES |
| 785 | des_fcrypt 793 EXIST::FUNCTION:DES | 785 | des_fcrypt 793 EXIST::FUNCTION:DES |
| @@ -926,7 +926,7 @@ PKCS7_add_signature 938 EXIST::FUNCTION: | |||
| 926 | PKCS7_cert_from_signer_info 939 EXIST::FUNCTION: | 926 | PKCS7_cert_from_signer_info 939 EXIST::FUNCTION: |
| 927 | PKCS7_get_signer_info 940 EXIST::FUNCTION: | 927 | PKCS7_get_signer_info 940 EXIST::FUNCTION: |
| 928 | EVP_delete_alias 941 NOEXIST::FUNCTION: | 928 | EVP_delete_alias 941 NOEXIST::FUNCTION: |
| 929 | EVP_mdc2 942 EXIST::FUNCTION: | 929 | EVP_mdc2 942 EXIST::FUNCTION:MDC2 |
| 930 | PEM_read_bio_RSAPublicKey 943 EXIST::FUNCTION:RSA | 930 | PEM_read_bio_RSAPublicKey 943 EXIST::FUNCTION:RSA |
| 931 | PEM_write_bio_RSAPublicKey 944 EXIST::FUNCTION:RSA | 931 | PEM_write_bio_RSAPublicKey 944 EXIST::FUNCTION:RSA |
| 932 | d2i_RSAPublicKey_bio 945 EXIST::FUNCTION:RSA | 932 | d2i_RSAPublicKey_bio 945 EXIST::FUNCTION:RSA |
| @@ -1870,61 +1870,64 @@ X509_keyid_set1 2460 EXIST::FUNCTION: | |||
| 1870 | BIO_next 2461 EXIST::FUNCTION: | 1870 | BIO_next 2461 EXIST::FUNCTION: |
| 1871 | DSO_METHOD_vms 2462 EXIST::FUNCTION: | 1871 | DSO_METHOD_vms 2462 EXIST::FUNCTION: |
| 1872 | BIO_f_linebuffer 2463 EXIST:VMS:FUNCTION: | 1872 | BIO_f_linebuffer 2463 EXIST:VMS:FUNCTION: |
| 1873 | ERR_load_ENGINE_strings 2464 EXIST::FUNCTION: | 1873 | BN_bntest_rand 2464 EXIST::FUNCTION: |
| 1874 | ENGINE_set_DSA 2465 EXIST::FUNCTION: | 1874 | OPENSSL_issetugid 2465 EXIST::FUNCTION: |
| 1875 | ENGINE_get_finish_function 2466 EXIST::FUNCTION: | 1875 | BN_rand_range 2466 EXIST::FUNCTION: |
| 1876 | ENGINE_get_default_RSA 2467 EXIST::FUNCTION: | 1876 | ERR_load_ENGINE_strings 2467 EXIST::FUNCTION: |
| 1877 | ENGINE_get_BN_mod_exp 2468 EXIST::FUNCTION: | 1877 | ENGINE_set_DSA 2468 EXIST::FUNCTION: |
| 1878 | DSA_get_default_openssl_method 2469 EXIST::FUNCTION:DSA | 1878 | ENGINE_get_finish_function 2469 EXIST::FUNCTION: |
| 1879 | ENGINE_set_DH 2470 EXIST::FUNCTION: | 1879 | ENGINE_get_default_RSA 2470 EXIST::FUNCTION: |
| 1880 | ENGINE_set_default_BN_mod_exp_crt 2471 EXIST:!VMS:FUNCTION: | 1880 | ENGINE_get_BN_mod_exp 2471 EXIST::FUNCTION: |
| 1881 | ENGINE_set_def_BN_mod_exp_crt 2471 EXIST:VMS:FUNCTION: | 1881 | DSA_get_default_openssl_method 2472 EXIST::FUNCTION:DSA |
| 1882 | ENGINE_init 2472 EXIST::FUNCTION: | 1882 | ENGINE_set_DH 2473 EXIST::FUNCTION: |
| 1883 | DH_get_default_openssl_method 2473 EXIST::FUNCTION:DH | 1883 | ENGINE_set_default_BN_mod_exp_crt 2474 EXIST:!VMS:FUNCTION: |
| 1884 | RSA_set_default_openssl_method 2474 EXIST::FUNCTION:RSA | 1884 | ENGINE_set_def_BN_mod_exp_crt 2474 EXIST:VMS:FUNCTION: |
| 1885 | ENGINE_finish 2475 EXIST::FUNCTION: | 1885 | ENGINE_init 2475 EXIST::FUNCTION: |
| 1886 | ENGINE_load_public_key 2476 EXIST::FUNCTION: | 1886 | DH_get_default_openssl_method 2476 EXIST::FUNCTION:DH |
| 1887 | ENGINE_get_DH 2477 EXIST::FUNCTION: | 1887 | RSA_set_default_openssl_method 2477 EXIST::FUNCTION:RSA |
| 1888 | ENGINE_ctrl 2478 EXIST::FUNCTION: | 1888 | ENGINE_finish 2478 EXIST::FUNCTION: |
| 1889 | ENGINE_get_init_function 2479 EXIST::FUNCTION: | 1889 | ENGINE_load_public_key 2479 EXIST::FUNCTION: |
| 1890 | ENGINE_set_init_function 2480 EXIST::FUNCTION: | 1890 | ENGINE_get_DH 2480 EXIST::FUNCTION: |
| 1891 | ENGINE_set_default_DSA 2481 EXIST::FUNCTION: | 1891 | ENGINE_ctrl 2481 EXIST::FUNCTION: |
| 1892 | ENGINE_get_name 2482 EXIST::FUNCTION: | 1892 | ENGINE_get_init_function 2482 EXIST::FUNCTION: |
| 1893 | ENGINE_get_last 2483 EXIST::FUNCTION: | 1893 | ENGINE_set_init_function 2483 EXIST::FUNCTION: |
| 1894 | ENGINE_get_prev 2484 EXIST::FUNCTION: | 1894 | ENGINE_set_default_DSA 2484 EXIST::FUNCTION: |
| 1895 | ENGINE_get_default_DH 2485 EXIST::FUNCTION: | 1895 | ENGINE_get_name 2485 EXIST::FUNCTION: |
| 1896 | ENGINE_get_RSA 2486 EXIST::FUNCTION: | 1896 | ENGINE_get_last 2486 EXIST::FUNCTION: |
| 1897 | ENGINE_set_default 2487 EXIST::FUNCTION: | 1897 | ENGINE_get_prev 2487 EXIST::FUNCTION: |
| 1898 | ENGINE_get_RAND 2488 EXIST::FUNCTION: | 1898 | ENGINE_get_default_DH 2488 EXIST::FUNCTION: |
| 1899 | ENGINE_get_first 2489 EXIST::FUNCTION: | 1899 | ENGINE_get_RSA 2489 EXIST::FUNCTION: |
| 1900 | ENGINE_by_id 2490 EXIST::FUNCTION: | 1900 | ENGINE_set_default 2490 EXIST::FUNCTION: |
| 1901 | ENGINE_set_finish_function 2491 EXIST::FUNCTION: | 1901 | ENGINE_get_RAND 2491 EXIST::FUNCTION: |
| 1902 | ENGINE_get_default_BN_mod_exp_crt 2492 EXIST:!VMS:FUNCTION: | 1902 | ENGINE_get_first 2492 EXIST::FUNCTION: |
| 1903 | ENGINE_get_def_BN_mod_exp_crt 2492 EXIST:VMS:FUNCTION: | 1903 | ENGINE_by_id 2493 EXIST::FUNCTION: |
| 1904 | RSA_get_default_openssl_method 2493 EXIST::FUNCTION:RSA | 1904 | ENGINE_set_finish_function 2494 EXIST::FUNCTION: |
| 1905 | ENGINE_set_RSA 2494 EXIST::FUNCTION: | 1905 | ENGINE_get_default_BN_mod_exp_crt 2495 EXIST:!VMS:FUNCTION: |
| 1906 | ENGINE_load_private_key 2495 EXIST::FUNCTION: | 1906 | ENGINE_get_def_BN_mod_exp_crt 2495 EXIST:VMS:FUNCTION: |
| 1907 | ENGINE_set_default_RAND 2496 EXIST::FUNCTION: | 1907 | RSA_get_default_openssl_method 2496 EXIST::FUNCTION:RSA |
| 1908 | ENGINE_set_BN_mod_exp 2497 EXIST::FUNCTION: | 1908 | ENGINE_set_RSA 2497 EXIST::FUNCTION: |
| 1909 | ENGINE_remove 2498 EXIST::FUNCTION: | 1909 | ENGINE_load_private_key 2498 EXIST::FUNCTION: |
| 1910 | ENGINE_free 2499 EXIST::FUNCTION: | 1910 | ENGINE_set_default_RAND 2499 EXIST::FUNCTION: |
| 1911 | ENGINE_get_BN_mod_exp_crt 2500 EXIST::FUNCTION: | 1911 | ENGINE_set_BN_mod_exp 2500 EXIST::FUNCTION: |
| 1912 | ENGINE_get_next 2501 EXIST::FUNCTION: | 1912 | ENGINE_remove 2501 EXIST::FUNCTION: |
| 1913 | ENGINE_set_name 2502 EXIST::FUNCTION: | 1913 | ENGINE_free 2502 EXIST::FUNCTION: |
| 1914 | ENGINE_get_default_DSA 2503 EXIST::FUNCTION: | 1914 | ENGINE_get_BN_mod_exp_crt 2503 EXIST::FUNCTION: |
| 1915 | ENGINE_set_default_BN_mod_exp 2504 EXIST::FUNCTION: | 1915 | ENGINE_get_next 2504 EXIST::FUNCTION: |
| 1916 | ENGINE_set_default_RSA 2505 EXIST::FUNCTION: | 1916 | ENGINE_set_name 2505 EXIST::FUNCTION: |
| 1917 | ENGINE_get_default_RAND 2506 EXIST::FUNCTION: | 1917 | ENGINE_get_default_DSA 2506 EXIST::FUNCTION: |
| 1918 | ENGINE_get_default_BN_mod_exp 2507 EXIST::FUNCTION: | 1918 | ENGINE_set_default_BN_mod_exp 2507 EXIST::FUNCTION: |
| 1919 | ENGINE_set_RAND 2508 EXIST::FUNCTION: | 1919 | ENGINE_set_default_RSA 2508 EXIST::FUNCTION: |
| 1920 | ENGINE_set_id 2509 EXIST::FUNCTION: | 1920 | ENGINE_get_default_RAND 2509 EXIST::FUNCTION: |
| 1921 | ENGINE_set_BN_mod_exp_crt 2510 EXIST::FUNCTION: | 1921 | ENGINE_get_default_BN_mod_exp 2510 EXIST::FUNCTION: |
| 1922 | ENGINE_set_default_DH 2511 EXIST::FUNCTION: | 1922 | ENGINE_set_RAND 2511 EXIST::FUNCTION: |
| 1923 | ENGINE_new 2512 EXIST::FUNCTION: | 1923 | ENGINE_set_id 2512 EXIST::FUNCTION: |
| 1924 | ENGINE_get_id 2513 EXIST::FUNCTION: | 1924 | ENGINE_set_BN_mod_exp_crt 2513 EXIST::FUNCTION: |
| 1925 | DSA_set_default_openssl_method 2514 EXIST::FUNCTION:DSA | 1925 | ENGINE_set_default_DH 2514 EXIST::FUNCTION: |
| 1926 | ENGINE_add 2515 EXIST::FUNCTION: | 1926 | ENGINE_new 2515 EXIST::FUNCTION: |
| 1927 | DH_set_default_openssl_method 2516 EXIST::FUNCTION:DH | 1927 | ENGINE_get_id 2516 EXIST::FUNCTION: |
| 1928 | ENGINE_get_DSA 2517 EXIST::FUNCTION: | 1928 | DSA_set_default_openssl_method 2517 EXIST::FUNCTION:DSA |
| 1929 | ENGINE_get_ctrl_function 2518 EXIST::FUNCTION: | 1929 | ENGINE_add 2518 EXIST::FUNCTION: |
| 1930 | ENGINE_set_ctrl_function 2519 EXIST::FUNCTION: | 1930 | DH_set_default_openssl_method 2519 EXIST::FUNCTION:DH |
| 1931 | ENGINE_get_DSA 2520 EXIST::FUNCTION: | ||
| 1932 | ENGINE_get_ctrl_function 2521 EXIST::FUNCTION: | ||
| 1933 | ENGINE_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) { | |||
| 48 | my $to = join('/', @to_path); | 48 | my $to = join('/', @to_path); |
| 49 | 49 | ||
| 50 | my $file; | 50 | my $file; |
| 51 | $symlink_exists=eval {symlink("",""); 1}; | ||
| 51 | foreach $file (@files) { | 52 | foreach $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 | } |
