summaryrefslogtreecommitdiff
path: root/tests/dhepskself.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-05-07 14:34:20 +0200
committerSimon Josefsson <simon@josefsson.org>2009-05-07 14:34:20 +0200
commit6811574bdde2c2b5b6af782767a3467c3c24f84c (patch)
treed565d4a78c95aba78f6be118a797540e6980f495 /tests/dhepskself.c
parentd4d43611d08669b515513d76f7355334d767beeb (diff)
downloadgnutls-6811574bdde2c2b5b6af782767a3467c3c24f84c.tar.gz
Use memset instead of deprecated bzero.
Diffstat (limited to 'tests/dhepskself.c')
-rw-r--r--tests/dhepskself.c2
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)