Check-in [5798396954]
Overview
Comment:Removed extraenous cleanup
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5798396954d8ee171db94a4b35b3478869cdfedf
User & Date: rkeene on 2016-12-13 06:47:05
Other Links: manifest | tags
Context
2016-12-13
06:56
Simplified code for detecting which SSL protocols to use -- disabled SSLv2 and SSLv3 by default if other options are available check-in: aaac45cfca user: rkeene tags: trunk
06:47
Removed extraenous cleanup check-in: 5798396954 user: rkeene tags: trunk
06:39
Commented out debugging printf for returning from the locking function as well check-in: 8e27f5595c user: rkeene tags: trunk
Changes
Modified tlsIO.c from [b42f920022] to [3cea59bdcb].
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
			*errorCodePtr = 0;
			bytesRead = 0;
		}

		return(0);
	}

	if (statePtr->flags & TLS_TCL_INIT) {
		statePtr->flags &= ~(TLS_TCL_INIT);
	}

	/*
	 * We need to clear the SSL error stack now because we sometimes reach
	 * this function with leftover errors in the stack.  If BIO_read
	 * returns -1 and intends EAGAIN, there is a leftover error, it will be
	 * misconstrued as an error, not EAGAIN.
	 *
	 * Alternatively, we may want to handle the <0 return codes from







<
<
<
<







222
223
224
225
226
227
228




229
230
231
232
233
234
235
			*errorCodePtr = 0;
			bytesRead = 0;
		}

		return(0);
	}





	/*
	 * We need to clear the SSL error stack now because we sometimes reach
	 * this function with leftover errors in the stack.  If BIO_read
	 * returns -1 and intends EAGAIN, there is a leftover error, it will be
	 * misconstrued as an error, not EAGAIN.
	 *
	 * Alternatively, we may want to handle the <0 return codes from