From 65b27b644c5817eb63fe7b8392236c37e0386f9b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Dec 2009 12:15:12 +0100 Subject: update some packages to latest upstream - openssh, aircrack-ng, autoconf, lighttpd - use mplayer svn version --- package/openssh/patches/patch-jpake_c | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'package/openssh/patches/patch-jpake_c') diff --git a/package/openssh/patches/patch-jpake_c b/package/openssh/patches/patch-jpake_c index 37b69ee45..c4dfdedce 100644 --- a/package/openssh/patches/patch-jpake_c +++ b/package/openssh/patches/patch-jpake_c @@ -1,15 +1,6 @@ ---- openssh-5.2p1.orig/jpake.c 2008-11-05 06:20:46.000000000 +0100 -+++ openssh-5.2p1/jpake.c 2009-09-18 12:26:24.000000000 +0200 -@@ -160,7 +160,7 @@ hash_buffer(const u_char *buf, u_int len - success = 0; - out: - EVP_MD_CTX_cleanup(&evp_md_ctx); -- bzero(digest, sizeof(digest)); -+ memset(digest, 0, sizeof(digest)); - digest_len = 0; - return success; - } -@@ -259,7 +259,7 @@ jpake_free(struct jpake_ctx *pctx) +--- openssh-5.3p1.orig/jpake.c 2009-03-05 14:58:22.000000000 +0100 ++++ openssh-5.3p1/jpake.c 2009-12-05 12:10:19.000000000 +0100 +@@ -104,7 +104,7 @@ jpake_free(struct jpake_ctx *pctx) #define JPAKE_BUF_CLEAR_FREE(v, l) \ do { \ if ((v) != NULL) { \ @@ -18,7 +9,7 @@ xfree(v); \ (v) = NULL; \ (l) = 0; \ -@@ -287,7 +287,7 @@ jpake_free(struct jpake_ctx *pctx) +@@ -132,7 +132,7 @@ jpake_free(struct jpake_ctx *pctx) #undef JPAKE_BN_CLEAR_FREE #undef JPAKE_BUF_CLEAR_FREE @@ -27,7 +18,7 @@ xfree(pctx); } -@@ -592,7 +592,7 @@ jpake_check_confirm(const BIGNUM *k, +@@ -437,7 +437,7 @@ jpake_check_confirm(const BIGNUM *k, else if (memcmp(peer_confirm_hash, expected_confirm_hash, expected_confirm_hash_len) == 0) success = 1; -- cgit v1.2.3 From 6233951bd273bc9245859d95a44a2278d55a7b65 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 4 Apr 2010 10:05:26 +0200 Subject: update to latest upstream --- package/openssh/patches/patch-jpake_c | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 package/openssh/patches/patch-jpake_c (limited to 'package/openssh/patches/patch-jpake_c') diff --git a/package/openssh/patches/patch-jpake_c b/package/openssh/patches/patch-jpake_c deleted file mode 100644 index c4dfdedce..000000000 --- a/package/openssh/patches/patch-jpake_c +++ /dev/null @@ -1,29 +0,0 @@ ---- openssh-5.3p1.orig/jpake.c 2009-03-05 14:58:22.000000000 +0100 -+++ openssh-5.3p1/jpake.c 2009-12-05 12:10:19.000000000 +0100 -@@ -104,7 +104,7 @@ jpake_free(struct jpake_ctx *pctx) - #define JPAKE_BUF_CLEAR_FREE(v, l) \ - do { \ - if ((v) != NULL) { \ -- bzero((v), (l)); \ -+ memset((v), 0, (l)); \ - xfree(v); \ - (v) = NULL; \ - (l) = 0; \ -@@ -132,7 +132,7 @@ jpake_free(struct jpake_ctx *pctx) - #undef JPAKE_BN_CLEAR_FREE - #undef JPAKE_BUF_CLEAR_FREE - -- bzero(pctx, sizeof(pctx)); -+ memset(pctx, 0, sizeof(pctx)); - xfree(pctx); - } - -@@ -437,7 +437,7 @@ jpake_check_confirm(const BIGNUM *k, - else if (memcmp(peer_confirm_hash, expected_confirm_hash, - expected_confirm_hash_len) == 0) - success = 1; -- bzero(expected_confirm_hash, expected_confirm_hash_len); -+ memset(expected_confirm_hash, 0, expected_confirm_hash_len); - xfree(expected_confirm_hash); - debug3("%s: success = %d", __func__, success); - return success; -- cgit v1.2.3