- added logging of nonces
authorJan Hutter <jhutter@hsr.ch>
Wed, 23 Nov 2005 07:17:54 +0000 (07:17 -0000)
committerJan Hutter <jhutter@hsr.ch>
Wed, 23 Nov 2005 07:17:54 +0000 (07:17 -0000)
Source/charon/ike_sa.c

index 08874ea..1de3e9a 100644 (file)
@@ -222,6 +222,9 @@ static status_t compute_secrets (protected_ike_sa_t *this,chunk_t dh_shared_secr
        /* second is responder */
        memcpy(concatenated_nonces.ptr + initiator_nonce.len,responder_nonce.ptr,responder_nonce.len);
 
+       this->logger->log_chunk(this->logger, RAW, "Nonce data", &concatenated_nonces);
+
+
        /* status of set_key is not checked */
        status = this->prf->set_key(this->prf,concatenated_nonces);