libimcv: Allow pts_t.get_my_public_value() to fail

This commit is contained in:
Martin Willi
2015-03-23 17:54:02 +01:00
parent 520d58e010
commit 83cda57e2d
4 changed files with 14 additions and 4 deletions
+2 -1
View File
@@ -143,8 +143,9 @@ struct pts_t {
*
* @param value My public DH value
* @param nonce My DH nonce
* @return TRUE if public value retrieved successfully
*/
void (*get_my_public_value)(pts_t *this, chunk_t *value, chunk_t *nonce);
bool (*get_my_public_value)(pts_t *this, chunk_t *value, chunk_t *nonce);
/**
* Set peer Diffie.Hellman public value