Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit 4c3ba96

Browse files
committed
Fix compilation with msvc 1905.
1 parent 750b739 commit 4c3ba96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pki_gcrypt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2020,7 +2020,7 @@ int pki_signature_verify(ssh_session session,
20202020
const unsigned char *hash,
20212021
size_t hlen)
20222022
{
2023-
#if defined(_MSC_VER) && (_MSC_VER <= 1915)
2023+
#if defined(_MSC_VER)
20242024
unsigned char * ghash = (char *)_alloca( sizeof( char )*( hlen + 1 ) );
20252025
#else
20262026
unsigned char ghash[hlen + 1];
@@ -2154,7 +2154,7 @@ ssh_signature pki_do_sign_hash(const ssh_key privkey,
21542154
size_t hlen,
21552155
enum ssh_digest_e hash_type)
21562156
{
2157-
#if defined(_MSC_VER) && (_MSC_VER <= 1915)
2157+
#if defined(_MSC_VER)
21582158
unsigned char * ghash = (char *)_alloca(sizeof(char)*(hlen + 1));
21592159
#else
21602160
unsigned char ghash[hlen + 1];

0 commit comments

Comments
 (0)