Using this code requires Vista or later. Bcrypt.h was new with Vista and wincrypt.h was used in previous versions, so you can never have bcrypt.h without wincrypt.h.
> -----Original Message----- > From: libssh2-devel [mailto:libssh2-devel-boun...@cool.haxx.se] On Behalf > Of Alexander Lamaison > Sent: Tuesday, March 18, 2014 8:46 PM > To: libssh2 development > Subject: Re: [PATCH] Added Windows Cryptography API: Next Generation > backend > > On 18 March 2014 22:01, Alexander Lamaison <sw...@lammy.co.uk> wrote: > > I'm currently working on a CMake-based solution to the problem of > > maintaining makefiles for different platform and configuration > > permutations. > > I see that wincng.h/c import bcrypt.h unconditionally, but wincrypt.h > conditionally? Is this difference intentional? Can the WinCNG backend work > without wincrypt.h and crypt32.lib, or should it be all-or-nothing? > > Just so I get the CMake file right. > > Alex > > -- > Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org) > _______________________________________________ > libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel