www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: RE: [PATCH] Added Windows Cryptography API: Next Generation backend

RE: [PATCH] Added Windows Cryptography API: Next Generation backend

From: Bob Kast <bob_2824_at_hotmail.com>
Date: Tue, 18 Mar 2014 21:09:18 -0400

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-bounces_at_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 <swish_at_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
Received on 2014-03-19

the libssh2 team