aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/chunk.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-04-15 05:56:35 +0000
committerMartin Willi <martin@strongswan.org>2008-04-15 05:56:35 +0000
commit6a365f0740ff683de52751c1c2903b0ddb6a7e0c (patch)
tree0b2039f3975676490b4f713ae52db81e747a5314 /src/libstrongswan/chunk.h
parent0644ebd3de62e1df38fce4373460a9d1d2957981 (diff)
downloadstrongswan-6a365f0740ff683de52751c1c2903b0ddb6a7e0c.tar.bz2
strongswan-6a365f0740ff683de52751c1c2903b0ddb6a7e0c.tar.xz
added API for random number generators, served through credential factory
ported randomizer_t to a rng_t on top of /dev/(u)random (plugin random)
Diffstat (limited to 'src/libstrongswan/chunk.h')
-rw-r--r--src/libstrongswan/chunk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/chunk.h b/src/libstrongswan/chunk.h
index 76acfde34..b4fd2f080 100644
--- a/src/libstrongswan/chunk.h
+++ b/src/libstrongswan/chunk.h
@@ -95,9 +95,9 @@ char *chunk_to_hex(chunk_t chunk, bool uppercase);
void chunk_free(chunk_t *chunk);
/**
- * Overwrite the contents of a chunk with pseudo-random bytes and free them
+ * Overwrite the contents of a chunk and free it
*/
-void chunk_free_randomized(chunk_t *chunk);
+void chunk_clear(chunk_t *chunk);
/**
* Initialize a chunk to point to buffer inspectable by sizeof()