Request missing SWID tags in a directed PA-TNC message
[strongswan.git] / src / libimcv / pts / pts.c
index e8e7600..1ca7209 100644 (file)
@@ -238,7 +238,10 @@ METHOD(pts_t, get_my_public_value, bool,
 METHOD(pts_t, set_peer_public_value, bool,
        private_pts_t *this, chunk_t value, chunk_t nonce)
 {
-       this->dh->set_other_public_value(this->dh, value);
+       if (!this->dh->set_other_public_value(this->dh, value))
+       {
+               return FALSE;
+       }
 
        nonce = chunk_clone(nonce);
        if (this->is_imc)