summaryrefslogtreecommitdiff
path: root/package/openssh/patches/patch-schnorr_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-09-23 18:58:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-09-23 18:58:04 +0200
commite936694229354244eed3addad14a07f76614e67e (patch)
tree72821d5d7c5551f91087f30d02255eee75a1a7c6 /package/openssh/patches/patch-schnorr_c
parenteb3c2cf8238c2e09666f2bf4c46389ee4ff80f75 (diff)
convert bzero to memset, allow root login
Diffstat (limited to 'package/openssh/patches/patch-schnorr_c')
-rw-r--r--package/openssh/patches/patch-schnorr_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/openssh/patches/patch-schnorr_c b/package/openssh/patches/patch-schnorr_c
new file mode 100644
index 000000000..aff2497ba
--- /dev/null
+++ b/package/openssh/patches/patch-schnorr_c
@@ -0,0 +1,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)