aboutsummaryrefslogtreecommitdiffstats
path: root/util/mkdef.pl
Commit message (Collapse)AuthorAgeFilesLines
* remove hard coded algorithmsDr. Stephen Henson2016-01-091-15/+0
| | | | Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Recognise disabled algorithms automatically.Dr. Stephen Henson2016-01-091-125/+14
| | | | Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Fix no CRYPTO_MDEBUG build (windows)Rich Salz2016-01-081-1/+4
| | | | | | | | | In order for mkdep to find #ifdef'd functions, they must be wrapped (in the header file) with #ifndef OPENSSL_NO_... So do that for various CRYPTO_mem_debug... things. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Remove all remaining traces if PEM_SealRichard Levitte2016-01-081-1/+0
| | | | Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Enhance util/mkdef.pl to provide a VMS linker option file for shlibsRichard Levitte2016-01-071-22/+76
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Remove more (rest?) of FIPS build stuff.Rich Salz2016-01-061-12/+2
| | | | Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
* Fix updating via mkdef.plMatt Caswell2015-12-151-10/+14
| | | | | | | | The previous commit introduced a new file format for ssleay.num and libeay.num, i.e. the introduction of a version field. Therefore the update capability in mkdef.pl needs updating to take account of the new format. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Don't export internal symbolsMatt Caswell2015-12-151-44/+226
| | | | | | | | | | | On Linux when creating the .so file we were exporting all symbols. We should only be exporting public symbols. This commit fixes the issue. It is only applicable to linux currently although the same technique may work for other platforms (e.g. Solaris should work the same way). This also adds symbol version information to our exported symbols. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove GMP engine.Rich Salz2015-12-151-3/+1
| | | | Reviewed-by: Ben Laurie <ben@openssl.org>
* Configure: make no-chacha and no-poly1305 work.Andy Polyakov2015-12-101-1/+8
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* remove ecdsa from mkdef.plDr. Stephen Henson2015-12-091-5/+2
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* remove ECDH from mkdef.plDr. Stephen Henson2015-12-091-5/+2
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Various windows build fixes to prepare for windows portMatt Caswell2015-11-201-0/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* RT3992: Make SCT #ifdeffable.David Woodhouse2015-09-091-2/+6
| | | | | | | | | | | | | This code does open-coded division on 64-bit quantities and thus when building with GCC on 32-bit platforms will require functions such as __umoddi3 and __udivdi3 from libgcc. In constrained environments such as firmware, those functions may not be available. So make it possible to compile out SCT support, which in fact (in the case of UEFI) we don't need anyway. Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Tim Hudson <tjh@openssl.org>
* RT3998: Allow scrypt to be disabledRich Salz2015-09-041-1/+4
| | | | | | | | This does 64-bit division and multiplication, and on 32-bit platforms pulls in libgcc symbols (and MSVC does similar) which may not be available. Mostly done by David Woodhouse. Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
* Revert "OPENSSL_NO_xxx cleanup: RFC3779"David Woodhouse2015-09-031-1/+5
| | | | | | | | | | | | | | | | | This reverts the non-cleanup parts of commit c73ad69017. We do actually have a reasonable use case for OPENSSL_NO_RFC3779 in the EDK2 UEFI build, since we don't have a strspn() function in our runtime environment and we don't want the RFC3779 functionality anyway. In addition, it changes the default behaviour of the Configure script so that RFC3779 support isn't disabled by default. It was always disabled from when it was first added in 2006, right up until the point where OPENSSL_NO_RFC3779 was turned into a no-op, and the code in the Configure script was left *trying* to disable it, but not actually working. Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Tim Hudson <tjh@openssl.org>
* Remove support for OPENSSL_NO_TLSEXTMatt Caswell2015-05-221-4/+2
| | | | | | | | | | Given the pervasive nature of TLS extensions it is inadvisable to run OpenSSL without support for them. It also means that maintaining the OPENSSL_NO_TLSEXT option within the code is very invasive (and probably not well tested). Therefore it is being removed. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
* Update mkdef for moved header file.Rich Salz2015-05-141-1/+1
| | | | | | | crypto/cryptlib.h moved to crypto/include/internal; update the script. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Identify and move OpenSSL internal header filesRichard Levitte2015-05-141-2/+2
| | | | | | | | | | | | | | There are header files in crypto/ that are used by the rest of OpenSSL. Move those to include/internal and adapt the affected source code, Makefiles and scripts. The header files that got moved are: crypto/constant_time_locl.h crypto/o_dir.h crypto/o_str.h Reviewed-by: Matt Caswell <matt@openssl.org>
* Remove remaining Kerberos referencesMatt Caswell2015-05-131-5/+2
| | | | | | | Following on from the removal of libcrypto and libssl support for Kerberos this commit removes all remaining references to Kerberos. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove Kerberos support from libsslMatt Caswell2015-05-131-1/+0
| | | | | | | Remove RFC2712 Kerberos support from libssl. This code and the associated standard is no longer considered fit-for-purpose. Reviewed-by: Rich Salz <rsalz@openssl.org>
* remove asn1_mac.hDr. Stephen Henson2015-04-031-1/+0
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Stop symlinking, move files to intended directoryRichard Levitte2015-03-311-69/+69
| | | | | | | | | | | | | 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>
* Teach mkdef.pl to handle multiline declarations.Richard Levitte2015-03-241-3/+16
| | | | | | | | For the moment, this is specially crafted for DECLARE_DEPRECATED because that's where we found the problem, but it can easily be expanded to other types of special delarations when needed. Reviewed-by: Matt Caswell <matt@openssl.org>
* Remove ui_compatRich Salz2015-02-061-1/+1
| | | | | | This is the last of the old DES API. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Have mkdef.pl ignore APPLINK settings.Rich Salz2015-02-061-20/+6
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove OPENSSL_NO_HMACDr. Stephen Henson2015-02-061-3/+1
| | | | | | | Disabling HMAC doesn't work. If it did it would end up disabling a lot of OpenSSL functionality (it is required for all versions of TLS for example). Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix various build breaksRich Salz2015-02-041-3/+3
| | | | | | | | | | | TABLE wasn't updated from a previous Configure change Missed an RMD160/RIPE/RIPEMD unification in mkdef.pl Makefile install_sw referenced file doc/openssl-shared.txt (RT3686) Needed to run 'make update' because - Various old code has been removed - Varous old #ifdef tests were removed Reviewed-by: Richard Levitte <levitte@openssl.org>
* old_des fix windows build, remove docsRich Salz2015-02-021-1/+1
| | | | | | | Remove outdated doc files. Fix windows build after old_des was removed. Reviewed-by: Tim Hudson <tjh@openssl.org>
* Remove OPENSSL_NO_SSL_INTERN as it is now redundant - all internalsMatt Caswell2015-01-311-2/+0
| | | | | | previously protected by this have been moved into non-public headers Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix various windows compilation issuesMatt Caswell2015-01-281-1/+1
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Fix no-ocb for WindowsMatt Caswell2015-01-281-2/+6
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* OPENSSL_NO_xxx cleanup: SHARich Salz2015-01-271-1/+0
| | | | | | | | | | | | | | | Remove support for SHA0 and DSS0 (they were broken), and remove the ability to attempt to build without SHA (it didn't work). For simplicity, remove the option of not building various SHA algorithms; you could argue that SHA_224/256/384/512 should be kept, since they're like crypto algorithms, but I decided to go the other way. So these options are gone: GENUINE_DSA OPENSSL_NO_SHA0 OPENSSL_NO_SHA OPENSSL_NO_SHA1 OPENSSL_NO_SHA224 OPENSSL_NO_SHA256 OPENSSL_NO_SHA384 OPENSSL_NO_SHA512 Reviewed-by: Richard Levitte <levitte@openssl.org>
* OPENSSL_NO_xxx cleanup: RFC3779Rich Salz2015-01-271-5/+1
| | | | | | | | | Remove OPENSSL_NO_RFCF3779. Also, makevms.com was ignored by some of the other cleanups, so I caught it up. Sorry I ignored you, poor little VMS... Reviewed-by: Richard Levitte <levitte@openssl.org>
* RT3548: Remove unsupported platformsRich Salz2015-01-121-33/+8
| | | | | | | This last one for this ticket. Removes WIN16. So long, MS_CALLBACK and MS_FAR. We won't miss you. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix no-deprecated on WindowsMatt Caswell2015-01-121-0/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* RT3548: Remove outdated platformsRich Salz2014-12-191-1/+1
| | | | | | This commit removes all mention of NeXT and NextStep. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Turn on OPENSSL_NO_DEPRECATED by default.Matt Caswell2014-12-181-0/+28
| | | | | | | | | | | | | Also introduce OPENSSL_USE_DEPRECATED. If OPENSSL_NO_DEPRECATED is defined at config stage then OPENSSL_USE_DEPRECATED has no effect - deprecated functions are not available. If OPENSSL_NO_DEPRECATED is not defined at config stage then applications must define OPENSSL_USE_DEPRECATED in order to access deprecated functions. Also introduce compiler warnings for gcc for applications using deprecated functions Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove fips.h reference.Dr. Stephen Henson2014-12-081-1/+0
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Remove SSLv2 supportKurt Roeckx2014-12-041-5/+1
| | | | | | The only support for SSLv2 left is receiving a SSLv2 compatible client hello. Reviewed-by: Richard Levitte <levitte@openssl.org>
* New option no-ssl3-method which removes SSLv3_*methodDr. Stephen Henson2014-11-191-1/+5
| | | | | | | | | | | When no-ssl3 is set only make SSLv3 disabled by default. Retain -ssl3 options for s_client/s_server/ssltest. When no-ssl3-method is set SSLv3_*method() is removed and all -ssl3 options. We should document this somewhere, e.g. wiki, FAQ or manual page. Reviewed-by: Emilia Käsper <emilia@openssl.org>
* Fix SRTP compile issues for windowsMatt Caswell2014-10-151-3/+7
| | | | | | | | | | | | Related to CVE-2014-3513 This fix was developed by the OpenSSL Team Reviewed-by: Tim Hudson <tjh@openssl.org> Conflicts: util/mkdef.pl util/ssleay.num
* Add conditional unit testing interface.Dr. Stephen Henson2014-07-241-1/+6
| | | | | | | | | | | Don't call internal functions directly call them through SSL_test_functions(). This also makes unit testing work on Windows and platforms that don't export internal functions from shared libraries. By default unit testing is not enabled: it requires the compile time option "enable-unit-test". Reviewed-by: Geoff Thorpe <geoff@openssl.org>
* Windows build fixes.Dr. Stephen Henson2014-07-191-0/+1
| | | | | | | Add cmac.h to mkdef.pl Remove ENGINE_load_rsax from engine.h: no longer built. Update ordinals Reviewed-by: Tim Hudson <tjh@openssl.org>
* util/mkdef.pl: o_time.h doesn't exist any moreGeoff Thorpe2014-04-251-1/+0
| | | | | | | o_time.h was removed in commit ff49a94, which breaks "make update" unless mkdir.pl is updated accordingly. Signed-off-by: Geoff Thorpe <geoff@openssl.org>
* recognise OPENSSL_NO_SSL_TRACEDr. Stephen Henson2012-07-011-3/+7
|
* recognise HEARTBEATS in mkdef.pl scriptDr. Stephen Henson2011-12-311-1/+1
|
* recognise SCTP in mkdef.pl scriptDr. Stephen Henson2011-12-251-2/+6
|
* recognise DECLARE_PEM_write_const, update ordinalsDr. Stephen Henson2011-12-231-0/+1
|
* add cryptlib.h to mkdef.plDr. Stephen Henson2011-11-221-0/+1
|