diff --git a/src/libpts/pts/pts.h b/src/libpts/pts/pts.h index 314b8a607..ed2872bf0 100644 --- a/src/libpts/pts/pts.h +++ b/src/libpts/pts/pts.h @@ -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.