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 | |
parent | d4d43611d08669b515513d76f7355334d767beeb (diff) | |
download | gnutls-6811574bdde2c2b5b6af782767a3467c3c24f84c.tar.gz |
Use memset instead of deprecated bzero.
-rw-r--r-- | tests/anonself.c | 2 | ||||
-rw-r--r-- | tests/dhepskself.c | 2 | ||||
-rw-r--r-- | tests/openpgpself.c | 2 | ||||
-rw-r--r-- | tests/oprfi.c | 2 | ||||
-rw-r--r-- | tests/pskself.c | 2 | ||||
-rw-r--r-- | tests/resume.c | 2 | ||||
-rw-r--r-- | tests/tlsia.c | 2 | ||||
-rw-r--r-- | tests/x509dn.c | 2 | ||||
-rw-r--r-- | tests/x509self.c | 2 | ||||
-rw-r--r-- | tests/x509signself.c | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/tests/anonself.c b/tests/anonself.c index 2819becd54..cdefece4b8 100644 --- a/tests/anonself.c +++ b/tests/anonself.c @@ -286,7 +286,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) 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) diff --git a/tests/openpgpself.c b/tests/openpgpself.c index fc802880cb..e9755d0335 100644 --- a/tests/openpgpself.c +++ b/tests/openpgpself.c @@ -430,7 +430,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) diff --git a/tests/oprfi.c b/tests/oprfi.c index 594160b03a..9b4b8148d4 100644 --- a/tests/oprfi.c +++ b/tests/oprfi.c @@ -346,7 +346,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) 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) diff --git a/tests/resume.c b/tests/resume.c index 92803bbbca..22618c42ce 100644 --- a/tests/resume.c +++ b/tests/resume.c @@ -343,7 +343,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) diff --git a/tests/tlsia.c b/tests/tlsia.c index 3b03b251bc..e874100203 100644 --- a/tests/tlsia.c +++ b/tests/tlsia.c @@ -472,7 +472,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) diff --git a/tests/x509dn.c b/tests/x509dn.c index 920e83600d..dcbe245316 100644 --- a/tests/x509dn.c +++ b/tests/x509dn.c @@ -459,7 +459,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) diff --git a/tests/x509self.c b/tests/x509self.c index cd01bb96a4..280d656a22 100644 --- a/tests/x509self.c +++ b/tests/x509self.c @@ -423,7 +423,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) diff --git a/tests/x509signself.c b/tests/x509signself.c index 7b1586a149..c4ba598db1 100644 --- a/tests/x509signself.c +++ b/tests/x509signself.c @@ -424,7 +424,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) |