aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
...
* update ordinalsDr. Stephen Henson2016-01-091-29/+26
| | | | Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Add DEPRECATEDIN support.Dr. Stephen Henson2016-01-091-10/+42
| | | | Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* 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-082-37/+43
| | | | | | | | | 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-083-5/+2
| | | | Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* mem functions cleanupRich Salz2016-01-071-30/+16
| | | | | | | | | | | | | | | | | Only two macros CRYPTO_MDEBUG and CRYPTO_MDEBUG_ABORT to control this. If CRYPTO_MDEBUG is not set, #ifdef out the whole debug machinery. (Thanks to Jakob Bohm for the suggestion!) Make the "change wrapper functions" be the only paradigm. Wrote documentation! Format the 'set func' functions so their paramlists are legible. Format some multi-line comments. Remove ability to get/set the "memory debug" functions at runtme. Remove MemCheck_* and CRYPTO_malloc_debug_init macros. Add CRYPTO_mem_debug(int flag) function. Add test/memleaktest. Rename CRYPTO_malloc_init to OPENSSL_malloc_init; remove needless calls. Reviewed-by: Richard Levitte <levitte@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>
* use more descriptive name DEFINE_STACK_OF_CONSTDr. Stephen Henson2016-01-071-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Rename DECLARE*STACK_OF to DEFINE*STACK_OFDr. Stephen Henson2016-01-071-6/+6
| | | | | | | | | | Applications wishing to include their own stacks now just need to include DEFINE_STACK_OF(foo) in a header file. Reviewed-by: Richard Levitte <levitte@openssl.org>
* remove unused PREDECLAREDr. Stephen Henson2016-01-071-1/+0
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Change STACK_OF to use inline functions.Dr. Stephen Henson2016-01-071-145/+102
| | | | | | | Change DECLARE_STACK_OF into inline functions. This avoids the need for auto generated mkstack.pl macros and now handles const properly. Reviewed-by: Richard Levitte <levitte@openssl.org>
* DANE make updateViktor Dukhovni2016-01-062-0/+13
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove more (rest?) of FIPS build stuff.Rich Salz2016-01-064-127/+3
| | | | Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
* Remove some unused perl scriptsRich Salz2016-01-064-204/+0
| | | | Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Prefer ReuseAddr over Reuse, with IO::Socket::INETRichard Levitte2015-12-291-1/+1
| | | | | | Reuse is deprecated and ReuseAddr is prefered, according to documentation. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Add test for missing CertificateStatus messageMatt Caswell2015-12-271-0/+1
| | | | | | | | | | | If the client sends a status_request extension in the ClientHello and the server responds with a status_request extension in the ServerHello then normally the server will also later send a CertificateStatus message. However this message is *optional* even if the extensions were sent. This adds a test to ensure that if the extensions are sent then we can still omit the message. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* remove duplicates in util/libeay.numRoumen Petrov2015-12-231-13/+0
| | | | | | | Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Rich Salz <rsalz@openssl.org> RT: #4195, MR: #1521
* add -unref option to mkerr.plDr. Stephen Henson2015-12-221-2/+9
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* In mkerr.pl look in directories under ssl/Dr. Stephen Henson2015-12-221-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* make updateDr. Stephen Henson2015-12-221-0/+3
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Cleanup CRYPTO_{push,pop}_infoRich Salz2015-12-221-3/+3
| | | | | | | | Rename to OPENSSL_mem_debug_{push,pop}. Remove simple calls; keep only calls used in recursive functions. Ensure we always push, to simplify so that we can always pop Reviewed-by: Richard Levitte <levitte@openssl.org>
* Rename *_realloc_clean to *_clear_reallocRich Salz2015-12-221-1/+1
| | | | | | | Just like *_clear_free routines. Previously undocumented, used a half-dozen times within OpenSSL source. Reviewed-by: Richard Levitte <levitte@openssl.org>
* mem-cleanup, cont'd.Rich Salz2015-12-161-1/+1
| | | | | | | Remove LEVITTE_DEBUG_MEM. Remove {OPENSSL,CRYPTO}_remalloc. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Rename some BUF_xxx to OPENSSL_xxxRich Salz2015-12-161-6/+12
| | | | | | | | | Rename BUF_{strdup,strlcat,strlcpy,memdup,strndup,strnlen} to OPENSSL_{strdup,strlcat,strlcpy,memdup,strndup,strnlen} Add #define's for the old names. Add CRYPTO_{memdup,strndup}, called by OPENSSL_{memdup,strndup} macros. Reviewed-by: Tim Hudson <tjh@openssl.org>
* make updateDr. Stephen Henson2015-12-161-0/+3
| | | | Reviewed-by: Richard Levitte <levitte@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-153-5200/+5382
| | | | | | | | | | | 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-152-4/+2
| | | | Reviewed-by: Ben Laurie <ben@openssl.org>
* make updateDr. Stephen Henson2015-12-141-0/+7
| | | | Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Support ccache.Ben Laurie2015-12-121-0/+4
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* make update, missed fileRichard Levitte2015-12-111-0/+3
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* Support the TLS Feature (aka Must Staple) X.509v3 extension (RFC7633).Rob Stradling2015-12-101-0/+2
| | | | | | | | Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Dr. Stephen Henson <steve@openssl.org> GH: #495, MR: #1435
* Fix mkfiles for new directoriesMatt Caswell2015-12-101-0/+2
| | | | | | | Add the new chacha and poly1305 directories to mkfiles.pl to enable proper building on windows. Reviewed-by: Andy Polyakov <appro@openssl.org>
* make update.Andy Polyakov2015-12-101-0/+7
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Configure: make no-chacha and no-poly1305 work.Andy Polyakov2015-12-101-1/+8
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* remove deleted directories from mkfiles.plDr. Stephen Henson2015-12-091-2/+0
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* make updateDr. Stephen Henson2015-12-091-37/+61
| | | | 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>
* Add extms extensionDr. Stephen Henson2015-12-081-0/+1
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* TLSProxy updateDr. Stephen Henson2015-12-082-6/+20
| | | | | | Add function to delete extensions and fix ClientHello repacking. Reviewed-by: Matt Caswell <matt@openssl.org>
* make updateRichard Levitte2015-12-071-3/+33
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Cleanup: rename EVP_MD_CTX_(create|init|destroy) to EVP_MD_CTX_(new|reset|free)Richard Levitte2015-12-071-3/+3
| | | | | | | | | Looking over names, it seems like we usually use names ending with _new and _free as object constructors and destructors. Also, since EVP_MD_CTX_init is now used to reset a EVP_MD_CTX, it might as well be named accordingly. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove support for all 40 and 56 bit ciphers.Kurt Roeckx2015-12-051-2/+2
| | | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> MR: #364
* Remove support for SSL_{CTX_}set_tmp_ecdh_callback().Kurt Roeckx2015-12-041-2/+2
| | | | | | | | This only gets used to set a specific curve without actually checking that the peer supports it or not and can therefor result in handshake failures that can be avoided by selecting a different cipher. Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
* make updateDr. Stephen Henson2015-12-021-2/+2
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* ex_data part 2: doc fixes and CRYPTO_free_ex_index.Rich Salz2015-12-012-13/+14
| | | | | | | | | | Add CRYPTO_free_ex_index (for shared libraries) Unify and complete the documentation for all "ex_data" API's and objects. Replace xxx_get_ex_new_index functions with a macro. Added an exdata test. Renamed the ex_data internal datatypes. Reviewed-by: Matt Caswell <matt@openssl.org>
* make updateDr. Stephen Henson2015-11-241-0/+2
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Implement windows async thread local variable supportMatt Caswell2015-11-201-0/+2
| | | | | | | Implements Thread Local Storage in the windows async port. This also has some knock on effects to the posix and null implementations. Reviewed-by: Rich Salz <rsalz@openssl.org>