| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
eyeballed before applying. Contributed by Cyril Roelandt on tech@
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
libssl tree from all uses of these defines.
ok miod@
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
ok beck@ miod@
|
|
|
|
| |
ok beck@ miod@
|
|
|
|
| |
use. ok miod@ tedu@
|
| |
|
| |
|
|
|
|
| |
ok miod@
|
|
|
|
| |
ok beck@ miod@
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
| |
ssl_add_serverhello_tlsext(), and convert all of them to the same idiom, for
easier review.
Math is hard, let's go webshopping.
Help and ok guenther@
|
| |
|
|
|
|
| |
ok miod@
|
|
|
|
| |
before calling free - of some course parts of the code already did this.
|
|
|
|
|
|
| |
this is confusing and unnecessary.
Help (coz I got confused) and ok guenther@ beck@
|
|
|
|
| |
ok beck@ guenther@
|
|
|
|
|
|
| |
electric fence externs. Nuke from orbit.
ok miod@
|
|
|
|
| |
missing defines.
|
| |
|
|
|
|
|
|
|
|
| |
Currently "apps.h" needs to be included before any of the openssl headers
and there are several cases where the code depends on headers that are
included by something included by apps.h...
More untangling saved for later on.
|
|
|
|
| |
ok jsing@
|
|
|
|
| |
ok jsing@
|
|
|
|
|
|
|
|
| |
of error, make sure we do not free pitem which is still linked into the
pqueue.
In the same vain, only free `frag' if we allocated it in this function.
Help and ok beck@
|
|
|
|
|
|
|
| |
NETSCAPE_HANG_BUG is defined, make sure we BUF_MEM_grow() the buffer to
accomodate for the payload size.
Issue reported by David Ramos; ok beck@
|
|
|
|
|
|
|
| |
pqueue still chained, by inserting it into the list only after all possible
failure conditions have been avoided.
Reported and fix proposed by David Ramos; ok beck@
|
|
|
|
|
|
|
|
|
|
|
|
| |
in each application (since there is no longer a non-monolithic mode).
In typical OpenSSL fashion, the code is inconsistent and there are multiple
ways that bio_err was initialised - none of them actually checked to see if
the initialisation actually succeeded. Additionally, it is worth noting
that in at least two cases bio_err was also being used before it would have
been initialised.
ok miod@
|
| |
|
|
|
|
| |
warnings now that pqueue.h has been removed from public scope.
|
|
|
|
|
|
| |
applicable; further simplify pqueue_find().
From Dimitris Papastamos on tech@
|
|
|
|
| |
ok guenther miod
|
| |
|
| |
|
|
|
|
| |
ok tedu@
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
ok beck@
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
inclusion in <ssl/dtls1.h> by the benign
`struct _pqueue; typedef struct _pqueue *pqueue;'.
Note that said dtls1.h should probably be considered a private header as well...
ok beck@
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Langley's Chromium OpenSSL patches.
ok miod@
|
| |
|