Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hflsV-0008Q4-Fh for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Jun 2019 13:52:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hflsU-0007RZ-6n for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Jun 2019 13:52:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hflsT-0007RR-VM for pgsql-bugs@lists.postgresql.org; Tue, 25 Jun 2019 13:52:54 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hflsR-0001gz-7j for pgsql-bugs@lists.postgresql.org; Tue, 25 Jun 2019 13:52:53 +0000 Received: by mail-qt1-x841.google.com with SMTP id n11so7195067qtl.5 for ; Tue, 25 Jun 2019 06:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=tXMuut5jj6ncGfWRCrCggljUPBcNM5H/aowV4mrchnY=; b=wgfBBGkQgVLD4CjP2y7hcWYExpCM0fq11SAOXPpKAlb1bof+itVraNUispFl97AeBy oZ17A2VxBWCRUrZi4T+3X0hdThlNMvIVV+9AsZ+9Y78jXhRFBHvfUbQhDEV9N+KT7l8f a2tUvabqsQtQV+taQkArBUuyqb5SUl829x5cWnEanrZ3UddHbkt4yieMcfkneFYxdJK1 RWf3Fz2+acDwrQGmwxeXcnjAnd/fkNNujhLbbv1FNtcaK21bdkx87gDWkPiEYQxS15+A QI4Fy9cvapyFFKNocsBCqARNSO+gV+5KhI6YEZe2zM0wCJgIQJx8ZlZLRSxUN4R5aAPZ XF+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=tXMuut5jj6ncGfWRCrCggljUPBcNM5H/aowV4mrchnY=; b=ep0L89OHhdcqgArEsTYD46fvEdy13WIPkaZPKDMcCYLuRSzSkrHLrspWc0EKdqulzy ccTbGrgEI9ksqOYd6TJxAMWQ3b5/Fn+E6H1n33GCV/cqZL8VCbikrDukoVZvuT07Pj03 hm4B3TkrQcItxkZ7tF03bgysPqPJDi0Bbw7P3ihf7CrpIgzr9bnXaCfgdpKMIawzGhgl O9WqrWvY1c91MoPgqX0v2LzJ6y7FmBuWn9CgfhIYm8BAwgLIPbP87S4eMjDWLIcOgkC7 fAH21fHafb5BICLiH8h9t7Gbs/WsMFYEQjNXSOT+wKzD5Cdv/H60NYClE9E+FYsnBMBg R1AA== X-Gm-Message-State: APjAAAUiJbHzGQses00EPyG+UWDGp6mHNari9OKEyXfiI7nkt1jIWF9K ZkdJ/G83WdCxSUosNlHgdl2rAw== X-Google-Smtp-Source: APXvYqxM1ldhk125B3uSoX0jnVwIDfp8oMuy88xz1xKTaoB29v4OIibrfJE0CJCVodb+/lTF9oGajQ== X-Received: by 2002:a0c:d27b:: with SMTP id o56mr26183990qvh.50.1561470767164; Tue, 25 Jun 2019 06:52:47 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([177.154.145.99]) by smtp.gmail.com with ESMTPSA id l63sm7470842qkb.124.2019.06.25.06.52.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 25 Jun 2019 06:52:46 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 8B609120870; Tue, 25 Jun 2019 09:52:43 -0400 (-04) Date: Tue, 25 Jun 2019 09:52:43 -0400 From: Alvaro Herrera To: Michael Paquier Cc: Juan =?iso-8859-1?Q?Jos=E9_Santamar=EDa?= Flecha , Sandeep Thakkar , serpashk@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15789: libpq compilation with OpenSSL 1.1.1b fails on Windows with Visual Studio 2017 Message-ID: <20190625135243.GA29893@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190625080811.GF5569@paquier.xyz> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jun-25, Michael Paquier wrote: > Attached is an updated version which I would be fine to commit. I > have tested it with compilation linking to OpenSSL 1.0.2 and 1.1.0 on > Win32 and the build is able to complete. This applies on HEAD only, > where I have run all my tests. The patch is properly indented. In sub GenerateFiles, I would move the stanza for ->{openssl} next to the one for ->{gss} and keep the simpler lines all together (your patch leaves ->{nls} as a separate item, which is aesthetically unpleasing). -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services