summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2014-05-24I'm so sorry to learn that the Diab compiler can't (or used not to) parse CMiod Vallat
code. Remove workaround.
2014-05-24Use C99 initialisers for SSL3_ENC_METHOD structs.Joel Sing
ok miod@
2014-05-24Remove the _shadow_ indirection, which is unnecessary in a world withoutJoel Sing
OPENSSL_EXPORT_VAR_AS_FUNCTION. ok miod@
2014-05-24KNF.Joel Sing
2014-05-24More KNF.Joel Sing
2014-05-24KNF.Joel Sing
2014-05-24Enable three brainpool elliptic curves for TLS, as specified in RFC 7027;Miod Vallat
from OpenSSL HEAD. ok beck@ deraadt@ jsing@
2014-05-24Code using malloc() in ssl23_get_client_hello() got removed 12 years ago,Miod Vallat
it's time to remove the test for a possible need to free(). ok jsing@
2014-05-24Use sizeof(cryptopro_ext) instead of 36 when applicable.Miod Vallat
ok jsing@
2014-05-24Invoke OPENSSL_cleanse() with the size of the variable you are cleaning.Miod Vallat
ok jsing@
2014-05-24We have shared global variables - unifdef OPENSSL_EXPORT_VAR_AS_FUNCTION.Joel Sing
ok miod@ beck@
2014-05-24Move ssltest.c to a regress test.Joel Sing
2014-05-24Expand the OPENSSL_.*GLOBAL.* macros and stop including e_os2.h.Joel Sing
ok miod@ beck@
2014-05-24Include <openssl/opensslconf.h> - currently ssl.h is relying on it beingJoel Sing
pulled in elsewhere, even though it is makes use of the OPENSSL_NO_* defines. While here, remove kssl.h since it is a no-op. ok beck@ miod@
2014-05-24DeIMPLEMENT libssl. Expand the IMPLEMENT_* macros since it is far moreJoel Sing
readable and one less layer of abstraction. Use C99 initialisers for clarity, grepability and to protect from future field reordering/removal. ok miod@ (tedu@ also thought it was a wonderful idea, beck@ also agreed, but ran away squealing since it reminded him of the VOP layer...)
2014-05-24Fix typo in EPERM description; the function arg is pgrp, not pgid.Todd C. Miller
From Abel Abraham Camarillo Ojeda
2008-09-06import of OpenSSL 0.9.8hDamien Miller
2014-05-24Another e_os2.h -> opensslconf.h.Joel Sing
2014-05-24e_os2.h is not needed here.Joel Sing
2014-05-24Explicitly include <openssl/openssl.conf>. des.h still needs e_os2.h (atJoel Sing
least for a little while longer...)
2014-05-24Almost nothing actually needs to include <openssl/e_os2.h>, however byJoel Sing
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@
2014-05-24Expand OPENSSL_{GLOBAL,EXTERN} macros that I missed last time around,Joel Sing
since they are hiding in the #define forest. ok miod@
2014-05-24Spell ssize_t correctly (the incorrect spelling is ossl_ssize_t).Joel Sing
ok miod@
2014-05-24No OPENSSL_SYS_WINDOWS wanted.Joel Sing
ok miod@
2008-09-06import of OpenSSL 0.9.8hDamien Miller
2014-05-23Take an axe to rc5speed.c - strip out everything that is for otherJoel Sing
platforms.
2014-05-23We have stdio and are not WIN16.Joel Sing
2014-05-23Not OPENSSL_SYS_SUNOS.Joel Sing
2014-05-23Clean up the SSL cipher initialisation and use C99 initialisers forJoel Sing
clarity, grepability and to protect from future field reordering/removal. ok miod@
2014-05-23signal.h is not needed here.Joel Sing
2014-05-23Stop pulling signal.h into apps.h - just include it from openssl.c whereJoel Sing
it is needed.
2014-05-23Replace (sometimes conditional) use of alloca with malloc, and clearingMiod Vallat
through volatile pointers with explicit_bzero(). ok beck@ jsing@
2014-05-23Calling signal once to ignore SIGPIPE is sufficient - we do not need to doJoel Sing
this again in each app. ok miod@
2014-05-23Move include to the top and nuke pointless comments.Joel Sing
2014-05-23Document that v?dprintf() is just as safe as v?snprintf(). OK espie@Todd C. Miller
2014-05-23don't deprecate until at least the base src tree is clean.Ted Unangst
2014-05-22Mark the malloc wrapper functions as deprecated so warnings willBob Beck
happen on their use. ok miod@
2014-05-22Convert OPENSSL_malloc stuff back to intrinsics, a few were missedBob Beck
as new stuff was brought in. ok miod@
2014-05-22if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefullyMiod Vallat
eyeballed before applying. Contributed by Cyril Roelandt on tech@
2014-05-22Add explicit #include lines for stdio.h, stdlib.h and string.h; these filesMiod Vallat
used to be pulled via <openssl/pqueue.h> which got removed, and it turns out that there is code in the wild which currently relies upon these headers to be brought in scope by including <openssl/dtls1.h>. Although such code needs to be fixed to not rely upon any system header being automagically included by including ssl headers, our goal is not to break code for the sake of it (ok, maybe from time to time). Hopefully, this commit can be reverted in a not-so-distant future.
2014-05-22Expand the OPENSSL_{GLOBAL,EXPORT,IMPORT,EXTERN} macros - this rids theJoel Sing
libssl tree from all uses of these defines. ok miod@
2014-05-22There are two actual uses of e_os2.h in libssl - an OPENSSL_GLOBAL (anJoel Sing
empty define) and an OPENSSL_EXTERN (which is defined as, well... extern). The use of OPENSSL_EXTERN is already inconsistent since the lines above and below just use plain old "extern". Expand the two uses of these macros and stop including e_os2.h in libssl. ok miod@
2014-05-22Stop pulling pqueue.h into ssl_locl.h since only a small part of libsslJoel Sing
actually needs it. Instead, just include it in the files where it is actually necessary. Also remove standard includes from pqueue.h so that they are not available as a side effect. Just add the two includes that are needed to pqueue.c. ok miod@
2014-05-22Stop including kssl_lcl.h and nuke it from orbit - it is a no-op now.Joel Sing
ok beck@ miod@
2014-05-22Hello? Yes, you're speaking with OPENSSL_SYS_UNIX.Joel Sing
ok beck@ miod@
2014-05-22mark BIO_snprintf as deprecated, so warnings will be generated for it'sBob Beck
use. ok miod@ tedu@
2014-05-22KNF.Joel Sing
2014-05-22KNF.Joel Sing
2014-05-22More KNF.Joel Sing
2014-05-22No uses of UTF8_{getc,putc}() in ports, so remove them from the public header.Philip Guenther
ok miod@