From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36283 invoked by alias); 4 Aug 2017 03:01:07 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 34377 invoked by uid 89); 4 Aug 2017 03:01:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 04 Aug 2017 03:01:05 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CBDE483F42 for ; Fri, 4 Aug 2017 02:53:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CBDE483F42 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=yselkowi@redhat.com Received: from localhost.localdomain (ovpn-120-53.rdu2.redhat.com [10.10.120.53]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 673C76C404 for ; Fri, 4 Aug 2017 02:53:14 +0000 (UTC) From: Yaakov Selkowitz To: cygwin-apps@cygwin.com Subject: [PATCH crypt 5/8] Disable blowfish cipher Date: Fri, 04 Aug 2017 03:01:00 -0000 Message-Id: <20170804025258.19248-6-yselkowi@redhat.com> In-Reply-To: <20170804025258.19248-1-yselkowi@redhat.com> References: <20170804025258.19248-1-yselkowi@redhat.com> X-SW-Source: 2017-08/txt/msg00010.txt.bz2 This didn't work properly when tested, and is not found in glibc. --- crypt_r.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypt_r.c b/crypt_r.c index 75ba60b..f30d41d 100644 --- a/crypt_r.c +++ b/crypt_r.c @@ -18,8 +18,10 @@ char *__crypt_r(const char *key, const char *salt, struct crypt_data *data) if (salt[0] == '$' && salt[1] && salt[2]) { if (salt[1] == '1' && salt[2] == '$') return __crypt_md5(key, salt, output); +#if 0 /* doesn't work, not found in glibc */ if (salt[1] == '2' && salt[3] == '$') return __crypt_blowfish(key, salt, output); +#endif if (salt[1] == '5' && salt[2] == '$') return __crypt_sha256(key, salt, output); if (salt[1] == '6' && salt[2] == '$') -- 2.13.2