All files named "tlsBIO.c"

History for tlsBIO.c

2024-02-20
14:58
Renamed to generic/tlsBIO.c. Move all *.c and *.h files to the /generic/ directory. Update win/makefile.vc from [https://chiselapp.com/user/bohagan/repository/TCLTLS/index] check-in: [b921cb3e6e] user: jan.nijtmans, branch: main, size: 0
13:00
Make all C-/H-files Tcl 9-ready, with all kinds of code-cleanup. Build environment not handled yet. file: [fc3b42ebe3] check-in: [ceb72b0012] user: jan.nijtmans, branch: main, size: 8850 [annotate] [blame] [check-ins using] [diff]
2024-01-24
14:35
First changes needed for Tcl 9.0 file: [b685c38f11] check-in: [3057d6e2e0] user: jan.nijtmans, branch: main, size: 8879 [annotate] [blame] [check-ins using] [diff]
2018-10-30
14:20
Applied patch from Jinhu to address [94c6a431fee] file: [7f6303ee40] check-in: [afec51b85b] user: rkeene, branch: trunk, size: 8957 [annotate] [blame] [check-ins using] [diff]
2017-11-08
14:59
Still looking into this file: [91c2172d0d] check-in: [7793b78e70] user: rkeene, branch: bug-eof-loop-6dd5588df6-2, size: 9010 [annotate] [blame] [check-ins using] [diff]
2017-09-21
16:07
More soft-EOF mappings file: [199d9ebcac] check-in: [d63ee30cb2] user: rkeene, branch: bug-eof-loop-6dd5588df6, size: 8935 [annotate] [blame] [check-ins using] [diff]
2016-12-14
14:40
Updated EOF while reading from the BIO to map to soft EOF file: [c3e8b987ad] check-in: [24ce678ecd] user: rkeene, branch: trunk, size: 8935 [annotate] [blame] [check-ins using] [diff]
2016-12-13
18:49
Less heavy handed rewriting of error codes in Tcl BIO file: [561dcc523d] check-in: [d8ce3045d5] user: rkeene, branch: trunk, size: 8898 [annotate] [blame] [check-ins using] [diff]
04:50
Updated to not declare variables for checking for fastpath unless fastpath is being compiled in file: [e6c5524fec] check-in: [0a5d288053] user: rkeene, branch: wip-fix-io-layer, size: 8932 [annotate] [blame] [check-ins using] [diff]
04:48
Updated BIO handling to be more clear file: [f21a616436] check-in: [2dbea6a68d] user: rkeene, branch: wip-fix-io-layer, size: 8894 [annotate] [blame] [check-ins using] [diff]
2016-12-12
01:15
Updated wording in debugging message to be more accurate file: [1579a1d145] check-in: [6462992c95] user: rkeene, branch: wip-fix-io-layer, size: 8146 [annotate] [blame] [check-ins using] [diff]
2016-12-11
23:57
Added a flag for fastpath so that errors can be found while using it file: [62db7198c2] check-in: [8b2b046ff5] user: rkeene, branch: wip-fix-io-layer, size: 8155 [annotate] [blame] [check-ins using] [diff]
20:05
Fixed pass-through to fetch file descriptor using a pointer file: [f1da770d9f] check-in: [b5ba86f2be] user: rkeene, branch: wip-fix-io-layer, size: 8104 [annotate] [blame] [check-ins using] [diff]
19:20
Updated to support optionally enabling/disabling a faster path for talking to the underlying channel file: [f8c02fc8c8] check-in: [d25ae3c232] user: rkeene, branch: wip-fix-io-layer, size: 8165 [annotate] [blame] [check-ins using] [diff]
19:12
Corrected extraneous format specifier file: [e135f89793] check-in: [ff4801f473] user: rkeene, branch: wip-fix-io-layer, size: 8125 [annotate] [blame] [check-ins using] [diff]
19:10
Added a lot of work towards fixing the I/O layer file: [430c181031] check-in: [ee7ea6a917] user: rkeene, branch: wip-fix-io-layer, size: 8130 [annotate] [blame] [check-ins using] [diff]
2016-12-10
04:42
Renamed to tls_openssl_bio.c. Renamed TLS BIO driver to indicate its OpenSSL-specific-ness check-in: [bd4aba3487] user: rkeene, branch: feature-multibackend, size: 0
04:29
Minor whitespace cleanup file: [4c45fdf356] check-in: [88815cbc52] user: rkeene, branch: trunk, size: 6134 [annotate] [blame] [check-ins using] [diff]
02:55
Removed backwards compatibility hacks and much reformatting file: [504969653b] check-in: [f087e1fe61] user: rkeene, branch: trunk, size: 6135 [annotate] [blame] [check-ins using] [diff]
01:43
Reformatted BIO code file: [7f72e998da] check-in: [c34f472c39] user: rkeene, branch: trunk, size: 6096 [annotate] [blame] [check-ins using] [diff]
00:52
Updated the style for prototypes file: [a2664d9c85] check-in: [2db3a07c5e] user: rkeene, branch: trunk, size: 6363 [annotate] [blame] [check-ins using] [diff]
00:48
Added additional debugging file: [cad97cf7a0] check-in: [9686856dd3] user: rkeene, branch: trunk, size: 6527 [annotate] [blame] [check-ins using] [diff]
2016-12-08
08:50
Added a consolidated check for pre-OpenSSL 1.1 API usage file: [19e4f3db10] check-in: [66023e665f] user: rkeene, branch: trunk, size: 6348 [annotate] [blame] [check-ins using] [diff]
08:36
Moved BIO_ wrappers into the BIO source and added more debugging output file: [0649a89784] check-in: [333d833f31] user: rkeene, branch: trunk, size: 6355 [annotate] [blame] [check-ins using] [diff]
07:06
Removed unused interfaces file: [936355d12f] check-in: [613eb92e79] user: rkeene, branch: openssl-1.1, size: 5143 [annotate] [blame] [check-ins using] [diff]
06:53
Initial working version of OpenSSL 1.1.0 API support adapted from patch from Sergei Golovan and Jeremy Sowden file: [f773b0ec71] check-in: [af83631fbb] user: rkeene, branch: openssl-1.1, size: 5260 [annotate] [blame] [check-ins using] [diff]
2016-12-07
15:02
Updated wording of debug messages to be correct file: [540c0ab883] check-in: [7c044da68e] user: rkeene, branch: tls-1-7, size: 4983 [annotate] [blame] [check-ins using] [diff]
15:00
Added more debugging file: [c29c7843c7] check-in: [82acecb1a4] user: rkeene, branch: tls-1-7, size: 4983 [annotate] [blame] [check-ins using] [diff]
14:56
Updated to store the Tcl EOF flag, in case it gets reset in between calls -- causing debugging builds to operate differently than normal builds file: [9ab2986cbf] check-in: [28b99767e9] user: rkeene, branch: tls-1-7, size: 4794 [annotate] [blame] [check-ins using] [diff]
14:51
More debugging file: [a9636d6b57] check-in: [9bb0350edb] user: rkeene, branch: tls-1-7, size: 4747 [annotate] [blame] [check-ins using] [diff]
2016-12-02
19:39
Cleanup BIO creation to be more correct file: [4953796f1e] check-in: [f0312b63df] user: rkeene, branch: tls-1-7, size: 4542 [annotate] [blame] [check-ins using] [diff]
16:25
Added an --enable-debug and made debug-printf macro more fancy file: [0502516890] check-in: [8a3f4fc732] user: rkeene, branch: tls-1-7, size: 4512 [annotate] [blame] [check-ins using] [diff]
16:13
Cleaned up compiler warnings with debugging statements casting pointers to ints file: [b10260a16d] check-in: [ac2c67d21d] user: rkeene, branch: tls-1-7, size: 4587 [annotate] [blame] [check-ins using] [diff]
2016-11-22
22:11
Removed artifacts from conversion from CVS file: [b90d32218c] check-in: [c75816429f] user: rkeene, branch: tls-1-7, size: 4651 [annotate] [blame] [check-ins using] [diff]
2004-03-24
05:22
Fix build warnings. file: [66eac232ea] check-in: [67bf2dd40d] user: razzell, branch: trunk, size: 4761 [annotate] [blame] [check-ins using] [diff]
2004-02-04
04:02
Fix build warnings. file: [eab9c4dc8f] check-in: [bc575f4a87] user: razzell, branch: trunk, size: 4755 [annotate] [blame] [check-ins using] [diff]
2002-02-04
22:46
* tls.htm: * tls.c: added support for local certificate status check, as well as returning the # of bits in the session key. [Patch #505698] (rose) * tls.c: * tlsIO.c: * tlsBIO.c: added CONSTs to satisfy Tcl 8.4 sources. This may give warnings when compiled against 8.3, but they can be ignored. file: [3e7555cac8] check-in: [c34385bbcd] user: hobbs, branch: trunk, size: 4765 [annotate] [blame] [check-ins using] [diff]
2000-08-18
19:17
* tlsBIO.c: * tlsIO.c: corrected pedantic cast errors. file: [61828ed639] check-in: [5bc402b4bf] user: hobbs, branch: trunk, size: 4729 [annotate] [blame] [check-ins using] [diff]
2000-08-15
00:02
* tlsInt.h: * tlsIO.c: * tlsBIO.c: * tls.c: changed around to only working with 8.2.0+ (8.3.2+ preferred), with runtime checks for pre- and post-io-rewrite. file: [c6f920b02f] check-in: [33ea0b5a9d] user: hobbs, branch: trunk, size: 4553 [annotate] [blame] [check-ins using] [diff]
2000-07-27
01:58
* merged all changes from tls-1-3-io-rewrite back into main branch file: [03080294a4] check-in: [a636fa7c56] user: hobbs, branch: trunk, size: 4495 [annotate] [blame] [check-ins using] [diff]
2000-07-26
22:15
* tls.c (ImportObjCmd): removed unnecessary use of 'bio' arg. (Tls_Init): check return value of SSL_library_init. Also lots of whitespace cleanup (more like Tcl Eng style guide), but not all code was cleaned up. * tlsBIO.c: minor whitespace cleanup * tlsIO.c: minor whitespace cleanup. (TlsInputProc, TlsOutputProc): Added ERR_clear_error before calls to BIO_read or BIO_write, because we could otherwise end up pulling an error off the stack that didn't belong to us. Also cleanup up excessive use of gotos. file: [8a7d792ec5] check-in: [e64e21d80e] user: hobbs, branch: tls-1-3-io-rewrite, size: 4499 [annotate] [blame] [check-ins using] [diff]
2000-07-21
05:32
* tests/tlsIO.test: corrected various tests to be correct for TLS stacked channels (as opposed to the standard sockets the test suite was adopted from). Key differences are that TLS cannot operate in one process without all channels being non-blocking, or the handshake will block, and handshaking must be forced in some cases. Also, handshakes don't seem to complete unless the client has placed at least one byte for the server to read in the channel. * tests/remote.tcl: corrected the finding of tests certificates * tlsIO.c (TlsCloseProc): removed deleting of timer handler as that is handled by Tls_Clean. * tls.tcl (tls::_accept): corrected the internal _accept to trickle callback errors to the user. * Makefile.in: made the install-binaries target regenerate the pkgIndex.tcl correctly. The test target probably shouldn't screw it up, but this is to be on the safe side. file: [1167365c8d] check-in: [977988aed6] user: hobbs, branch: tls-1-3-io-rewrite, size: 4480 [annotate] [blame] [check-ins using] [diff]
2000-07-12
01:54
* tlsIO.c: changed all the channel procs to start with Tls* for better parity when comparing with Transform channel procs. Rewrote TlsWatchProc, added TlsNotifyProc according to the new channel design, which also leaves TlsChannelHandler unused. * tlsBIO.c (BioCtrl): changed BIO_CTRL_FLUSH case to use Tcl_WriteRaw instead of Tcl_Flush (to operate on correct channel in the stack instead of starting at the top again). Would otherwise cause a recursive stack bomb when implicit handshaking took effect. file: [a47b0bf135] check-in: [a27c6affe5] user: hobbs, branch: tls-1-3-io-rewrite, size: 4467 [annotate] [blame] [check-ins using] [diff]
2000-07-11
04:58
* tlsBIO.c (BioWrite, BioRead): changed Tcl_Read/Write to Tcl_ReadRaw/TclWriteRaw. * tls.c: added use of Tcl_GetTopChannel after Tcl_GetChannel and got return value from Tcl_StackChannel. * tests/tlsIO.test: added some handshaking that shouldn't be necessary, but we crash otherwise (needs more testing). * tlsIO.c: added support for "corrected" stacked channels. All the above channels are in TCL_CHANNEL_VERSION_2 #ifdefs. file: [a638221c0a] check-in: [fb9a612600] user: hobbs, branch: tls-1-3-io-rewrite, size: 4362 [annotate] [blame] [check-ins using] [diff]
2000-01-20
01:51
updated copyright notice file: [e6c3698fee] check-in: [4afdc17574] user: aborr, branch: trunk, size: 4187 [annotate] [blame] [check-ins using] [diff]
2000-01-19
22:10
Added: Initial import of tls extension. file: [089891ecdb] check-in: [27770ce26d] user: aborr, branch: tls-vendor-branch, size: 4191 [annotate] [blame] [check-ins using]