Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | KNF | miod | 2014-05-17 | 8 | -1274/+1332 | |
| | ||||||
* | simple reallocarray to check multiplies. ok guenther | tedu | 2014-05-17 | 1 | -6/+4 | |
| | ||||||
* | no no md2 | tedu | 2014-05-17 | 3 | -9/+0 | |
| | ||||||
* | no no seed | tedu | 2014-05-17 | 2 | -17/+0 | |
| | ||||||
* | switch RSA key generation default to 2048 bits (matching ssh); ok miod@ | sthen | 2014-05-17 | 1 | -1/+1 | |
| | ||||||
* | When OPENSSL_LOAD_CONF was added it ended up with more #if 0 code, | jsing | 2014-05-16 | 4 | -96/+16 | |
| | | | | | | | | | | | more #ifdefs and a new source file that contains a single function. Nuke the #if 0 code that is now a macro and move the single function in evp_acnf.c to c_all.c, which is where the other code lives. While here, tidy evp.h slightly, remove an unnecessary #ifdef __OpenBSD__ and nuke a comment that is now a lie. ok miod@ | |||||
* | Fix memory leaks upon failure. | miod | 2014-05-15 | 2 | -27/+39 | |
| | | | | ok beck@ | |||||
* | Replace ASN1_GENERALIZEDTIME_adj(), ASN1_UTCTIME_adj() and | miod | 2014-05-15 | 3 | -25/+73 | |
| | | | | | | | ASN1_TIME_to_generalizedtime() with wrappers around their former implementations, making sure memory allocated is freed in all failure cases. help and ok from beck@ and Brendan MacDonell. | |||||
* | More KNF. | jsing | 2014-05-15 | 4 | -7/+7 | |
| | ||||||
* | Use C99 initialisers for the AEAD struct. | jsing | 2014-05-15 | 1 | -9/+9 | |
| | ||||||
* | KNF. | jsing | 2014-05-15 | 1 | -70/+67 | |
| | ||||||
* | Add a ChaCha20-Poly1305 AEAD EVP implementation to libcrypto, from Adam | jsing | 2014-05-15 | 4 | -2/+274 | |
| | | | | | | Langley's Chromium OpenSSL patches. ok miod@ | |||||
* | KNF. | jsing | 2014-05-15 | 5 | -283/+343 | |
| | ||||||
* | Add an AEAD EVP interface to libcrypto, along with AES-GCM AEAD | jsing | 2014-05-15 | 6 | -35/+551 | |
| | | | | | | | implementations. This largely pulls in Adam Langley's AEAD patches from Chromium's OpenSSL. ok miod@ | |||||
* | Stop being a dummy... presumably these are left overs from pedantic mode | jsing | 2014-05-15 | 9 | -22/+2 | |
| | | | | | | that were not wrapped with #if PEDANTIC. ok miod@ | |||||
* | Add poly1305 to libcrypto utilising Andrew Moon's public domain | jsing | 2014-05-14 | 4 | -1/+354 | |
| | | | | | | implementation. ok miod@ |