renamed conversion function to pts_dh_group_to_ike
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 8 Oct 2011 12:32:52 +0000 (14:32 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 13:39:50 +0000 (14:39 +0100)
src/libpts/pts/pts_dh_group.c
src/libpts/pts/pts_dh_group.h

index dd9c5b9..441bb9e 100644 (file)
@@ -155,7 +155,7 @@ pts_dh_group_t pts_dh_group_select(pts_dh_group_t supported_dh_groups,
 /**
  * Described in header.
  */
-diffie_hellman_group_t pts_dh_group_to_strongswan_dh_group(pts_dh_group_t dh_group)
+diffie_hellman_group_t pts_dh_group_to_ike(pts_dh_group_t dh_group)
 {
        switch (dh_group)
        {
index cbcc476..123894d 100644 (file)
@@ -87,8 +87,8 @@ pts_dh_group_t pts_dh_group_select(pts_dh_group_t supported_dh_groups,
  * Convert pts_dh_group_t to diffie_hellman_group_t
  *
  * @param dh_group             PTS DH group type
- * @return                             libstrongswan DH group type
+ * @return                             IKE DH group type
  */
-diffie_hellman_group_t pts_dh_group_to_strongswan_dh_group(pts_dh_group_t dh_group);
+diffie_hellman_group_t pts_dh_group_to_ike(pts_dh_group_t dh_group);
 
 #endif /** PTS_DH_GROUP_H_ @}*/