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/pskself.c | |
parent | d4d43611d08669b515513d76f7355334d767beeb (diff) | |
download | gnutls-6811574bdde2c2b5b6af782767a3467c3c24f84c.tar.gz |
Use memset instead of deprecated bzero.
Diffstat (limited to 'tests/pskself.c')
-rw-r--r-- | tests/pskself.c | 2 |
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) |