libimcv: Allow pts_t.set_peer_public_value() to fail

This commit is contained in:
Martin Willi
2015-03-23 17:54:02 +01:00
parent 83cda57e2d
commit 8a7dbf3c2a
4 changed files with 11 additions and 7 deletions
+2 -1
View File
@@ -152,8 +152,9 @@ struct pts_t {
*
* @param value Peer public DH value
* @param nonce Peer DH nonce
* @return TRUE if public value set successfully
*/
void (*set_peer_public_value) (pts_t *this, chunk_t value, chunk_t nonce);
bool (*set_peer_public_value) (pts_t *this, chunk_t value, chunk_t nonce);
/**
* Calculates assessment secret to be used for TPM Quote as ExternalData