File fix-for-missing-whirlpool-hmac-authentication.patch of Package NetworkManager-openvpn.11192

diff -Naur '--exclude=po' NetworkManager-openvpn-1.8.2.orig/properties/nm-openvpn-editor.c NetworkManager-openvpn-1.8.2/properties/nm-openvpn-editor.c
--- NetworkManager-openvpn-1.8.2.orig/properties/nm-openvpn-editor.c	2018-03-12 11:24:53.000000000 +0100
+++ NetworkManager-openvpn-1.8.2/properties/nm-openvpn-editor.c	2019-04-20 03:21:08.688647080 +0200
@@ -914,6 +914,7 @@
 		{ NM_OPENVPN_AUTH_SHA384,    N_("SHA-384") },
 		{ NM_OPENVPN_AUTH_SHA512,    N_("SHA-512") },
 		{ NM_OPENVPN_AUTH_RIPEMD160, N_("RIPEMD-160") },
+		{ NM_OPENVPN_AUTH_WHIRLPOOL, N_("whirlpool") },
 	};
 
 	store = gtk_list_store_new (3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN);
diff -Naur '--exclude=po' NetworkManager-openvpn-1.8.2.orig/shared/nm-service-defines.h NetworkManager-openvpn-1.8.2/shared/nm-service-defines.h
--- NetworkManager-openvpn-1.8.2.orig/shared/nm-service-defines.h	2018-03-07 19:09:12.000000000 +0100
+++ NetworkManager-openvpn-1.8.2/shared/nm-service-defines.h	2019-04-20 03:18:33.799230986 +0200
@@ -93,6 +93,7 @@
 #define NM_OPENVPN_AUTH_SHA256 "SHA256"
 #define NM_OPENVPN_AUTH_SHA384 "SHA384"
 #define NM_OPENVPN_AUTH_SHA512 "SHA512"
+#define NM_OPENVPN_AUTH_WHIRLPOOL "whirlpool"
 
 #define NM_OPENVPN_CONTYPE_PASSWORD     "password"
 #define NM_OPENVPN_CONTYPE_PASSWORD_TLS "password-tls"
diff -Naur '--exclude=po' NetworkManager-openvpn-1.8.2.orig/src/nm-openvpn-service.c NetworkManager-openvpn-1.8.2/src/nm-openvpn-service.c
--- NetworkManager-openvpn-1.8.2.orig/src/nm-openvpn-service.c	2018-03-07 19:09:12.000000000 +0100
+++ NetworkManager-openvpn-1.8.2/src/nm-openvpn-service.c	2019-04-20 03:18:33.799230986 +0200
@@ -236,7 +236,8 @@
 	                           NM_OPENVPN_AUTH_SHA256,
 	                           NM_OPENVPN_AUTH_SHA384,
 	                           NM_OPENVPN_AUTH_SHA512,
-	                           NM_OPENVPN_AUTH_RIPEMD160);
+	                           NM_OPENVPN_AUTH_RIPEMD160,
+	                           NM_OPENVPN_AUTH_WHIRLPOOL);
 }
 
 static gboolean
openSUSE Build Service is sponsored by