Diff

Differences From Artifact [55240df165]:

To Artifact [78ad51e25b]:


962
963
964
965
966
967
968
969
970

971
972

973
974
975
976

977
978
979
980
981
982
983
962
963
964
965
966
967
968


969


970

971
972
973
974
975
976
977
978
979
980
981







-
-
+
-
-
+
-



+







Tcl_ChannelType *Tls_ChannelType(void) {
    unsigned int size;

    /*
     * Initialize the channel type if necessary
     */
    if (tlsChannelType == NULL) {
	/*
	 * Allocate new channeltype structure
	/* Allocate new channel type structure */
	 */
	size = sizeof(Tcl_ChannelType); /* Base size */
	size = sizeof(Tcl_ChannelType) * 2; /* Base size plus pad for future changes */

	tlsChannelType = (Tcl_ChannelType *) ckalloc(size);
	memset((void *) tlsChannelType, 0, size);

	/* Init structure */
	tlsChannelType->typeName	= "tls";
#ifdef TCL_CHANNEL_VERSION_5
	tlsChannelType->version		= TCL_CHANNEL_VERSION_5;
	tlsChannelType->closeProc	= TlsCloseProc;
	tlsChannelType->inputProc	= TlsInputProc;
	tlsChannelType->outputProc	= TlsOutputProc;
	tlsChannelType->seekProc	= NULL;