Changed definition of get_my_pub_val function a little
authorSansar Choinyambuu <schoinya@hsr.ch>
Wed, 5 Oct 2011 08:52:17 +0000 (10:52 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 16:34:40 +0000 (17:34 +0100)
src/libpts/pts/pts.h

index 314b8a6..ed2872b 100644 (file)
@@ -185,9 +185,9 @@ struct pts_t {
        /**
         * Gets Own Diffie Hellman Public Value
         *
-        * @return                              D-H Public Value
+        * @param info                  chunk to keep own public value
         */
-       chunk_t (*get_my_pub_val)(pts_t *this);
+       void (*get_my_pub_val)(pts_t *this, chunk_t *pub_value);
 
        /**
         * Sets the public value of partner.