[network-manager-openvpn/th/import-cleanup-bgo760987: 5/7] properties/trivial: move definition of start/end tags away from regular options



commit 1d9d0ae2b695601b29945522fb4814804e2345c1
Author: Thomas Haller <thaller redhat com>
Date:   Fri Jan 22 14:26:37 2016 +0100

    properties/trivial: move definition of start/end tags away from regular options

 properties/import-export.c |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/properties/import-export.c b/properties/import-export.c
index cda9de2..cae9703 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -67,14 +67,17 @@
 #include "../src/nm-openvpn-service-defines.h"
 #include "../common/utils.h"
 
-#define AUTH_TAG "auth "
-#define AUTH_USER_PASS_TAG "auth-user-pass"
-#define CA_TAG "ca "
 #define CA_BLOB_START_TAG "<ca>"
 #define CA_BLOB_END_TAG "</ca>"
-#define CERT_TAG "cert "
 #define CERT_BLOB_START_TAG "<cert>"
 #define CERT_BLOB_END_TAG "</cert>"
+#define KEY_BLOB_START_TAG "<key>"
+#define KEY_BLOB_END_TAG "</key>"
+
+#define AUTH_TAG "auth "
+#define AUTH_USER_PASS_TAG "auth-user-pass"
+#define CA_TAG "ca "
+#define CERT_TAG "cert "
 #define CIPHER_TAG "cipher "
 #define KEYSIZE_TAG "keysize "
 #define CLIENT_TAG "client"
@@ -85,8 +88,6 @@
 #define FRAGMENT_TAG "fragment "
 #define IFCONFIG_TAG "ifconfig "
 #define KEY_TAG "key "
-#define KEY_BLOB_START_TAG "<key>"
-#define KEY_BLOB_END_TAG "</key>"
 #define KEEPALIVE_TAG "keepalive "
 #define MSSFIX_TAG "mssfix"
 #define PING_TAG "ping "


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]