[prev in list] [next in list] [prev in thread] [next in thread]
List: strongswan-announce
Subject: [strongSwan-dev] [PATCH 4/8] Use chunk_clear to memwipe shared
From: Thomas Egerer <thomas.egerer () secunet ! com>
Date: 2011-11-04 8:24:58
Message-ID: 4EB3A15A.9020206 () secunet ! com
[Download RAW message or body]
---
.../plugins/openssl/openssl_ec_diffie_hellman.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
["0004-Use-chunk_clear-to-memwipe-shared-secret.patch" (text/x-patch)]
diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c \
b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c index \
78ed281..9e40675 100644
--- a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c
+++ b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c
@@ -219,7 +219,7 @@ METHOD(diffie_hellman_t, set_other_public_value, void,
return;
}
- chunk_free(&this->shared_secret);
+ chunk_clear(&this->shared_secret);
if (!compute_shared_key(this, &this->shared_secret)) {
DBG1(DBG_LIB, "ECDH shared secret computation failed");
_______________________________________________
Dev mailing list
Dev@lists.strongswan.org
https://lists.strongswan.org/mailman/listinfo/dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic