]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
swanctl: Support for QSKE mechanisms
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 18 Jun 2018 22:30:11 +0000 (00:30 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 14 May 2019 08:44:18 +0000 (10:44 +0200)
src/swanctl/commands/list_sas.c

index ca2436dd2f7c6ce1c83b746cb9d1b05193792074..4af8622c630b15da752fe816416c6cf71f9c927f 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2014 Martin Willi
  * Copyright (C) 2014 revosec AG
  *
- * Copyright (C) 2016 Andreas Steffen
+ * Copyright (C) 2016-2018 Andreas Steffen
  * HSR Hochschule fuer Technik Rapperswil
 
  * This program is free software; you can redistribute it and/or modify it
@@ -290,6 +290,10 @@ CALLBACK(ike_sa, int,
                        }
                        printf("/%s", ike->get(ike, "prf-alg"));
                        printf("/%s", ike->get(ike, "dh-group"));
+                       if (ike->get(ike, "qske-mechanism"))
+                       {
+                               printf("/%s", ike->get(ike, "qske-mechanism"));
+                       }
                        if (streq(ike->get(ike, "ppk"), "yes"))
                        {
                                printf("/PPK");