shithub: drawterm

Download patch

ref: 3b45a5cf6cca3579712587082cc548a8e62dccda
parent: 3e13a4a3faadf796d42f3e624a7d3ddd642fa22a
author: aiju <aiju@phicode.de>
date: Thu Mar 24 14:38:58 EDT 2016

remove extraneous typedef from tlshand.c

--- a/libsec/tlshand.c
+++ b/libsec/tlshand.c
@@ -149,7 +149,7 @@
 	} u;
 } Msg;
 
-typedef struct TlsSec{
+struct TlsSec{
 	char *server;	// name of remote; nil for server
 	int ok;	// <0 killed; == 0 in progress; >0 reusable
 	RSApub *rsapub;
@@ -165,7 +165,7 @@
 	void (*prf)(uchar*, int, uchar*, int, char*, uchar*, int, uchar*, int);
 	void (*setFinished)(TlsSec*, HandshakeHash, uchar*, int);
 	int nfin;
-} TlsSec;
+};
 
 
 enum {