summaryrefslogtreecommitdiff
path: root/package/openssh/patches/patch-schnorr_c
blob: aff2497ba34d345bb744b78f06931e9aaa5e51b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- openssh-5.2p1.orig/schnorr.c	2009-02-21 02:45:18.000000000 +0100
+++ openssh-5.2p1/schnorr.c	2009-09-18 12:28:29.000000000 +0200
@@ -105,7 +105,7 @@ schnorr_hash(const BIGNUM *p, const BIGN
  out:
 	buffer_free(&b);
 	EVP_MD_CTX_cleanup(&evp_md_ctx);
-	bzero(digest, digest_len);
+	memset(digest, 0, digest_len);
 	xfree(digest);
 	digest_len = 0;
 	if (success == 0)