summaryrefslogtreecommitdiff
path: root/tests/pskself.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/pskself.c
parentd4d43611d08669b515513d76f7355334d767beeb (diff)
downloadgnutls-6811574bdde2c2b5b6af782767a3467c3c24f84c.tar.gz
Use memset instead of deprecated bzero.
Diffstat (limited to 'tests/pskself.c')
-rw-r--r--tests/pskself.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pskself.c b/tests/pskself.c
index 3fb3c5875a..3378b762d6 100644
--- a/tests/pskself.c
+++ b/tests/pskself.c
@@ -264,7 +264,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)