Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ambrop72/badvpn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorambrop7 <ambrop7@1a93d707-3861-5ebc-ad3b-9740d49b5140>2011-01-29 20:14:29 +0300
committerambrop7 <ambrop7@1a93d707-3861-5ebc-ad3b-9740d49b5140>2011-01-29 20:14:29 +0300
commit80a9510c0c71333170125b49b3e1200d41879906 (patch)
treea4739667804be0ad5c3ee0734183098e5e719fac /protocol
parent37589be57637dd3f8ff0824ce7c60f2c51c5371f (diff)
Make the server send the original DER-encoded certificate of a peer to other peers, rather than re-encoding it. Preserve compatibility with old clients by
still sending them the re-encoded certificate.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/scproto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocol/scproto.h b/protocol/scproto.h
index 8cad7bf..014709d 100644
--- a/protocol/scproto.h
+++ b/protocol/scproto.h
@@ -54,7 +54,8 @@
#include <stdint.h>
-#define SC_VERSION 26
+#define SC_VERSION 27
+#define SC_OLDVERSION 26
#define SC_KEEPALIVE_INTERVAL 10000