Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Put the *method* data structures and functions in the same place. | jsing | 2015-09-11 | 4 | -155/+122 | |
| | | | | | | | We can also now nuke ssl23_get_method() since it is the same as tls1_get_method(). And the empty file can bite the dust. ok bcook@ miod@ | |||||
* | Put the *server_method* data structures and functions in the same place. | jsing | 2015-09-11 | 4 | -148/+122 | |
| | | | | | | | We can also now nuke ssl23_get_server_method() since it is the same as tls1_get_server_method(). ok miod@ | |||||
* | Put the *client_method* data structures and functions in the same place. | jsing | 2015-09-11 | 4 | -148/+122 | |
| | | | | | | | We can also now nuke ssl23_get_client_method() since it is the same as tls1_get_client_method(). ok bcook@ miod@ | |||||
* | Fixup inter-bank movq/movd operations, emit bytes for pclmulqdq again. | bcook | 2015-09-11 | 3 | -13/+27 | |
| | | | | | | | | | | Fixes builds gcc + Apple's assembler, working on reenabling builds with older OpenBSD releases. based on OpenSSL commit: https://git.openssl.org/?p=openssl.git;a=commitdiff;h=902b30df193afc3417a96ba72a81ed390bd50de3 ok miod@ | |||||
* | When loading a DSA key from an raw (without DH parameters) ASN.1 serialization, | miod | 2015-09-10 | 1 | -2/+48 | |
| | | | | | | | | | | | | | perform some consistency checks on its `p' and `q' values, and return an error if the checks failed. Thanks for Georgi Guninski (guninski at guninski dot com) for mentioning the possibility of a weak (non prime) q value and providing a test case. See https://cpunks.org/pipermail/cypherpunks/2015-September/009007.html for a longer discussion. ok bcook@ beck@ | |||||
* | delete empty SYNOPSIS section | schwarze | 2015-09-10 | 2 | -6/+4 | |
| | ||||||
* | Remove support for DTLS_BAD_VER. We do not support non-standard and | jsing | 2015-09-10 | 20 | -98/+46 | |
| | | | | | | | incomplete implementations just so that we can interoperate with products from vendors who have not bothered to fix things in the last ~10 years. ok bcook@ miod@ | |||||
* | Put OPENSSL_cleanse under #ifndef LIBRESSL_INTERNAL. | jsing | 2015-09-10 | 1 | -1/+4 | |
| | ||||||
* | CRYPTO_set_mem_debug_functions() and CRYPTO_set_mem_functions() are already | jsing | 2015-09-10 | 1 | -18/+3 | |
| | | | | | | | | | noops, so neuter the CRYPTO_malloc_init and CRYPTO_malloc_debug_init macros. With input from miod@ ok beck@ bcook@ miod@ | |||||
* | Correct spelling of OPENSSL_cleanse. | jsing | 2015-09-10 | 77 | -220/+232 | |
| | | | | ok miod@ | |||||
* | Remove pointless comments. | jsing | 2015-09-10 | 3 | -6/+6 | |
| | | | | ok "captain obvious" | |||||
* | Replace remaining M_ASN1_STRING_* macros with calls to ASN1_STRING_*. | jsing | 2015-09-10 | 3 | -18/+18 | |
| | | | | | | | This is not the same as the macro expansion, however the ASN1_STRING_* functions do match the macro expansions. ok doug@ miod@ | |||||
* | Fix an incorrect error check in DSA verify. | bcook | 2015-09-10 | 1 | -4/+2 | |
| | | | | | | From Matt Caswell's OpenSSL commit "RT3192: spurious error in DSA verify". https://github.com/openssl/openssl/commit/eb63bce040d1cc6147d256f516b59552c018e29b | |||||
* | Check handshake_func against NULL rather than 0, since it is a function | jsing | 2015-09-09 | 2 | -14/+14 | |
| | | | | | | pointer. ok bcook@ miod@ | |||||
* | Replace dtls1_client_hello() with ssl3_client_hello() - both are basically | jsing | 2015-09-02 | 6 | -212/+58 | |
| | | | | | | | | | | | the same code, with two slight differences for DTLS handling. Also, make use of send_cookie to determine if the client random needs to be preserved, rather than testing if it is zeroed (hopefully your random number generator never returned all zeros, since the existing code would break). Inspired by BoringSSL. ok doug@ | |||||
* | Fewer magic numbers - we already have defines for the header lengths, so | jsing | 2015-09-02 | 2 | -10/+14 | |
| | | | | | | make use of them. ok doug@ | |||||
* | Remove duplicate prototype for SSL_get_selected_srtp_profile(). | jsing | 2015-09-01 | 2 | -4/+2 | |
| | | | | From Aaron Burghardt. | |||||
* | Remove the ssl_prepare_{client,server}hello_tlsext() functions, which are | jsing | 2015-09-01 | 10 | -68/+10 | |
| | | | | | | now nothing more than noops. ok bcook@ doug@ | |||||
* | Make it always safe to call CBB_cleanup() providing that CBB_init() or | jsing | 2015-09-01 | 2 | -4/+16 | |
| | | | | | | CBB_init_fixed() have been attempted. ok doug@ | |||||
* | Now that SSLv3 is going away, TLS_* and SSLv23 are equivalent. | doug | 2015-08-29 | 7 | -288/+12 | |
| | | | | | | Remove the TLS method data and tls_any_* functions. Point to SSLv23. ok jsing@ | |||||
* | Delete s3_meth.c since it was only for SSLv3 support. | doug | 2015-08-29 | 1 | -103/+0 | |
| | | | | ok jsing@ | |||||
* | Remove SSLv3 method data structs and unlink s3_meth.c from the build. | doug | 2015-08-29 | 5 | -164/+6 | |
| | | | | ok jsing@ | |||||
* | Kill coverity 128475 | beck | 2015-08-28 | 1 | -2/+2 | |
| | | | | ok doug@ | |||||
* | Change AEAD out_len argument to size_t instead of ssize_t - while here, | jsing | 2015-08-27 | 2 | -20/+16 | |
| | | | | | | | rename it to out_len so that its purpose is more obvious. Also, drop two checks that are no longer possible (and have not been for a long time). Spotted by and ok doug@ | |||||
* | Crank major version for libssl and libtls due to SSLv3 removal. | doug | 2015-08-27 | 2 | -2/+2 | |
| | ||||||
* | Remove SSLv3 support from LibreSSL. | doug | 2015-08-27 | 19 | -178/+34 | |
| | | | | | | | | | | This is the first wave of SSLv3 removal which removes the main SSLv3 functions. Future commits will remove the rest of the SSLv3 support. Discussed the plan at c2k15. Input from jsing@, beck@, miod@, bcook@, sthen@, naddy@, and deraadt@. ok jsing@, beck@ | |||||
* | bump to 2.3.0 for the next LibreSSL release cycle | bcook | 2015-08-20 | 1 | -3/+3 | |
| | ||||||
* | Properly handle missing TLS extensions in client hello as a non-failure. | bcook | 2015-08-19 | 2 | -2/+6 | |
| | | | | | Noticed by @Ligushka from github. ok miod@, doug@ | |||||
* | typos | miod | 2015-08-18 | 5 | -5/+5 | |
| | ||||||
* | Fix SRTP parsing. | doug | 2015-07-31 | 2 | -6/+4 | |
| | | | | | | | jsing@ noticed that during the CBS conversion, an extra CBS_len comparison was introduced. It should be 0 after extracting MKI. ok jsing@ bcook@ deraadt@ | |||||
* | Add linker warnings in case SSLv3_{,client,server}_method are referenced. | miod | 2015-07-29 | 5 | -5/+35 | |
| | | | | | | | Use of this symbols proves the existence of a code path willingly using SSLv3, even with OPENSSL_NO_SSL3 being defined, which hints that it needs fixing. Discussed with the LibreSSL cabal during c2k15; ok deraadt@ | |||||
* | Use named initialisers for X509V3_EXT_METHOD structs (for the usual | jsing | 2015-07-29 | 19 | -228/+588 | |
| | | | | reasons) - only change in generated assembly is due to line numbering. | |||||
* | Expand obsolete M_ASN1.*(cmp|dup|print|set) macros - no change in generated | jsing | 2015-07-29 | 20 | -54/+54 | |
| | | | | | | assembly. ok bcook@ | |||||
* | Expand obsolete M_ASN1_STRING_* macros in asn1_lib.c, apply some style(9) | jsing | 2015-07-29 | 1 | -6/+5 | |
| | | | | | | and drop an unnecessary return from a void function. ok bcook@ doug@ | |||||
* | Less asn1_mac.h - asn1_lib.c does not need it and x_pkey.c should be | jsing | 2015-07-27 | 2 | -10/+5 | |
| | | | | | | using ASN1err() instead of ASN1_MAC_H_err(). ok miod@ | |||||
* | double words fix; docs are slowly getting moved to mdoc, but this | sobrado | 2015-07-25 | 2 | -2/+2 | |
| | | | | | | change will help people translating them. ok jmc@, schwarze@ | |||||
* | Place the ASN.1 template macros (and remaining implement macros) under | jsing | 2015-07-25 | 1 | -3/+6 | |
| | | | | #ifndef LIBRESSL_INTERNAL - we're not using these anymore! | |||||
* | Expand another ASN.1 template macro that snuck through last time around. | jsing | 2015-07-25 | 1 | -2/+8 | |
| | | | | No change in generated assembly. | |||||
* | Manually expand ASN.1 template macros - only change in generated assembly | jsing | 2015-07-25 | 3 | -16/+40 | |
| | | | | is due to line numbering. | |||||
* | Expand ASN.1 template macros that got missed in the last pass - only change | jsing | 2015-07-25 | 3 | -11/+31 | |
| | | | | to generated assembly is due to line numbers. | |||||
* | Expand ASN.1 template macros - the generated assembly only differs by | jsing | 2015-07-25 | 13 | -141/+806 | |
| | | | | changes to line numbers. | |||||
* | Expand ASN.1 template macros - no change in generated assembly. | jsing | 2015-07-25 | 1 | -56/+294 | |
| | ||||||
* | Expand ASN.1 template macros - no change in generated assembly. | jsing | 2015-07-25 | 1 | -89/+545 | |
| | ||||||
* | Expand another wall of ASN.1 template macros - no change to generated | jsing | 2015-07-25 | 1 | -224/+1357 | |
| | | | | assembly. | |||||
* | Expand ASN.1 template macros - no change in generated assembly. | jsing | 2015-07-25 | 2 | -136/+847 | |
| | ||||||
* | Expand ASN.1 template macros - the generated assembly only differs by | jsing | 2015-07-25 | 1 | -55/+351 | |
| | | | | changes to line numbers. | |||||
* | Expand ASN.1 template macros - no change in generated assembly. | jsing | 2015-07-24 | 2 | -27/+171 | |
| | ||||||
* | Expand ASN.1 template macros - the generated assembly only differs by | jsing | 2015-07-24 | 1 | -51/+341 | |
| | | | | changes to line numbers. | |||||
* | an TLS -> a TLS; from thanos tsouanas | jmc | 2015-07-24 | 4 | -12/+12 | |
| | ||||||
* | Expand ASN1_ITEM_TEMPLATE/ASN1_EX_TEMPLATE_TYPE/ASN1_ITEM_TEMPLATE_END | jsing | 2015-07-24 | 4 | -22/+106 | |
| | | | | macros - the generated assembly only differs by changes to line numbers. |