diff options
author | Richard Levitte <levitte@openssl.org> | 2015-03-26 21:33:18 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-03-31 20:16:01 +0200 |
commit | dee502be89e78e2979e3bd1d7724cf79daa6ef61 (patch) | |
tree | 53e97582c488f1a484bd42e570de6a99768fd1df | |
parent | Ensure EC private keys retain leading zeros (diff) | |
download | openssl-dee502be89e78e2979e3bd1d7724cf79daa6ef61.tar.xz openssl-dee502be89e78e2979e3bd1d7724cf79daa6ef61.zip |
Stop symlinking, move files to intended directory
Rather than making include/openssl/foo.h a symlink to
crypto/foo/foo.h, this change moves the file to include/openssl/foo.h
once and for all.
Likewise, move crypto/foo/footest.c to test/footest.c, instead of
symlinking it there.
Originally-by: Geoff Thorpe <geoff@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
-rw-r--r-- | .gitignore | 14 | ||||
-rwxr-xr-x | Configure | 28 | ||||
-rw-r--r-- | Makefile.org | 23 | ||||
-rw-r--r-- | crypto/err/openssl.ec | 63 | ||||
-rw-r--r-- | crypto/objects/Makefile | 10 | ||||
-rw-r--r-- | include/openssl/aes.h (renamed from crypto/aes/aes.h) | 0 | ||||
-rw-r--r-- | include/openssl/asn1.h (renamed from crypto/asn1/asn1.h) | 0 | ||||
-rw-r--r-- | include/openssl/asn1_mac.h (renamed from crypto/asn1/asn1_mac.h) | 0 | ||||
-rw-r--r-- | include/openssl/asn1t.h (renamed from crypto/asn1/asn1t.h) | 0 | ||||
-rw-r--r-- | include/openssl/bio.h (renamed from crypto/bio/bio.h) | 0 | ||||
-rw-r--r-- | include/openssl/blowfish.h (renamed from crypto/bf/blowfish.h) | 0 | ||||
-rw-r--r-- | include/openssl/bn.h (renamed from crypto/bn/bn.h) | 0 | ||||
-rw-r--r-- | include/openssl/buffer.h (renamed from crypto/buffer/buffer.h) | 0 | ||||
-rw-r--r-- | include/openssl/camellia.h (renamed from crypto/camellia/camellia.h) | 0 | ||||
-rw-r--r-- | include/openssl/cast.h (renamed from crypto/cast/cast.h) | 0 | ||||
-rw-r--r-- | include/openssl/cmac.h (renamed from crypto/cmac/cmac.h) | 0 | ||||
-rw-r--r-- | include/openssl/cms.h (renamed from crypto/cms/cms.h) | 0 | ||||
-rw-r--r-- | include/openssl/comp.h (renamed from crypto/comp/comp.h) | 0 | ||||
-rw-r--r-- | include/openssl/conf.h (renamed from crypto/conf/conf.h) | 0 | ||||
-rw-r--r-- | include/openssl/conf_api.h (renamed from crypto/conf/conf_api.h) | 0 | ||||
-rw-r--r-- | include/openssl/crypto.h (renamed from crypto/crypto.h) | 0 | ||||
-rw-r--r-- | include/openssl/des.h (renamed from crypto/des/des.h) | 0 | ||||
-rw-r--r-- | include/openssl/dh.h (renamed from crypto/dh/dh.h) | 0 | ||||
-rw-r--r-- | include/openssl/dsa.h (renamed from crypto/dsa/dsa.h) | 0 | ||||
-rw-r--r-- | include/openssl/dso.h (renamed from crypto/dso/dso.h) | 0 | ||||
-rw-r--r-- | include/openssl/dtls1.h (renamed from ssl/dtls1.h) | 0 | ||||
-rw-r--r-- | include/openssl/e_os2.h (renamed from e_os2.h) | 0 | ||||
-rw-r--r-- | include/openssl/ebcdic.h (renamed from crypto/ebcdic.h) | 0 | ||||
-rw-r--r-- | include/openssl/ec.h (renamed from crypto/ec/ec.h) | 0 | ||||
-rw-r--r-- | include/openssl/ecdh.h (renamed from crypto/ecdh/ecdh.h) | 0 | ||||
-rw-r--r-- | include/openssl/ecdsa.h (renamed from crypto/ecdsa/ecdsa.h) | 0 | ||||
-rw-r--r-- | include/openssl/engine.h (renamed from crypto/engine/engine.h) | 0 | ||||
-rw-r--r-- | include/openssl/err.h (renamed from crypto/err/err.h) | 0 | ||||
-rw-r--r-- | include/openssl/evp.h (renamed from crypto/evp/evp.h) | 0 | ||||
-rw-r--r-- | include/openssl/hmac.h (renamed from crypto/hmac/hmac.h) | 0 | ||||
-rw-r--r-- | include/openssl/idea.h (renamed from crypto/idea/idea.h) | 0 | ||||
-rw-r--r-- | include/openssl/jpake.h (renamed from crypto/jpake/jpake.h) | 0 | ||||
-rw-r--r-- | include/openssl/krb5_asn.h (renamed from crypto/krb5/krb5_asn.h) | 0 | ||||
-rw-r--r-- | include/openssl/kssl.h (renamed from ssl/kssl.h) | 0 | ||||
-rw-r--r-- | include/openssl/lhash.h (renamed from crypto/lhash/lhash.h) | 0 | ||||
-rw-r--r-- | include/openssl/md2.h (renamed from crypto/md2/md2.h) | 0 | ||||
-rw-r--r-- | include/openssl/md4.h (renamed from crypto/md4/md4.h) | 0 | ||||
-rw-r--r-- | include/openssl/md5.h (renamed from crypto/md5/md5.h) | 0 | ||||
-rw-r--r-- | include/openssl/mdc2.h (renamed from crypto/mdc2/mdc2.h) | 0 | ||||
-rw-r--r-- | include/openssl/modes.h (renamed from crypto/modes/modes.h) | 0 | ||||
-rw-r--r-- | include/openssl/obj_mac.h (renamed from crypto/objects/obj_mac.h) | 0 | ||||
-rw-r--r-- | include/openssl/objects.h (renamed from crypto/objects/objects.h) | 0 | ||||
-rw-r--r-- | include/openssl/ocsp.h (renamed from crypto/ocsp/ocsp.h) | 0 | ||||
-rw-r--r-- | include/openssl/opensslv.h (renamed from crypto/opensslv.h) | 0 | ||||
-rw-r--r-- | include/openssl/ossl_typ.h (renamed from crypto/ossl_typ.h) | 0 | ||||
-rw-r--r-- | include/openssl/pem.h (renamed from crypto/pem/pem.h) | 0 | ||||
-rw-r--r-- | include/openssl/pem2.h (renamed from crypto/pem/pem2.h) | 0 | ||||
-rw-r--r-- | include/openssl/pkcs12.h (renamed from crypto/pkcs12/pkcs12.h) | 0 | ||||
-rw-r--r-- | include/openssl/pkcs7.h (renamed from crypto/pkcs7/pkcs7.h) | 0 | ||||
-rw-r--r-- | include/openssl/pqueue.h (renamed from crypto/pqueue/pqueue.h) | 0 | ||||
-rw-r--r-- | include/openssl/rand.h (renamed from crypto/rand/rand.h) | 0 | ||||
-rw-r--r-- | include/openssl/rc2.h (renamed from crypto/rc2/rc2.h) | 0 | ||||
-rw-r--r-- | include/openssl/rc4.h (renamed from crypto/rc4/rc4.h) | 0 | ||||
-rw-r--r-- | include/openssl/rc5.h (renamed from crypto/rc5/rc5.h) | 0 | ||||
-rw-r--r-- | include/openssl/ripemd.h (renamed from crypto/ripemd/ripemd.h) | 0 | ||||
-rw-r--r-- | include/openssl/rsa.h (renamed from crypto/rsa/rsa.h) | 0 | ||||
-rw-r--r-- | include/openssl/safestack.h (renamed from crypto/stack/safestack.h) | 0 | ||||
-rw-r--r-- | include/openssl/seed.h (renamed from crypto/seed/seed.h) | 0 | ||||
-rw-r--r-- | include/openssl/sha.h (renamed from crypto/sha/sha.h) | 0 | ||||
-rw-r--r-- | include/openssl/srp.h (renamed from crypto/srp/srp.h) | 0 | ||||
-rw-r--r-- | include/openssl/srtp.h (renamed from ssl/srtp.h) | 0 | ||||
-rw-r--r-- | include/openssl/ssl.h (renamed from ssl/ssl.h) | 0 | ||||
-rw-r--r-- | include/openssl/ssl2.h (renamed from ssl/ssl2.h) | 0 | ||||
-rw-r--r-- | include/openssl/ssl23.h (renamed from ssl/ssl23.h) | 0 | ||||
-rw-r--r-- | include/openssl/ssl3.h (renamed from ssl/ssl3.h) | 0 | ||||
-rw-r--r-- | include/openssl/stack.h (renamed from crypto/stack/stack.h) | 0 | ||||
-rw-r--r-- | include/openssl/store.h (renamed from crypto/store/store.h) | 0 | ||||
-rw-r--r-- | include/openssl/symhacks.h (renamed from crypto/symhacks.h) | 0 | ||||
-rw-r--r-- | include/openssl/tls1.h (renamed from ssl/tls1.h) | 0 | ||||
-rw-r--r-- | include/openssl/ts.h (renamed from crypto/ts/ts.h) | 0 | ||||
-rw-r--r-- | include/openssl/txt_db.h (renamed from crypto/txt_db/txt_db.h) | 0 | ||||
-rw-r--r-- | include/openssl/ui.h (renamed from crypto/ui/ui.h) | 0 | ||||
-rw-r--r-- | include/openssl/whrlpool.h (renamed from crypto/whrlpool/whrlpool.h) | 0 | ||||
-rw-r--r-- | include/openssl/x509.h (renamed from crypto/x509/x509.h) | 0 | ||||
-rw-r--r-- | include/openssl/x509_vfy.h (renamed from crypto/x509/x509_vfy.h) | 0 | ||||
-rw-r--r-- | include/openssl/x509v3.h (renamed from crypto/x509v3/x509v3.h) | 0 | ||||
-rw-r--r-- | test/bftest.c (renamed from crypto/bf/bftest.c) | 0 | ||||
-rw-r--r-- | test/bntest.c (renamed from crypto/bn/bntest.c) | 0 | ||||
-rw-r--r-- | test/casttest.c (renamed from crypto/cast/casttest.c) | 0 | ||||
-rw-r--r-- | test/constant_time_test.c (renamed from crypto/constant_time_test.c) | 0 | ||||
-rw-r--r-- | test/destest.c (renamed from crypto/des/destest.c) | 0 | ||||
-rw-r--r-- | test/dhtest.c (renamed from crypto/dh/dhtest.c) | 0 | ||||
-rw-r--r-- | test/dsatest.c (renamed from crypto/dsa/dsatest.c) | 0 | ||||
-rw-r--r-- | test/ecdhtest.c (renamed from crypto/ecdh/ecdhtest.c) | 0 | ||||
-rw-r--r-- | test/ecdsatest.c (renamed from crypto/ecdsa/ecdsatest.c) | 0 | ||||
-rw-r--r-- | test/ectest.c (renamed from crypto/ec/ectest.c) | 0 | ||||
-rw-r--r-- | test/enginetest.c (renamed from crypto/engine/enginetest.c) | 0 | ||||
-rw-r--r-- | test/evp_extra_test.c (renamed from crypto/evp/evp_extra_test.c) | 0 | ||||
-rw-r--r-- | test/evp_test.c (renamed from crypto/evp/evp_test.c) | 0 | ||||
-rw-r--r-- | test/evptests.txt (renamed from crypto/evp/evptests.txt) | 0 | ||||
-rw-r--r-- | test/exptest.c (renamed from crypto/bn/exptest.c) | 0 | ||||
-rw-r--r-- | test/gost2814789test.c (renamed from engines/ccgost/gost2814789test.c) | 0 | ||||
-rw-r--r-- | test/heartbeat_test.c (renamed from ssl/heartbeat_test.c) | 0 | ||||
-rw-r--r-- | test/hmactest.c (renamed from crypto/hmac/hmactest.c) | 0 | ||||
-rw-r--r-- | test/ideatest.c (renamed from crypto/idea/ideatest.c) | 0 | ||||
-rw-r--r-- | test/jpaketest.c (renamed from crypto/jpake/jpaketest.c) | 0 | ||||
-rw-r--r-- | test/md2test.c (renamed from crypto/md2/md2test.c) | 0 | ||||
-rw-r--r-- | test/md4test.c (renamed from crypto/md4/md4test.c) | 0 | ||||
-rw-r--r-- | test/md5test.c (renamed from crypto/md5/md5test.c) | 0 | ||||
-rw-r--r-- | test/mdc2test.c (renamed from crypto/mdc2/mdc2test.c) | 0 | ||||
-rw-r--r-- | test/p5_crpt2_test.c (renamed from crypto/evp/p5_crpt2_test.c) | 0 | ||||
-rw-r--r-- | test/randtest.c (renamed from crypto/rand/randtest.c) | 0 | ||||
-rw-r--r-- | test/rc2test.c (renamed from crypto/rc2/rc2test.c) | 0 | ||||
-rw-r--r-- | test/rc4test.c (renamed from crypto/rc4/rc4test.c) | 0 | ||||
-rw-r--r-- | test/rc5test.c (renamed from crypto/rc5/rc5test.c) | 0 | ||||
-rw-r--r-- | test/rmdtest.c (renamed from crypto/ripemd/rmdtest.c) | 0 | ||||
-rw-r--r-- | test/rsa_test.c (renamed from crypto/rsa/rsa_test.c) | 0 | ||||
-rw-r--r-- | test/sha1test.c (renamed from crypto/sha/sha1test.c) | 0 | ||||
-rw-r--r-- | test/sha256t.c (renamed from crypto/sha/sha256t.c) | 0 | ||||
-rw-r--r-- | test/sha512t.c (renamed from crypto/sha/sha512t.c) | 0 | ||||
-rw-r--r-- | test/srptest.c (renamed from crypto/srp/srptest.c) | 0 | ||||
-rw-r--r-- | test/ssltest.c (renamed from ssl/ssltest.c) | 0 | ||||
-rw-r--r-- | test/v3nametest.c (renamed from crypto/x509v3/v3nametest.c) | 0 | ||||
-rw-r--r-- | test/wp_test.c (renamed from crypto/whrlpool/wp_test.c) | 0 | ||||
-rwxr-xr-x | util/mkdef.pl | 138 | ||||
-rwxr-xr-x | util/mkstack.pl | 4 |
121 files changed, 129 insertions, 151 deletions
diff --git a/.gitignore b/.gitignore index 2f27dc66c8..9f85632eb0 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,6 @@ /MINFO /TABLE /*.a -/include /*.pc /rehash.time /inc.* @@ -22,17 +21,6 @@ /out.* /tmp.* -# Most *.c files under test/ are symlinks -/test/*.c -# Apart from these -!/test/asn1test.c -!/test/methtest.c -!/test/dummytest.c -!/test/igetest.c -!/test/r160test.c -!/test/fips_algvs.c -!/test/testutil.c - /test/*.ss /test/*.srl /test/.rnd @@ -94,8 +82,8 @@ crypto/sha/asm/sha512-sse2.asm !/crypto/des/times/486-50.sol # Misc auto generated files +include/openssl/opensslconf.h /tools/c_rehash -/test/evptests.txt lib Makefile.save *.bak @@ -779,13 +779,13 @@ my $no_gmp=0; my @skip=(); my $Makefile="Makefile"; my $des_locl="crypto/des/des_locl.h"; -my $des ="crypto/des/des.h"; -my $bn ="crypto/bn/bn.h"; -my $md2 ="crypto/md2/md2.h"; -my $rc4 ="crypto/rc4/rc4.h"; +my $des ="include/openssl/des.h"; +my $bn ="include/openssl/bn.h"; +my $md2 ="include/openssl/md2.h"; +my $rc4 ="include/openssl/rc4.h"; my $rc4_locl="crypto/rc4/rc4_locl.h"; -my $idea ="crypto/idea/idea.h"; -my $rc2 ="crypto/rc2/rc2.h"; +my $idea ="include/openssl/idea.h"; +my $rc2 ="include/openssl/rc2.h"; my $bf ="crypto/bf/bf_locl.h"; my $bn_asm ="bn_asm.o"; my $des_enc="des_enc.o fcrypt_b.o"; @@ -848,7 +848,6 @@ my $libs; my $libkrb5=""; my $target; my $options; -my $symlink; my $make_depend=0; my %withargs=(); my $build_prefix = "release_"; @@ -869,7 +868,6 @@ while($argv_unprocessed) $libs=""; $target=""; $options=""; - $symlink=1; $argv_unprocessed=0; $argvstring=join(' ',@argvcopy); @@ -1192,8 +1190,6 @@ foreach (sort (keys %disabled)) { } elsif (/^zlib-dynamic$/) { } - elsif (/^symlinks$/) - { $symlink = 0; } elsif (/^sse2$/) { $no_sse2 = 1; } else @@ -1702,7 +1698,7 @@ my $shlib_version_history = "unknown"; my $shlib_major = "unknown"; my $shlib_minor = "unknown"; -open(IN,'<crypto/opensslv.h') || die "unable to read opensslv.h:$!\n"; +open(IN,'<include/openssl/opensslv.h') || die "unable to read opensslv.h:$!\n"; while (<IN>) { $version=$1 if /OPENSSL.VERSION.TEXT.*OpenSSL (\S+) /; @@ -1923,8 +1919,8 @@ foreach (sort split(/\s+/,$bn_ops)) } open(IN,'<crypto/opensslconf.h.in') || die "unable to read crypto/opensslconf.h.in:$!\n"; -unlink("crypto/opensslconf.h.new") || die "unable to remove old crypto/opensslconf.h.new:$!\n" if -e "crypto/opensslconf.h.new"; -open(OUT,'>crypto/opensslconf.h.new') || die "unable to create crypto/opensslconf.h.new:$!\n"; +unlink("include/openssl/opensslconf.h.new") || die "unable to remove old include/openssl/opensslconf.h.new:$!\n" if -e "include/openssl/opensslconf.h.new"; +open(OUT,'>include/openssl/opensslconf.h.new') || die "unable to create include/openssl/opensslconf.h.new:$!\n"; print OUT "/* opensslconf.h */\n"; print OUT "/* WARNING: Generated automatically from opensslconf.h.in by Configure. */\n\n"; @@ -2039,8 +2035,8 @@ print OUT "#ifdef __cplusplus\n"; print OUT "}\n"; print OUT "#endif\n"; close(OUT); -rename("crypto/opensslconf.h","crypto/opensslconf.h.bak") || die "unable to rename crypto/opensslconf.h\n" if -e "crypto/opensslconf.h"; -rename("crypto/opensslconf.h.new","crypto/opensslconf.h") || die "unable to rename crypto/opensslconf.h.new\n"; +rename("include/openssl/opensslconf.h","include/openssl/opensslconf.h.bak") || die "unable to rename include/openssl/opensslconf.h\n" if -e "include/openssl/opensslconf.h"; +rename("include/openssl/opensslconf.h.new","include/openssl/opensslconf.h") || die "unable to rename include/openssl/opensslconf.h.new\n"; # Fix the date @@ -2082,9 +2078,7 @@ EOF } else { my $make_command = "$make PERL=\'$perl\'"; my $make_targets = ""; - $make_targets .= " links" if $symlink; $make_targets .= " depend" if $depflags ne $default_depflags && $make_depend; - $make_targets .= " gentests" if $symlink; (system $make_command.$make_targets) == 0 or die "make $make_targets failed" if $make_targets ne ""; if ( $perl =~ m@^/@) { diff --git a/Makefile.org b/Makefile.org index 0d09ad4209..5e510f279d 100644 --- a/Makefile.org +++ b/Makefile.org @@ -137,6 +137,7 @@ BASEADDR= DIRS= crypto ssl engines apps test tools ENGDIRS= ccgost SHLIBDIRS= crypto ssl +INSTALL_SUBS= engines apps tools # dirs in crypto to build SDIRS= \ @@ -426,11 +427,6 @@ files: $(PERL) $(TOP)/util/files.pl Makefile > $(TOP)/MINFO @set -e; target=files; $(RECURSIVE_BUILD_CMD) -links: - @$(PERL) $(TOP)/util/mkdir-p.pl include/openssl - @$(PERL) $(TOP)/util/mklink.pl include/openssl $(EXHEADER) - @set -e; target=links; $(RECURSIVE_BUILD_CMD) - gentests: @(cd test && echo "generating dummy tests (if needed)..." && \ $(CLEARENV) && $(MAKE) -e $(BUILDENV) TESTS='$(TESTS)' OPENSSL_DEBUG_MEMORY=on generate ); @@ -486,10 +482,10 @@ util/libeay.num:: util/ssleay.num:: $(PERL) util/mkdef.pl ssl update -crypto/objects/obj_dat.h: crypto/objects/obj_dat.pl crypto/objects/obj_mac.h - $(PERL) crypto/objects/obj_dat.pl crypto/objects/obj_mac.h crypto/objects/obj_dat.h -crypto/objects/obj_mac.h: crypto/objects/objects.pl crypto/objects/objects.txt crypto/objects/obj_mac.num - $(PERL) crypto/objects/objects.pl crypto/objects/objects.txt crypto/objects/obj_mac.num crypto/objects/obj_mac.h +crypto/objects/obj_dat.h: crypto/objects/obj_dat.pl include/openssl/obj_mac.h + $(PERL) crypto/objects/obj_dat.pl include/openssl/obj_mac.h crypto/objects/obj_dat.h +include/openssl/obj_mac.h: crypto/objects/objects.pl crypto/objects/objects.txt crypto/objects/obj_mac.num + $(PERL) crypto/objects/objects.pl crypto/objects/objects.txt crypto/objects/obj_mac.num include/openssl/obj_mac.h crypto/objects/obj_xref.h: crypto/objects/objxref.pl crypto/objects/obj_xref.txt crypto/objects/obj_mac.num $(PERL) crypto/objects/objxref.pl crypto/objects/obj_mac.num crypto/objects/obj_xref.txt >crypto/objects/obj_xref.h @@ -547,12 +543,11 @@ uninstall: uninstall_sw uninstall_docs install_sw: @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALLDIRS) - @set -e; headerlist="$(EXHEADER)"; for i in $$headerlist;\ - do \ - (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ + @set -e; for i in include/openssl/*.h; do \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/$$i ); \ done; - @set -e; target=install; $(RECURSIVE_BUILD_CMD) + @set -e; target=install; for dir in $(INSTALL_SUBS); do $(BUILD_CMD); done @set -e; liblist="$(LIBS)"; for i in $$liblist ;\ do \ if [ -f "$$i" ]; then \ diff --git a/crypto/err/openssl.ec b/crypto/err/openssl.ec index 3c268d2ca0..8a10b80b04 100644 --- a/crypto/err/openssl.ec +++ b/crypto/err/openssl.ec @@ -4,37 +4,38 @@ # files that may have to be rewritten by util/mkerr.pl L ERR NONE NONE -L BN crypto/bn/bn.h crypto/bn/bn_err.c -L RSA crypto/rsa/rsa.h crypto/rsa/rsa_err.c -L DH crypto/dh/dh.h crypto/dh/dh_err.c -L EVP crypto/evp/evp.h crypto/evp/evp_err.c -L BUF crypto/buffer/buffer.h crypto/buffer/buf_err.c -L OBJ crypto/objects/objects.h crypto/objects/obj_err.c -L PEM crypto/pem/pem.h crypto/pem/pem_err.c -L DSA crypto/dsa/dsa.h crypto/dsa/dsa_err.c -L X509 crypto/x509/x509.h crypto/x509/x509_err.c -L ASN1 crypto/asn1/asn1.h crypto/asn1/asn1_err.c -L CONF crypto/conf/conf.h crypto/conf/conf_err.c -L CRYPTO crypto/crypto.h crypto/cpt_err.c -L EC crypto/ec/ec.h crypto/ec/ec_err.c -L SSL ssl/ssl.h ssl/ssl_err.c -L BIO crypto/bio/bio.h crypto/bio/bio_err.c -L PKCS7 crypto/pkcs7/pkcs7.h crypto/pkcs7/pkcs7err.c -L X509V3 crypto/x509v3/x509v3.h crypto/x509v3/v3err.c -L PKCS12 crypto/pkcs12/pkcs12.h crypto/pkcs12/pk12err.c -L RAND crypto/rand/rand.h crypto/rand/rand_err.c -L DSO crypto/dso/dso.h crypto/dso/dso_err.c -L ENGINE crypto/engine/engine.h crypto/engine/eng_err.c -L OCSP crypto/ocsp/ocsp.h crypto/ocsp/ocsp_err.c -L UI crypto/ui/ui.h crypto/ui/ui_err.c -L COMP crypto/comp/comp.h crypto/comp/comp_err.c -L ECDSA crypto/ecdsa/ecdsa.h crypto/ecdsa/ecs_err.c -L ECDH crypto/ecdh/ecdh.h crypto/ecdh/ech_err.c -L STORE crypto/store/store.h crypto/store/str_err.c -L TS crypto/ts/ts.h crypto/ts/ts_err.c -L HMAC crypto/hmac/hmac.h crypto/hmac/hmac_err.c -L CMS crypto/cms/cms.h crypto/cms/cms_err.c -L JPAKE crypto/jpake/jpake.h crypto/jpake/jpake_err.c +L BN include/openssl/bn.h crypto/bn/bn_err.c +L RSA include/openssl/rsa.h crypto/rsa/rsa_err.c +L DH include/openssl/dh.h crypto/dh/dh_err.c +L EVP include/openssl/evp.h crypto/evp/evp_err.c +L BUF include/openssl/buffer.h crypto/buffer/buf_err.c +L OBJ include/openssl/objects.h crypto/objects/obj_err.c +L PEM include/openssl/pem.h crypto/pem/pem_err.c +L DSA include/openssl/dsa.h crypto/dsa/dsa_err.c +L X509 include/openssl/x509.h crypto/x509/x509_err.c +L ASN1 include/openssl/asn1.h crypto/asn1/asn1_err.c +L CONF include/openssl/conf.h crypto/conf/conf_err.c +L CRYPTO include/openssl/crypto.h crypto/cpt_err.c +L EC include/openssl/ec.h crypto/ec/ec_err.c +L SSL include/openssl/ssl.h ssl/ssl_err.c +L BIO include/openssl/bio.h crypto/bio/bio_err.c +L PKCS7 include/openssl/pkcs7.h crypto/pkcs7/pkcs7err.c +L X509V3 include/openssl/x509v3.h crypto/x509v3/v3err.c +L PKCS12 include/openssl/pkcs12.h crypto/pkcs12/pk12err.c +L RAND include/openssl/rand.h crypto/rand/rand_err.c +L DSO include/openssl/dso.h crypto/dso/dso_err.c +L ENGINE include/openssl/engine.h crypto/engine/eng_err.c +L OCSP include/openssl/ocsp.h crypto/ocsp/ocsp_err.c +L UI include/openssl/ui.h crypto/ui/ui_err.c +L COMP include/openssl/comp.h crypto/comp/comp_err.c +L ECDSA include/openssl/ecdsa.h crypto/ecdsa/ecs_err.c +L ECDH include/openssl/ecdh.h crypto/ecdh/ech_err.c +L STORE include/openssl/store.h crypto/store/str_err.c +L TS include/openssl/ts.h crypto/ts/ts_err.c +L HMAC include/openssl/hmac.h crypto/hmac/hmac_err.c +L CMS include/openssl/cms.h crypto/cms/cms_err.c +L JPAKE include/openssl/jpake.h crypto/jpake/jpake_err.c +L FIPS include/openssl/fips.h crypto/fips_err.h # additional header files to be scanned for function names L NONE crypto/x509/x509_vfy.h NONE diff --git a/crypto/objects/Makefile b/crypto/objects/Makefile index c6ea71e9d3..26a30bb39d 100644 --- a/crypto/objects/Makefile +++ b/crypto/objects/Makefile @@ -38,13 +38,13 @@ lib: $(LIBOBJ) $(RANLIB) $(LIB) || echo Never mind. @touch lib -obj_dat.h: obj_dat.pl obj_mac.h - $(PERL) obj_dat.pl obj_mac.h obj_dat.h +obj_dat.h: obj_dat.pl ../../include/openssl/obj_mac.h + $(PERL) obj_dat.pl ../../include/openssl/obj_mac.h obj_dat.h # objects.pl both reads and writes obj_mac.num -obj_mac.h: objects.pl objects.txt obj_mac.num - $(PERL) objects.pl objects.txt obj_mac.num obj_mac.h - @sleep 1; touch obj_mac.h; sleep 1 +../../include/openssl/obj_mac.h: objects.pl objects.txt obj_mac.num + $(PERL) objects.pl objects.txt obj_mac.num ../../include/openssl/obj_mac.h + @sleep 1; touch ../../include/openssl/obj_mac.h; sleep 1 obj_xref.h: objxref.pl obj_xref.txt obj_mac.num $(PERL) objxref.pl obj_mac.num obj_xref.txt > obj_xref.h diff --git a/crypto/aes/aes.h b/include/openssl/aes.h index 20e7b8ee0c..20e7b8ee0c 100644 --- a/crypto/aes/aes.h +++ b/include/openssl/aes.h diff --git a/crypto/asn1/asn1.h b/include/openssl/asn1.h index 30de831f35..30de831f35 100644 --- a/crypto/asn1/asn1.h +++ b/include/openssl/asn1.h diff --git a/crypto/asn1/asn1_mac.h b/include/openssl/asn1_mac.h index abc6dc35ca..abc6dc35ca 100644 --- a/crypto/asn1/asn1_mac.h +++ b/include/openssl/asn1_mac.h diff --git a/crypto/asn1/asn1t.h b/include/openssl/asn1t.h index 7a2611ef68..7a2611ef68 100644 --- a/crypto/asn1/asn1t.h +++ b/include/openssl/asn1t.h diff --git a/crypto/bio/bio.h b/include/openssl/bio.h index 76b6662ab7..76b6662ab7 100644 --- a/crypto/bio/bio.h +++ b/include/openssl/bio.h diff --git a/crypto/bf/blowfish.h b/include/openssl/blowfish.h index ae613e88b7..ae613e88b7 100644 --- a/crypto/bf/blowfish.h +++ b/include/openssl/blowfish.h diff --git a/crypto/bn/bn.h b/include/openssl/bn.h index f13760547d..f13760547d 100644 --- a/crypto/bn/bn.h +++ b/include/openssl/bn.h diff --git a/crypto/buffer/buffer.h b/include/openssl/buffer.h index 672c06b395..672c06b395 100644 --- a/crypto/buffer/buffer.h +++ b/include/openssl/buffer.h diff --git a/crypto/camellia/camellia.h b/include/openssl/camellia.h index 5ea700bd18..5ea700bd18 100644 --- a/crypto/camellia/camellia.h +++ b/include/openssl/camellia.h diff --git a/crypto/cast/cast.h b/include/openssl/cast.h index 7e9c21ac40..7e9c21ac40 100644 --- a/crypto/cast/cast.h +++ b/include/openssl/cast.h diff --git a/crypto/cmac/cmac.h b/include/openssl/cmac.h index 175be8348a..175be8348a 100644 --- a/crypto/cmac/cmac.h +++ b/include/openssl/cmac.h diff --git a/crypto/cms/cms.h b/include/openssl/cms.h index c424b761d3..c424b761d3 100644 --- a/crypto/cms/cms.h +++ b/include/openssl/cms.h diff --git a/crypto/comp/comp.h b/include/openssl/comp.h index 406c428aae..406c428aae 100644 --- a/crypto/comp/comp.h +++ b/include/openssl/comp.h diff --git a/crypto/conf/conf.h b/include/openssl/conf.h index 06c76018fd..06c76018fd 100644 --- a/crypto/conf/conf.h +++ b/include/openssl/conf.h diff --git a/crypto/conf/conf_api.h b/include/openssl/conf_api.h index e478f7df4b..e478f7df4b 100644 --- a/crypto/conf/conf_api.h +++ b/include/openssl/conf_api.h diff --git a/crypto/crypto.h b/include/openssl/crypto.h index 9762398950..9762398950 100644 --- a/crypto/crypto.h +++ b/include/openssl/crypto.h diff --git a/crypto/des/des.h b/include/openssl/des.h index 6bb037d9b4..6bb037d9b4 100644 --- a/crypto/des/des.h +++ b/include/openssl/des.h diff --git a/crypto/dh/dh.h b/include/openssl/dh.h index 2d7c739eca..2d7c739eca 100644 --- a/crypto/dh/dh.h +++ b/include/openssl/dh.h diff --git a/crypto/dsa/dsa.h b/include/openssl/dsa.h index 8fd55961cb..8fd55961cb 100644 --- a/crypto/dsa/dsa.h +++ b/include/openssl/dsa.h diff --git a/crypto/dso/dso.h b/include/openssl/dso.h index 12c16b69b2..12c16b69b2 100644 --- a/crypto/dso/dso.h +++ b/include/openssl/dso.h diff --git a/ssl/dtls1.h b/include/openssl/dtls1.h index 542ae04627..542ae04627 100644 --- a/ssl/dtls1.h +++ b/include/openssl/dtls1.h diff --git a/e_os2.h b/include/openssl/e_os2.h index 12bad8acc4..12bad8acc4 100644 --- a/e_os2.h +++ b/include/openssl/e_os2.h diff --git a/crypto/ebcdic.h b/include/openssl/ebcdic.h index 4cbdfeb7ae..4cbdfeb7ae 100644 --- a/crypto/ebcdic.h +++ b/include/openssl/ebcdic.h diff --git a/crypto/ec/ec.h b/include/openssl/ec.h index 2d36dd5ea7..2d36dd5ea7 100644 --- a/crypto/ec/ec.h +++ b/include/openssl/ec.h diff --git a/crypto/ecdh/ecdh.h b/include/openssl/ecdh.h index 8a48b12fb3..8a48b12fb3 100644 --- a/crypto/ecdh/ecdh.h +++ b/include/openssl/ecdh.h diff --git a/crypto/ecdsa/ecdsa.h b/include/openssl/ecdsa.h index f60c229c40..f60c229c40 100644 --- a/crypto/ecdsa/ecdsa.h +++ b/include/openssl/ecdsa.h diff --git a/crypto/engine/engine.h b/include/openssl/engine.h index e2f3e5cd9e..e2f3e5cd9e 100644 --- a/crypto/engine/engine.h +++ b/include/openssl/engine.h diff --git a/crypto/err/err.h b/include/openssl/err.h index 577a121475..577a121475 100644 --- a/crypto/err/err.h +++ b/include/openssl/err.h diff --git a/crypto/evp/evp.h b/include/openssl/evp.h index 0d26fd3129..0d26fd3129 100644 --- a/crypto/evp/evp.h +++ b/include/openssl/evp.h diff --git a/crypto/hmac/hmac.h b/include/openssl/hmac.h index 61946fc456..61946fc456 100644 --- a/crypto/hmac/hmac.h +++ b/include/openssl/hmac.h diff --git a/crypto/idea/idea.h b/include/openssl/idea.h index 13feb199bc..13feb199bc 100644 --- a/crypto/idea/idea.h +++ b/include/openssl/idea.h diff --git a/crypto/jpake/jpake.h b/include/openssl/jpake.h index 371eed679c..371eed679c 100644 --- a/crypto/jpake/jpake.h +++ b/include/openssl/jpake.h diff --git a/crypto/krb5/krb5_asn.h b/include/openssl/krb5_asn.h index 9cf5a26dd8..9cf5a26dd8 100644 --- a/crypto/krb5/krb5_asn.h +++ b/include/openssl/krb5_asn.h diff --git a/ssl/kssl.h b/include/openssl/kssl.h index 9a57672801..9a57672801 100644 --- a/ssl/kssl.h +++ b/include/openssl/kssl.h diff --git a/crypto/lhash/lhash.h b/include/openssl/lhash.h index fb92317ee7..fb92317ee7 100644 --- a/crypto/lhash/lhash.h +++ b/include/openssl/lhash.h diff --git a/crypto/md2/md2.h b/include/openssl/md2.h index 74c50529ae..74c50529ae 100644 --- a/crypto/md2/md2.h +++ b/include/openssl/md2.h diff --git a/crypto/md4/md4.h b/include/openssl/md4.h index 01052f339f..01052f339f 100644 --- a/crypto/md4/md4.h +++ b/include/openssl/md4.h diff --git a/crypto/md5/md5.h b/include/openssl/md5.h index 91f4251ece..91f4251ece 100644 --- a/crypto/md5/md5.h +++ b/include/openssl/md5.h diff --git a/crypto/mdc2/mdc2.h b/include/openssl/mdc2.h index c2438c885d..c2438c885d 100644 --- a/crypto/mdc2/mdc2.h +++ b/include/openssl/mdc2.h diff --git a/crypto/modes/modes.h b/include/openssl/modes.h index f5767f56d0..f5767f56d0 100644 --- a/crypto/modes/modes.h +++ b/include/openssl/modes.h diff --git a/crypto/objects/obj_mac.h b/include/openssl/obj_mac.h index 9d373968cb..9d373968cb 100644 --- a/crypto/objects/obj_mac.h +++ b/include/openssl/obj_mac.h diff --git a/crypto/objects/objects.h b/include/openssl/objects.h index 165817fb1a..165817fb1a 100644 --- a/crypto/objects/objects.h +++ b/include/openssl/objects.h diff --git a/crypto/ocsp/ocsp.h b/include/openssl/ocsp.h index ab45db4544..ab45db4544 100644 --- a/crypto/ocsp/ocsp.h +++ b/include/openssl/ocsp.h diff --git a/crypto/opensslv.h b/include/openssl/opensslv.h index 97c27e79ea..97c27e79ea 100644 --- a/crypto/opensslv.h +++ b/include/openssl/opensslv.h diff --git a/crypto/ossl_typ.h b/include/openssl/ossl_typ.h index 85fb7b9b40..85fb7b9b40 100644 --- a/crypto/ossl_typ.h +++ b/include/openssl/ossl_typ.h diff --git a/crypto/pem/pem.h b/include/openssl/pem.h index d42e5b0081..d42e5b0081 100644 --- a/crypto/pem/pem.h +++ b/include/openssl/pem.h diff --git a/crypto/pem/pem2.h b/include/openssl/pem2.h index 84897d5ec3..84897d5ec3 100644 --- a/crypto/pem/pem2.h +++ b/include/openssl/pem2.h diff --git a/crypto/pkcs12/pkcs12.h b/include/openssl/pkcs12.h index e58e55c58a..e58e55c58a 100644 --- a/crypto/pkcs12/pkcs12.h +++ b/include/openssl/pkcs12.h diff --git a/crypto/pkcs7/pkcs7.h b/include/openssl/pkcs7.h index 5d5d5c2d07..5d5d5c2d07 100644 --- a/crypto/pkcs7/pkcs7.h +++ b/include/openssl/pkcs7.h diff --git a/crypto/pqueue/pqueue.h b/include/openssl/pqueue.h index d40d9c7d85..d40d9c7d85 100644 --- a/crypto/pqueue/pqueue.h +++ b/include/openssl/pqueue.h diff --git a/crypto/rand/rand.h b/include/openssl/rand.h index 14b479343a..14b479343a 100644 --- a/crypto/rand/rand.h +++ b/include/openssl/rand.h diff --git a/crypto/rc2/rc2.h b/include/openssl/rc2.h index cf616513e6..cf616513e6 100644 --- a/crypto/rc2/rc2.h +++ b/include/openssl/rc2.h diff --git a/crypto/rc4/rc4.h b/include/openssl/rc4.h index 6f52cc606f..6f52cc606f 100644 --- a/crypto/rc4/rc4.h +++ b/include/openssl/rc4.h diff --git a/crypto/rc5/rc5.h b/include/openssl/rc5.h index 38d0b1988e..38d0b1988e 100644 --- a/crypto/rc5/rc5.h +++ b/include/openssl/rc5.h diff --git a/crypto/ripemd/ripemd.h b/include/openssl/ripemd.h index 9933078d69..9933078d69 100644 --- a/crypto/ripemd/ripemd.h +++ b/include/openssl/ripemd.h diff --git a/crypto/rsa/rsa.h b/include/openssl/rsa.h index 9ba64970b6..9ba64970b6 100644 --- a/crypto/rsa/rsa.h +++ b/include/openssl/rsa.h diff --git a/crypto/stack/safestack.h b/include/openssl/safestack.h index ae06a12af7..ae06a12af7 100644 --- a/crypto/stack/safestack.h +++ b/include/openssl/safestack.h diff --git a/crypto/seed/seed.h b/include/openssl/seed.h index 918f70c658..918f70c658 100644 --- a/crypto/seed/seed.h +++ b/include/openssl/seed.h diff --git a/crypto/sha/sha.h b/include/openssl/sha.h index e35f328943..e35f328943 100644 --- a/crypto/sha/sha.h +++ b/include/openssl/sha.h diff --git a/crypto/srp/srp.h b/include/openssl/srp.h index 49cf960347..49cf960347 100644 --- a/crypto/srp/srp.h +++ b/include/openssl/srp.h diff --git a/ssl/srtp.h b/include/openssl/srtp.h index 611f5efade..611f5efade 100644 --- a/ssl/srtp.h +++ b/include/openssl/srtp.h diff --git a/ssl/ssl.h b/include/openssl/ssl.h index 50a79a8a69..50a79a8a69 100644 --- a/ssl/ssl.h +++ b/include/openssl/ssl.h diff --git a/ssl/ssl2.h b/include/openssl/ssl2.h index 64e1b142ec..64e1b142ec 100644 --- a/ssl/ssl2.h +++ b/include/openssl/ssl2.h diff --git a/ssl/ssl23.h b/include/openssl/ssl23.h index 9de4685af9..9de4685af9 100644 --- a/ssl/ssl23.h +++ b/include/openssl/ssl23.h diff --git a/ssl/ssl3.h b/include/openssl/ssl3.h index 7d16d70de5..7d16d70de5 100644 --- a/ssl/ssl3.h +++ b/include/openssl/ssl3.h diff --git a/crypto/stack/stack.h b/include/openssl/stack.h index 6b8869cd95..6b8869cd95 100644 --- a/crypto/stack/stack.h +++ b/include/openssl/stack.h diff --git a/crypto/store/store.h b/include/openssl/store.h index cd07b26d4b..cd07b26d4b 100644 --- a/crypto/store/store.h +++ b/include/openssl/store.h diff --git a/crypto/symhacks.h b/include/openssl/symhacks.h index 97856851db..97856851db 100644 --- a/crypto/symhacks.h +++ b/include/openssl/symhacks.h diff --git a/ssl/tls1.h b/include/openssl/tls1.h index e1beaf3bbd..e1beaf3bbd 100644 --- a/ssl/tls1.h +++ b/include/openssl/tls1.h diff --git a/crypto/ts/ts.h b/include/openssl/ts.h index c6daed2d90..c6daed2d90 100644 --- a/crypto/ts/ts.h +++ b/include/openssl/ts.h diff --git a/crypto/txt_db/txt_db.h b/include/openssl/txt_db.h index 54b71fc03e..54b71fc03e 100644 --- a/crypto/txt_db/txt_db.h +++ b/include/openssl/txt_db.h diff --git a/crypto/ui/ui.h b/include/openssl/ui.h index 2afc58d1bd..2afc58d1bd 100644 --- a/crypto/ui/ui.h +++ b/include/openssl/ui.h diff --git a/crypto/whrlpool/whrlpool.h b/include/openssl/whrlpool.h index 31fc2ff132..31fc2ff132 100644 --- a/crypto/whrlpool/whrlpool.h +++ b/include/openssl/whrlpool.h diff --git a/crypto/x509/x509.h b/include/openssl/x509.h index 6f481b590b..6f481b590b 100644 --- a/crypto/x509/x509.h +++ b/include/openssl/x509.h diff --git a/crypto/x509/x509_vfy.h b/include/openssl/x509_vfy.h index e41b5e228b..e41b5e228b 100644 --- a/crypto/x509/x509_vfy.h +++ b/include/openssl/x509_vfy.h diff --git a/crypto/x509v3/x509v3.h b/include/openssl/x509v3.h index a46ec5d741..a46ec5d741 100644 --- a/crypto/x509v3/x509v3.h +++ b/include/openssl/x509v3.h diff --git a/crypto/bf/bftest.c b/test/bftest.c index e581bf50ab..e581bf50ab 100644 --- a/crypto/bf/bftest.c +++ b/test/bftest.c diff --git a/crypto/bn/bntest.c b/test/bntest.c index 521858ae16..521858ae16 100644 --- a/crypto/bn/bntest.c +++ b/test/bntest.c diff --git a/crypto/cast/casttest.c b/test/casttest.c index 8063b9c2e1..8063b9c2e1 100644 --- a/crypto/cast/casttest.c +++ b/test/casttest.c diff --git a/crypto/constant_time_test.c b/test/constant_time_test.c index d313d0c7a9..d313d0c7a9 100644 --- a/crypto/constant_time_test.c +++ b/test/constant_time_test.c diff --git a/crypto/des/destest.c b/test/destest.c index 406e6de7bc..406e6de7bc 100644 --- a/crypto/des/destest.c +++ b/test/destest.c diff --git a/crypto/dh/dhtest.c b/test/dhtest.c index 6c063daf3d..6c063daf3d 100644 --- a/crypto/dh/dhtest.c +++ b/test/dhtest.c diff --git a/crypto/dsa/dsatest.c b/test/dsatest.c index a5d40f1eb6..a5d40f1eb6 100644 --- a/crypto/dsa/dsatest.c +++ b/test/dsatest.c diff --git a/crypto/ecdh/ecdhtest.c b/test/ecdhtest.c index a89177e435..a89177e435 100644 --- a/crypto/ecdh/ecdhtest.c +++ b/test/ecdhtest.c diff --git a/crypto/ecdsa/ecdsatest.c b/test/ecdsatest.c index 3a455b4747..3a455b4747 100644 --- a/crypto/ecdsa/ecdsatest.c +++ b/test/ecdsatest.c diff --git a/crypto/ec/ectest.c b/test/ectest.c index 79ec21f820..79ec21f820 100644 --- a/crypto/ec/ectest.c +++ b/test/ectest.c diff --git a/crypto/engine/enginetest.c b/test/enginetest.c index ab7c0c00dd..ab7c0c00dd 100644 --- a/crypto/engine/enginetest.c +++ b/test/enginetest.c diff --git a/crypto/evp/evp_extra_test.c b/test/evp_extra_test.c index 567ed0f5f9..567ed0f5f9 100644 --- a/crypto/evp/evp_extra_test.c +++ b/test/evp_extra_test.c diff --git a/crypto/evp/evp_test.c b/test/evp_test.c index 68d5bde300..68d5bde300 100644 --- a/crypto/evp/evp_test.c +++ b/test/evp_test.c diff --git a/crypto/evp/evptests.txt b/test/evptests.txt index 26d371c559..26d371c559 100644 --- a/crypto/evp/evptests.txt +++ b/test/evptests.txt diff --git a/crypto/bn/exptest.c b/test/exptest.c index 2da8dc2ffe..2da8dc2ffe 100644 --- a/crypto/bn/exptest.c +++ b/test/exptest.c diff --git a/engines/ccgost/gost2814789test.c b/test/gost2814789test.c index 8384d66bd0..8384d66bd0 100644 --- a/engines/ccgost/gost2814789test.c +++ b/test/gost2814789test.c diff --git a/ssl/heartbeat_test.c b/test/heartbeat_test.c index 491bbedd18..491bbedd18 100644 --- a/ssl/heartbeat_test.c +++ b/test/heartbeat_test.c diff --git a/crypto/hmac/hmactest.c b/test/hmactest.c index 5e90dba55a..5e90dba55a 100644 --- a/crypto/hmac/hmactest.c +++ b/test/hmactest.c diff --git a/crypto/idea/ideatest.c b/test/ideatest.c index dd5d9ff12f..dd5d9ff12f 100644 --- a/crypto/idea/ideatest.c +++ b/test/ideatest.c diff --git a/crypto/jpake/jpaketest.c b/test/jpaketest.c index ef9e54bdb3..ef9e54bdb3 100644 --- a/crypto/jpake/jpaketest.c +++ b/test/jpaketest.c diff --git a/crypto/md2/md2test.c b/test/md2test.c index 49a8a9bc78..49a8a9bc78 100644 --- a/crypto/md2/md2test.c +++ b/test/md2test.c diff --git a/crypto/md4/md4test.c b/test/md4test.c index 9c82eb07f8..9c82eb07f8 100644 --- a/crypto/md4/md4test.c +++ b/test/md4test.c diff --git a/crypto/md5/md5test.c b/test/md5test.c index 3016ee39d5..3016ee39d5 100644 --- a/crypto/md5/md5test.c +++ b/test/md5test.c diff --git a/crypto/mdc2/mdc2test.c b/test/mdc2test.c index a0d77a30ec..a0d77a30ec 100644 --- a/crypto/mdc2/mdc2test.c +++ b/test/mdc2test.c diff --git a/crypto/evp/p5_crpt2_test.c b/test/p5_crpt2_test.c index 01661b15ed..01661b15ed 100644 --- a/crypto/evp/p5_crpt2_test.c +++ b/test/p5_crpt2_test.c diff --git a/crypto/rand/randtest.c b/test/randtest.c index 67acf700ee..67acf700ee 100644 --- a/crypto/rand/randtest.c +++ b/test/randtest.c diff --git a/crypto/rc2/rc2test.c b/test/rc2test.c index ae57e56d39..ae57e56d39 100644 --- a/crypto/rc2/rc2test.c +++ b/test/rc2test.c diff --git a/crypto/rc4/rc4test.c b/test/rc4test.c index a1f96e4cb8..a1f96e4cb8 100644 --- a/crypto/rc4/rc4test.c +++ b/test/rc4test.c diff --git a/crypto/rc5/rc5test.c b/test/rc5test.c index 5ed4d21105..5ed4d21105 100644 --- a/crypto/rc5/rc5test.c +++ b/test/rc5test.c diff --git a/crypto/ripemd/rmdtest.c b/test/rmdtest.c index b0ebb12c27..b0ebb12c27 100644 --- a/crypto/ripemd/rmdtest.c +++ b/test/rmdtest.c diff --git a/crypto/rsa/rsa_test.c b/test/rsa_test.c index e9712953e9..e9712953e9 100644 --- a/crypto/rsa/rsa_test.c +++ b/test/rsa_test.c diff --git a/crypto/sha/sha1test.c b/test/sha1test.c index cc3633dc68..cc3633dc68 100644 --- a/crypto/sha/sha1test.c +++ b/test/sha1test.c diff --git a/crypto/sha/sha256t.c b/test/sha256t.c index 0872f346b7..0872f346b7 100644 --- a/crypto/sha/sha256t.c +++ b/test/sha256t.c diff --git a/crypto/sha/sha512t.c b/test/sha512t.c index a4d4b5e80b..a4d4b5e80b 100644 --- a/crypto/sha/sha512t.c +++ b/test/sha512t.c diff --git a/crypto/srp/srptest.c b/test/srptest.c index 1d463cd782..1d463cd782 100644 --- a/crypto/srp/srptest.c +++ b/test/srptest.c diff --git a/ssl/ssltest.c b/test/ssltest.c index 508fedd613..508fedd613 100644 --- a/ssl/ssltest.c +++ b/test/ssltest.c diff --git a/crypto/x509v3/v3nametest.c b/test/v3nametest.c index 7b5c1c8e51..7b5c1c8e51 100644 --- a/crypto/x509v3/v3nametest.c +++ b/test/v3nametest.c diff --git a/crypto/whrlpool/wp_test.c b/test/wp_test.c index 2ea6251a58..2ea6251a58 100644 --- a/crypto/whrlpool/wp_test.c +++ b/test/wp_test.c diff --git a/util/mkdef.pl b/util/mkdef.pl index 1d47561f4c..7f1c093e32 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -257,79 +257,79 @@ $max_ssl = $max_num; %crypto_list=&load_numbers($crypto_num); $max_crypto = $max_num; -my $ssl="ssl/ssl.h"; -$ssl.=" ssl/kssl.h"; -$ssl.=" ssl/tls1.h"; -$ssl.=" ssl/srtp.h"; +my $ssl="include/openssl/ssl.h"; +$ssl.=" include/openssl/kssl.h"; +$ssl.=" include/openssl/tls1.h"; +$ssl.=" include/openssl/srtp.h"; -my $crypto ="crypto/crypto.h"; +my $crypto ="include/openssl/crypto.h"; $crypto.=" crypto/cryptlib.h"; $crypto.=" crypto/o_dir.h"; $crypto.=" crypto/o_str.h"; -$crypto.=" crypto/des/des.h" ; # unless $no_des; -$crypto.=" crypto/idea/idea.h" ; # unless $no_idea; -$crypto.=" crypto/rc4/rc4.h" ; # unless $no_rc4; -$crypto.=" crypto/rc5/rc5.h" ; # unless $no_rc5; -$crypto.=" crypto/rc2/rc2.h" ; # unless $no_rc2; -$crypto.=" crypto/bf/blowfish.h" ; # unless $no_bf; -$crypto.=" crypto/cast/cast.h" ; # unless $no_cast; -$crypto.=" crypto/whrlpool/whrlpool.h" ; -$crypto.=" crypto/md2/md2.h" ; # unless $no_md2; -$crypto.=" crypto/md4/md4.h" ; # unless $no_md4; -$crypto.=" crypto/md5/md5.h" ; # unless $no_md5; -$crypto.=" crypto/mdc2/mdc2.h" ; # unless $no_mdc2; -$crypto.=" crypto/sha/sha.h" ; # unless $no_sha; -$crypto.=" crypto/ripemd/ripemd.h" ; # unless $no_ripemd; -$crypto.=" crypto/aes/aes.h" ; # unless $no_aes; -$crypto.=" crypto/camellia/camellia.h" ; # unless $no_camellia; -$crypto.=" crypto/seed/seed.h"; # unless $no_seed; - -$crypto.=" crypto/bn/bn.h"; -$crypto.=" crypto/rsa/rsa.h" ; # unless $no_rsa; -$crypto.=" crypto/dsa/dsa.h" ; # unless $no_dsa; -$crypto.=" crypto/dh/dh.h" ; # unless $no_dh; -$crypto.=" crypto/ec/ec.h" ; # unless $no_ec; -$crypto.=" crypto/ecdsa/ecdsa.h" ; # unless $no_ecdsa; -$crypto.=" crypto/ecdh/ecdh.h" ; # unless $no_ecdh; -$crypto.=" crypto/hmac/hmac.h" ; # unless $no_hmac; -$crypto.=" crypto/cmac/cmac.h" ; - -$crypto.=" crypto/engine/engine.h"; # unless $no_engine; -$crypto.=" crypto/stack/stack.h" ; # unless $no_stack; -$crypto.=" crypto/buffer/buffer.h" ; # unless $no_buffer; -$crypto.=" crypto/bio/bio.h" ; # unless $no_bio; -$crypto.=" crypto/dso/dso.h" ; # unless $no_dso; -$crypto.=" crypto/lhash/lhash.h" ; # unless $no_lhash; -$crypto.=" crypto/conf/conf.h"; -$crypto.=" crypto/txt_db/txt_db.h"; - -$crypto.=" crypto/evp/evp.h" ; # unless $no_evp; -$crypto.=" crypto/objects/objects.h"; -$crypto.=" crypto/pem/pem.h"; -#$crypto.=" crypto/meth/meth.h"; -$crypto.=" crypto/asn1/asn1.h"; -$crypto.=" crypto/asn1/asn1t.h"; -$crypto.=" crypto/asn1/asn1_mac.h"; -$crypto.=" crypto/err/err.h" ; # unless $no_err; -$crypto.=" crypto/pkcs7/pkcs7.h"; -$crypto.=" crypto/pkcs12/pkcs12.h"; -$crypto.=" crypto/x509/x509.h"; -$crypto.=" crypto/x509/x509_vfy.h"; -$crypto.=" crypto/x509v3/x509v3.h"; -$crypto.=" crypto/ts/ts.h"; -$crypto.=" crypto/rand/rand.h"; -$crypto.=" crypto/comp/comp.h" ; # unless $no_comp; -$crypto.=" crypto/ocsp/ocsp.h"; -$crypto.=" crypto/ui/ui.h"; -$crypto.=" crypto/krb5/krb5_asn.h"; -#$crypto.=" crypto/store/store.h"; -$crypto.=" crypto/pqueue/pqueue.h"; -$crypto.=" crypto/cms/cms.h"; -$crypto.=" crypto/jpake/jpake.h"; -$crypto.=" crypto/srp/srp.h"; -$crypto.=" crypto/modes/modes.h"; - -my $symhacks="crypto/symhacks.h"; +$crypto.=" include/openssl/des.h" ; # unless $no_des; +$crypto.=" include/openssl/idea.h" ; # unless $no_idea; +$crypto.=" include/openssl/rc4.h" ; # unless $no_rc4; +$crypto.=" include/openssl/rc5.h" ; # unless $no_rc5; +$crypto.=" include/openssl/rc2.h" ; # unless $no_rc2; +$crypto.=" include/openssl/blowfish.h" ; # unless $no_bf; +$crypto.=" include/openssl/cast.h" ; # unless $no_cast; +$crypto.=" include/openssl/whrlpool.h" ; +$crypto.=" include/openssl/md2.h" ; # unless $no_md2; +$crypto.=" include/openssl/md4.h" ; # unless $no_md4; +$crypto.=" include/openssl/md5.h" ; # unless $no_md5; +$crypto.=" include/openssl/mdc2.h" ; # unless $no_mdc2; +$crypto.=" include/openssl/sha.h" ; # unless $no_sha; +$crypto.=" include/openssl/ripemd.h" ; # unless $no_ripemd; +$crypto.=" include/openssl/aes.h" ; # unless $no_aes; +$crypto.=" include/openssl/camellia.h" ; # unless $no_camellia; +$crypto.=" include/openssl/seed.h"; # unless $no_seed; + +$crypto.=" include/openssl/bn.h"; +$crypto.=" include/openssl/rsa.h" ; # unless $no_rsa; +$crypto.=" include/openssl/dsa.h" ; # unless $no_dsa; +$crypto.=" include/openssl/dh.h" ; # unless $no_dh; +$crypto.=" include/openssl/ec.h" ; # unless $no_ec; +$crypto.=" include/openssl/ecdsa.h" ; # unless $no_ecdsa; +$crypto.=" include/openssl/ecdh.h" ; # unless $no_ecdh; +$crypto.=" include/openssl/hmac.h" ; # unless $no_hmac; +$crypto.=" include/openssl/cmac.h" ; + +$crypto.=" include/openssl/engine.h"; # unless $no_engine; +$crypto.=" include/openssl/stack.h" ; # unless $no_stack; +$crypto.=" include/openssl/buffer.h" ; # unless $no_buffer; +$crypto.=" include/openssl/bio.h" ; # unless $no_bio; +$crypto.=" include/openssl/dso.h" ; # unless $no_dso; +$crypto.=" include/openssl/lhash.h" ; # unless $no_lhash; +$crypto.=" include/openssl/conf.h"; +$crypto.=" include/openssl/txt_db.h"; + +$crypto.=" include/openssl/evp.h" ; # unless $no_evp; +$crypto.=" include/openssl/objects.h"; +$crypto.=" include/openssl/pem.h"; +#$crypto.=" include/openssl/meth.h"; +$crypto.=" include/openssl/asn1.h"; +$crypto.=" include/openssl/asn1t.h"; +$crypto.=" include/openssl/asn1_mac.h"; +$crypto.=" include/openssl/err.h" ; # unless $no_err; +$crypto.=" include/openssl/pkcs7.h"; +$crypto.=" include/openssl/pkcs12.h"; +$crypto.=" include/openssl/x509.h"; +$crypto.=" include/openssl/x509_vfy.h"; +$crypto.=" include/openssl/x509v3.h"; +$crypto.=" include/openssl/ts.h"; +$crypto.=" include/openssl/rand.h"; +$crypto.=" include/openssl/comp.h" ; # unless $no_comp; +$crypto.=" include/openssl/ocsp.h"; +$crypto.=" include/openssl/ui.h"; +$crypto.=" include/openssl/krb5_asn.h"; +#$crypto.=" include/openssl/store.h"; +$crypto.=" include/openssl/pqueue.h"; +$crypto.=" include/openssl/cms.h"; +$crypto.=" include/openssl/jpake.h"; +$crypto.=" include/openssl/srp.h"; +$crypto.=" include/openssl/modes.h"; + +my $symhacks="include/openssl/symhacks.h"; my @ssl_symbols = &do_defs("SSLEAY", $ssl, $symhacks); my @crypto_symbols = &do_defs("LIBEAY", $crypto, $symhacks); diff --git a/util/mkstack.pl b/util/mkstack.pl index 6e6741f233..073902759c 100755 --- a/util/mkstack.pl +++ b/util/mkstack.pl @@ -3,7 +3,7 @@ # Search out "DECLARE_STACK_OF()" # declarations in .h and .c files, # and create corresponding macro declarations for crypto/stack/safestack.h. -my $safestack = "crypto/stack/safestack.h"; +my $safestack = "include/openssl/safestack.h"; my $do_write = 0; foreach ( @ARGV ) { @@ -15,7 +15,7 @@ my @sstacklst; my @asn1setlst; my @p12stklst; my @lhashlst; -my @source = (<crypto/*.[ch]>, <crypto/*/*.[ch]>, <ssl/*.[ch]>, <apps/*.[ch]>); +my @source = (<include/openssl/*.h>, <crypto/*.[ch]>, <crypto/*/*.[ch]>, <ssl/*.[ch]>, <apps/*.[ch]>); foreach $file (@source) { next if -l $file; |