]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - src/tlsproxy.h
Don't use fdopen(socket, "a+").
[tlsproxy/tlsproxy.git] / src / tlsproxy.h
index 970b08d615966fecc178e569d430817f85eff39b..15b1902d7d35a39f500e4ce4d0fe28b7e31b3169 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Global variables/defines.
  *
- * Copyright (C) 2011-2012  Simon Ruderich
+ * Copyright (C) 2011-2013  Simon Ruderich
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
-/* GnuTLS */
 #include <gnutls/gnutls.h>
 
 #include "log.h"
 
+/* Length for path arrays. */
+#define TLSPROXY_MAX_PATH_LENGTH 1024
 
 /* Paths to necessary TLS files: the CA and the server key. */
 #define PROXY_CA_FILE  "proxy-ca.pem"