summaryrefslogtreecommitdiffstats
path: root/ssl.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-11-13 11:09:47 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-11-13 11:09:47 +0000
commitb9437c64ddd36c7c13508977e1a348d0e45d3187 (patch)
tree5cfc1a5e572826bb66d9a6c96b4a15f848e7c398 /ssl.h
parent311ea893aa3aba4bb1314e2ce4acbf39a9d3fb57 (diff)
downloadopenvpn-b9437c64ddd36c7c13508977e1a348d0e45d3187.tar.gz
openvpn-b9437c64ddd36c7c13508977e1a348d0e45d3187.tar.xz
openvpn-b9437c64ddd36c7c13508977e1a348d0e45d3187.zip
Increase MAX_CERT_DEPTH to 16 (from 8), and when exceeded,
make it a hard failure, rather than just a warning. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5159 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'ssl.h')
-rw-r--r--ssl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl.h b/ssl.h
index 3bb5fbe..9737f26 100644
--- a/ssl.h
+++ b/ssl.h
@@ -307,7 +307,7 @@
*/
/* Maximum certificate depth we will allow */
-#define MAX_CERT_DEPTH 8
+#define MAX_CERT_DEPTH 16
struct cert_hash {
unsigned char sha1_hash[SHA_DIGEST_LENGTH];