aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bio
Commit message (Collapse)AuthorAgeFilesLines
* Move more comments that confuse indentMatt Caswell2015-01-222-6/+12
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* indent has problems with comments that are on the right hand side of a line.Matt Caswell2015-01-222-4/+12
| | | | | | | Sometimes it fails to format them very well, and sometimes it corrupts them! This commit moves some particularly problematic ones. Reviewed-by: Tim Hudson <tjh@openssl.org>
* More commentsMatt Caswell2015-01-221-1/+1
| | | | | | | | | | | | | | | | | Conflicts: crypto/dsa/dsa_vrf.c crypto/ec/ec2_smpl.c crypto/ec/ecp_smpl.c Conflicts: demos/bio/saccept.c ssl/d1_clnt.c Conflicts: bugs/dggccbug.c demos/tunala/cb.c Reviewed-by: Tim Hudson <tjh@openssl.org>
* Cleanup OPENSSL_NO_xxx, part 1master-pre-reformatRich Salz2015-01-142-4/+4
| | | | | | | | | | OPENSSL_NO_RIPEMD160, OPENSSL_NO_RIPEMD merged into OPENSSL_NO_RMD160 OPENSSL_NO_FP_API merged into OPENSSL_NO_STDIO Two typo's on #endif comments fixed: OPENSSL_NO_ECB fixed to OPENSSL_NO_OCB OPENSSL_NO_HW_SureWare fixed to OPENSSL_NO_HW_SUREWARE Reviewed-by: Richard Levitte <levitte@openssl.org>
* RT3548: Remove unsupported platformsRich Salz2015-01-126-41/+28
| | | | | | | This last one for this ticket. Removes WIN16. So long, MS_CALLBACK and MS_FAR. We won't miss you. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix memory leak.Martin Brejcha2015-01-061-2/+10
| | | | | | | | Fix memory leak by freeing up saved_message.data if it is not NULL. PR#3489 Reviewed-by: Stephen Henson <steve@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
* Further comment amendments to preserve formatting prior to source reformatMatt Caswell2015-01-063-4/+8
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Add missing include of sys/time.hKurt Roeckx2014-12-311-0/+3
| | | | | | gettimeofday was undefined Reviewed-by: Geoff Thorpe <geoff@openssl.org>
* mark all block comments that need format preserving so thatTim Hudson2014-12-304-7/+12
| | | | | | | indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* RT3548: Remove unsupported platforms.Rich Salz2014-12-221-1/+1
| | | | | | This commit removes MPE/iX Reviewed-by: Andy Polyakov <appro@openssl.org>
* Fix incorrect OPENSSL_assert() usage.Michael Tuexen2014-12-201-22/+64
| | | | | | | | Return an error code for I/O errors instead of an assertion failure. PR#3470 Reviewed-by: Stephen Henson <steve@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
* RT3548: Remove some obsolete platformsRich Salz2014-12-171-4/+0
| | | | | | This commit removes BEOS. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove fipscanister build functionality from makefiles.Dr. Stephen Henson2014-12-081-1/+1
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* There are a number of instances throughout the code where the constant 28 isMatt Caswell2014-12-032-4/+46
| | | | | | | | | | | | used with no explanation. Some of this was introduced as part of RT#1929. The value 28 is the length of the IP header (20 bytes) plus the UDP header (8 bytes). However use of this constant is incorrect because there may be instances where a different value is needed, e.g. an IPv4 header is 20 bytes but an IPv6 header is 40. Similarly you may not be using UDP (e.g. SCTP). This commit introduces a new BIO_CTRL that provides the value to be used for this mtu "overhead". It will be used by subsequent commits. Reviewed-by: Tim Hudson <tjh@openssl.org>
* Remove all .cvsignore filesRich Salz2014-11-281-4/+0
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Don't use msg on error.Jan Hykel2014-11-171-7/+7
| | | | | | | | Don't attempt to access msg structure if recvmsg returns an error. PR#3483 Reviewed-by: Stephen Henson <steve@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
* RT2193: #ifdef errors in bss_dgram.cl.montecchiani@gmail.com2014-08-281-2/+2
| | | | | | | | Problem with #ifdef in the BIO_CTRL_DGRAM_MTU_DISCOVER case that is different from the BIO_CTRL_DGRAM_QUERY_MTU one which seems correct. Reviewed-by: Matt Caswell <matt@openssl.org>
* rtcp_new: return failure if allocation of bi->ptr failedJonas Maebe2014-08-151-0/+2
| | | | | Signed-off-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* BIO_new_dgram_sctp, dgram_sctp_read: zero entire authchunksJonas Maebe2014-08-151-2/+2
| | | | | Signed-off-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* Undo a90081576c94f9f54de1755188a00ccc1760549aRich Salz2014-08-094-3/+29
| | | | Undo unapproved commit that removed DJGPP and WATT32
* Remove DJGPP (and therefore WATT32) #ifdef's.Rich Salz2014-08-084-29/+3
| | | | | | DJGPP is no longer a supported platform. Remove all #ifdef, etc., cases that refer to it. DJGPP also #define'd WATT32, so that is now removed as well.
* Fix memory leak in BIO_free if there is no destroy function.Matt Caswell2014-07-091-2/+2
| | | | | | Based on an original patch by Neitrino Photonov <neitrinoph@gmail.com> PR#3439
* Set authkey to NULL and check malloc return value.Kurt Roeckx2014-05-121-1/+7
|
* dgram_sctp_ctrl: authkey memory leakMartin Brejcha2014-05-121-0/+1
| | | | PR: 3327
* bss_dgram.c,d1_lib.c: make it compile with mingw.Andy Polyakov2014-03-061-0/+4
| | | | Submitted by: Roumen Petrov
* Avoid Windows 8 Getversion deprecated errors.Dr. Stephen Henson2014-02-251-1/+1
| | | | | | | | | | | Windows 8 SDKs complain that GetVersion() is deprecated. We only use GetVersion like this: (GetVersion() < 0x80000000) which checks if the Windows version is NT based. Use a macro check_winnt() which uses GetVersion() on older SDK versions and true otherwise.
* Move the SCT List extension parser into libssl.Rob Stradling2014-02-192-0/+25
| | | | Add the extension parser in the s_client, ocsp and x509 apps.
* DTLS/SCTP struct authchunks BugRobin Seggelmann2013-11-011-3/+3
| | | | | | | | | | | | | PR: 2809 DTLS/SCTP requires DATA and FORWARD-TSN chunks to be protected with SCTP-AUTH. It is checked if this has been activated successfully for the local and remote peer. Due to a bug, however, the gauth_number_of_chunks field of the authchunks struct is missing on FreeBSD, and was therefore not considered in the OpenSSL implementation. This patch sets the corresponding pointer for the check correctly whether or not this bug is present. (cherry picked from commit f596e3c491035fe80db5fc0c3ff6b647662b0003)
* Constification.Ben Laurie2013-10-073-4/+4
|
* Improve WINCE support.Andy Polyakov2013-01-192-4/+20
| | | | Submitted by: Pierre Delaage
* d1_lib.c,bss_dgram.c: eliminate dependency on _ftime.Andy Polyakov2012-12-161-5/+9
|
* bss_dgram.c: fix compilation failure and warning on Windows withAndy Polyakov2012-08-141-1/+5
| | | | contemporary SDK.
* bss_dgram.c: fix typos in Windows code.Andy Polyakov2012-07-011-4/+3
|
* bss_dgram.c: add BIO_CTRL_DGRAM_SET_DONT_FRAG.Andy Polyakov2012-06-112-1/+46
| | | | | PR: 2830 Submitted by: Robin Seggelmann
* bss_dgram.c: make getsockopt work in cases when optlen is 64-bit value.Andy Polyakov2012-06-111-23/+47
|
* b_sock.c: make getsockopt work in cases when optlen is 64-bit value.Andy Polyakov2012-06-111-3/+4
|
* Build on FreeBSD with gcc 4.6.Ben Laurie2012-05-301-0/+10
|
* OPENSSL_NO_SOCK fixes.Andy Polyakov2012-04-161-1/+1
| | | | | PR: 2791 Submitted by: Ben Noordhuis
* Minor compatibility fixes.Andy Polyakov2012-04-161-14/+14
| | | | | PR: 2790 Submitted by: Alexei Khlebnikov
* PR: 2755Dr. Stephen Henson2012-03-062-0/+22
| | | | | | Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Reduce MTU after failed transmissions.
* PR: 2730Dr. Stephen Henson2012-02-251-1/+5
| | | | | | Submitted by: Arpadffy Zoltan <Zoltan.Arpadffy@scientificgames.se> VMS fixes: disable SCTP by default.
* fix error codeDr. Stephen Henson2011-12-273-2/+4
|
* PR: 2535Dr. Stephen Henson2011-12-252-1/+1038
| | | | | | | Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Reviewed by: steve Add SCTP support for DTLS (RFC 6083).
* Fix BIO_f_buffer().Bodo Möller2011-12-022-7/+17
| | | | | Submitted by: Adam Langley Reviewed by: Bodo Moeller
* PR: 2340Dr. Stephen Henson2011-09-011-2/+3
| | | | | | | Submitted by: "Mauro H. Leggieri" <mxmauro@caiman.com.ar> Reviewed by: steve Stop warnings if OPENSSL_NO_DGRAM is defined.
* PR: 2559Dr. Stephen Henson2011-07-201-4/+9
| | | | | | | Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Reviewed by: steve Fix DTLS socket error bug
* PR: 2512Dr. Stephen Henson2011-05-251-0/+4
| | | | | | | Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Reviewed by: steve Fix BIO_accept so it can be bound to IPv4 or IPv6 sockets consistently.
* After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMSRichard Levitte2011-03-192-4/+53
| | | | submitted by Steven M. Schweda <sms@antinode.info>
* Change AR to ARX to allow exclusion of fips object modulesDr. Stephen Henson2011-01-261-1/+1
|
* PR: 2413Dr. Stephen Henson2011-01-031-1/+1
| | | | | | | Submitted by: Michael Bergandi <mbergandi@gmail.com> Reviewed by: steve Fix typo in crypto/bio/bss_dgram.c