diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-05-07 14:34:20 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-05-07 14:34:20 +0200 |
commit | 6811574bdde2c2b5b6af782767a3467c3c24f84c (patch) | |
tree | d565d4a78c95aba78f6be118a797540e6980f495 /tests/dhepskself.c | |
parent | d4d43611d08669b515513d76f7355334d767beeb (diff) | |
download | gnutls-6811574bdde2c2b5b6af782767a3467c3c24f84c.tar.gz |
Use memset instead of deprecated bzero.
Diffstat (limited to 'tests/dhepskself.c')
-rw-r--r-- | tests/dhepskself.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dhepskself.c b/tests/dhepskself.c index 99ceb107eb..d6a0f3dbbd 100644 --- a/tests/dhepskself.c +++ b/tests/dhepskself.c @@ -285,7 +285,7 @@ server (void) i = 0; for (;;) { - bzero (buffer, MAX_BUF + 1); + memset (buffer, 0, MAX_BUF + 1); ret = gnutls_record_recv (session, buffer, MAX_BUF); if (ret == 0) |