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

Commit ca9cea8

Browse files
committed
project: Update for 0.9.1 merge.
1 parent ee20835 commit ca9cea8

4 files changed

Lines changed: 25 additions & 6 deletions

File tree

SMP/SMP.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ index a8dfe030..b74cf6dd 100644
101101
static int _ssh_init(unsigned constructor) {
102102

103103
diff --git a/src/misc.c b/src/misc.c
104-
index 0c6b570c..c365e62b 100644
104+
index 8bd378f3..0fabd593 100644
105105
--- a/src/misc.c
106106
+++ b/src/misc.c
107107
@@ -50,9 +50,10 @@
@@ -136,7 +136,7 @@ index 0c6b570c..c365e62b 100644
136136
}
137137

138138
/* we have read access on file */
139-
@@ -147,22 +152,26 @@ int gettimeofday(struct timeval *__p, void *__t) {
139+
@@ -172,22 +177,26 @@ int gettimeofday(struct timeval *__p, void *__t) {
140140
}
141141

142142
char *ssh_get_local_username(void) {
@@ -166,10 +166,10 @@ index 0c6b570c..c365e62b 100644
166166

167167
int ssh_is_ipaddr_v4(const char *str) {
168168
diff --git a/src/pki_gcrypt.c b/src/pki_gcrypt.c
169-
index 705830c0..8ecbbdde 100644
169+
index 6e00194a..cadf4ff4 100644
170170
--- a/src/pki_gcrypt.c
171171
+++ b/src/pki_gcrypt.c
172-
@@ -2140,7 +2140,11 @@ ssh_signature pki_do_sign_hash(const ssh_key privkey,
172+
@@ -2092,7 +2092,11 @@ ssh_signature pki_do_sign_hash(const ssh_key privkey,
173173
size_t hlen,
174174
enum ssh_digest_e hash_type)
175175
{

SMP/config.h

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@
8282
/* Define to 1 if you have gl_flags as a glob_t sturct member */
8383
/* #undef HAVE_GLOB_GL_FLAGS_MEMBER */
8484

85+
/* Define to 1 if you have OpenSSL with Ed25519 support */
86+
/* #undef HAVE_OPENSSL_ED25519 */
87+
88+
/* Define to 1 if you have OpenSSL with X25519 support */
89+
/* #undef HAVE_OPENSSL_X25519 */
90+
8591
/*************************** FUNCTIONS ***************************/
8692

8793
/* Define to 1 if you have the `EVP_aes128_ctr' function. */
@@ -103,10 +109,19 @@
103109
/* #undef HAVE_OPENSSL_EVP_CIPHER_CTX_NEW */
104110

105111
/* Define to 1 if you have the `EVP_KDF_CTX_new_id' function. */
106-
/* #undef HAVE_OPENSSL_EVP_KDF_CTX_NEW_ID 1
112+
/* #undef HAVE_OPENSSL_EVP_KDF_CTX_NEW_ID */
113+
114+
/* Define to 1 if you have the `FIPS_mode' function. */
115+
/* #undef HAVE_OPENSSL_FIPS_MODE */
116+
117+
/* Define to 1 if you have the `EVP_DigestSign' function. */
118+
/* #undef HAVE_OPENSSL_EVP_DIGESTSIGN */
119+
120+
/* Define to 1 if you have the `EVP_DigestVerify' function. */
121+
/* #undef HAVE_OPENSSL_EVP_DIGESTVERIFY */
107122

108123
/* Define to 1 if you have the `OPENSSL_ia32cap_loc' function. */
109-
/* #undef HAVE_OPENSSL_IA32CAP_LOC 1
124+
/* #undef HAVE_OPENSSL_IA32CAP_LOC */
110125

111126
/* Define to 1 if you have the `snprintf' function. */
112127
/* #undef HAVE_SNPRINTF */

SMP/libssh.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
<ClCompile Include="..\src\pki.c" />
137137
<ClCompile Include="..\src\pki_container_openssh.c" />
138138
<ClCompile Include="..\src\pki_ed25519.c" />
139+
<ClCompile Include="..\src\pki_ed25519_common.c" />
139140
<ClCompile Include="..\src\pki_gcrypt.c" />
140141
<ClCompile Include="..\src\poll.c" />
141142
<ClCompile Include="..\src\scp.c" />

SMP/libssh.vcxproj.filters

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@
225225
<ClCompile Include="..\src\token.c">
226226
<Filter>Source Files</Filter>
227227
</ClCompile>
228+
<ClCompile Include="..\src\pki_ed25519_common.c">
229+
<Filter>Source Files</Filter>
230+
</ClCompile>
228231
</ItemGroup>
229232
<ItemGroup>
230233
<ClInclude Include="..\include\libssh\agent.h">

0 commit comments

Comments
 (0)