Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Any sane platform has stdio. Stop pretending we will ever use a platform | beck | 2014-05-29 | 5 | -12/+0 | |
| | | | | | that does not. "fire bomb" tedu@ | |||||
* | use calloc, from Benjamin Baier | tedu | 2014-05-29 | 1 | -5/+1 | |
| | ||||||
* | Fix a Y2038 problem, by conversion of long to time_t. | deraadt | 2014-05-27 | 2 | -18/+8 | |
| | | | | | | | | | The TS_RESP_CTX_set_time_cb() API gets removed. Nothing in the greater ecosystem ever calls it. This API needs to be removed, because if anyone ever calls on a BE 32 system assuming long rather than time_t, it will be dangerously incompatible. ok miod guenther | |||||
* | Fix ia64 cross-gcc target. | tobiasu | 2014-05-27 | 2 | -0/+6 | |
| | | | | | | opensslconf.h is just a dummy, we're lightyears away from working userspace. ok deraadt@ | |||||
* | We don't really to keep history in constructs such as: | miod | 2014-05-26 | 1 | -6/+0 | |
| | | | | | | | | #if 1 /* new with openssl 0.9.4 */ current code; #else obsolete code; #endif | |||||
* | Implement an improved version of the EVP AEAD API. The | jsing | 2014-05-26 | 5 | -106/+109 | |
| | | | | | | | | | | | | | | | | EVP_AEAD_CTX_{open,seal} functions previously returned an ssize_t that was overloaded to indicate success/failure, along with the number of bytes written as output. This change adds an explicit *out_len argument which is used to return the number of output bytes and the return value is now an int that is purely used to identify success or failure. This change effectively rides the last libcrypto crank (although I do not expect there to be many users of the EVP AEAD API currently). Thanks to Adam Langley for providing the improved code that this diff is based on. ok miod@ | |||||
* | KNF. | jsing | 2014-05-26 | 3 | -360/+479 | |
| | ||||||
* | KNF. | jsing | 2014-05-26 | 7 | -538/+656 | |
| | ||||||
* | KNF. | jsing | 2014-05-26 | 6 | -1443/+1555 | |
| | ||||||
* | calloc instead of malloc/memset. from Benjamin Baier | tedu | 2014-05-25 | 13 | -40/+21 | |
| | ||||||
* | "for every change..." | tedu | 2014-05-25 | 2 | -2/+2 | |
| | ||||||
* | remove OPENSSL_memcmp before somebody tries to use it. ok beck miod | tedu | 2014-05-25 | 1 | -6/+0 | |
| | ||||||
* | remove OPENSSL_isservice. not used internally, no sane posix software will | tedu | 2014-05-25 | 1 | -6/+0 | |
| | | | | | call it, and windows service software can figure this out on its own. ok beck miod | |||||
* | remove unused shit. from Alexander Schrijver | tedu | 2014-05-25 | 2 | -4/+2 | |
| | ||||||
* | define LIBRESSL_INTERNAL, and use it to hide the bad stuff from ourselves | tedu | 2014-05-25 | 2 | -2/+4 | |
| | | | | ok beck | |||||
* | Turn off MemCheck_on and MemCheck_off. These calls are pointless since the | jsing | 2014-05-25 | 1 | -13/+3 | |
| | | | | | | crypto memory debugging code has been castrated. ok miod@ "kill it" beck@ | |||||
* | Remove the _shadow_ indirection, which is unnecessary in a world without | jsing | 2014-05-24 | 3 | -7/+4 | |
| | | | | | | OPENSSL_EXPORT_VAR_AS_FUNCTION. ok miod@ | |||||
* | KNF. | jsing | 2014-05-24 | 15 | -2218/+1913 | |
| | ||||||
* | More KNF. | jsing | 2014-05-24 | 1 | -2/+2 | |
| | ||||||
* | KNF. | jsing | 2014-05-24 | 4 | -91/+91 | |
| | ||||||
* | We have shared global variables - unifdef OPENSSL_EXPORT_VAR_AS_FUNCTION. | jsing | 2014-05-24 | 2 | -69/+0 | |
| | | | | ok miod@ beck@ | |||||
* | Expand the OPENSSL_.*GLOBAL.* macros and stop including e_os2.h. | jsing | 2014-05-24 | 3 | -8/+7 | |
| | | | | ok miod@ beck@ | |||||
* | Another e_os2.h -> opensslconf.h. | jsing | 2014-05-24 | 1 | -1/+3 | |
| | ||||||
* | e_os2.h is not needed here. | jsing | 2014-05-24 | 1 | -1/+1 | |
| | ||||||
* | Explicitly include <openssl/openssl.conf>. des.h still needs e_os2.h (at | jsing | 2014-05-24 | 1 | -2/+3 | |
| | | | | least for a little while longer...) | |||||
* | Almost nothing actually needs to include <openssl/e_os2.h>, however by | jsing | 2014-05-24 | 26 | -28/+49 | |
| | | | | | | | including it they get <openssl/opensslconf.h>. So instead of pulling in <openssl/e_os2.h>, just pull in <openssl/opensslconf.h>. "go ahead" miod@ | |||||
* | Expand OPENSSL_{GLOBAL,EXTERN} macros that I missed last time around, | jsing | 2014-05-24 | 2 | -2/+2 | |
| | | | | | | since they are hiding in the #define forest. ok miod@ | |||||
* | Spell ssize_t correctly (the incorrect spelling is ossl_ssize_t). | jsing | 2014-05-24 | 4 | -15/+15 | |
| | | | | ok miod@ | |||||
* | No OPENSSL_SYS_WINDOWS wanted. | jsing | 2014-05-24 | 1 | -3/+0 | |
| | | | | ok miod@ | |||||
* | Take an axe to rc5speed.c - strip out everything that is for other | jsing | 2014-05-23 | 1 | -84/+9 | |
| | | | | platforms. | |||||
* | We have stdio and are not WIN16. | jsing | 2014-05-23 | 1 | -2/+0 | |
| | ||||||
* | Not OPENSSL_SYS_SUNOS. | jsing | 2014-05-23 | 1 | -3/+0 | |
| | ||||||
* | Replace (sometimes conditional) use of alloca with malloc, and clearing | miod | 2014-05-23 | 2 | -39/+16 | |
| | | | | | | through volatile pointers with explicit_bzero(). ok beck@ jsing@ | |||||
* | don't deprecate until at least the base src tree is clean. | tedu | 2014-05-23 | 1 | -12/+8 | |
| | ||||||
* | Mark the malloc wrapper functions as deprecated so warnings will | beck | 2014-05-22 | 1 | -8/+12 | |
| | | | | | happen on their use. ok miod@ | |||||
* | Convert OPENSSL_malloc stuff back to intrinsics, a few were missed | beck | 2014-05-22 | 3 | -6/+6 | |
| | | | | | as new stuff was brought in. ok miod@ | |||||
* | if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefully | miod | 2014-05-22 | 25 | -81/+42 | |
| | | | | eyeballed before applying. Contributed by Cyril Roelandt on tech@ | |||||
* | Expand the OPENSSL_{GLOBAL,EXPORT,IMPORT,EXTERN} macros - this rids the | jsing | 2014-05-22 | 7 | -22/+20 | |
| | | | | | | libssl tree from all uses of these defines. ok miod@ | |||||
* | Hello? Yes, you're speaking with OPENSSL_SYS_UNIX. | jsing | 2014-05-22 | 1 | -28/+0 | |
| | | | | ok beck@ miod@ | |||||
* | mark BIO_snprintf as deprecated, so warnings will be generated for it's | beck | 2014-05-22 | 1 | -2/+2 | |
| | | | | use. ok miod@ tedu@ | |||||
* | KNF. | jsing | 2014-05-22 | 3 | -171/+154 | |
| | ||||||
* | No uses of UTF8_{getc,putc}() in ports, so remove them from the public header. | guenther | 2014-05-22 | 2 | -9/+8 | |
| | | | | ok miod@ | |||||
* | Bring UTF8_{getc,putc} up-to-date: it's been a decade since 5- and 6-byte | guenther | 2014-05-20 | 4 | -93/+88 | |
| | | | | | | | | encodings and encoding of surrogate pair code points were banned. Add checks for those, both to those functions and to the code decoding the BMP and UNIV encodings. ok miod@ | |||||
* | If you need to allocate `a + b' bytes of memory, then don't allocate `a + b*2', | miod | 2014-05-18 | 3 | -6/+6 | |
| | | | | | | this is confusing and unnecessary. Help (coz I got confused) and ok guenther@ beck@ | |||||
* | Make sure UTF8_getc() is invoked with the proper buffer size. | miod | 2014-05-18 | 1 | -2/+2 | |
| | | | | ok beck@ guenther@ | |||||
* | Plug memory leaks upon error in OCSP_url_svcloc_new(). | miod | 2014-05-18 | 1 | -6/+9 | |
| | | | | ok jsing@ | |||||
* | In OCSP_sendreq_bio(), cope with OCSP_sendreq_new() returning NULL. | miod | 2014-05-18 | 1 | -4/+6 | |
| | | | | ok jsing@ | |||||
* | More KNF. | jsing | 2014-05-18 | 10 | -193/+208 | |
| | ||||||
* | does sunos not have memmove? sorry, i guess sunos will not have libressl. | tedu | 2014-05-17 | 1 | -21/+3 | |
| | | | | ok guenther miod | |||||
* | unchecked malloc() return value in OCSP_sendreq_new(). | miod | 2014-05-17 | 1 | -0/+2 | |
| |