Skip to content

Commit 7f22e3b

Browse files
committed
Merge commit 'e8322817a9e5aaef0698d779ddd467a209a85d85'
2 parents dd7ec4d + e832281 commit 7f22e3b

16 files changed

+963
-25
lines changed

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
CHANGELOG
22
=========
33

4+
version 0.10.4 (released 2022-09-07)
5+
* Fixed issues with KDF on big endian
6+
7+
version 0.10.3 (released 2022-09-05)
8+
* Fixed possible infinite loop in known hosts checking
9+
410
version 0.10.2 (released 2022-09-02)
511
* Fixed tilde expansion when handling include directives
612
* Fixed building the shared torture library

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
1010
include(DefineCMakeDefaults)
1111
include(DefineCompilerFlags)
1212

13-
project(libssh VERSION 0.10.2 LANGUAGES C)
13+
project(libssh VERSION 0.10.4 LANGUAGES C)
1414

1515
# global needed variable
1616
set(APPLICATION_NAME ${PROJECT_NAME})
@@ -22,7 +22,7 @@ set(APPLICATION_NAME ${PROJECT_NAME})
2222
# Increment AGE. Set REVISION to 0
2323
# If the source code was changed, but there were no interface changes:
2424
# Increment REVISION.
25-
set(LIBRARY_VERSION "4.9.2")
25+
set(LIBRARY_VERSION "4.9.4")
2626
set(LIBRARY_SOVERSION "4")
2727

2828
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked

include/libssh/crypto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ struct ssh_cipher_struct {
219219
const struct ssh_cipher_struct *ssh_get_chacha20poly1305_cipher(void);
220220
int sshkdf_derive_key(struct ssh_crypto_struct *crypto,
221221
unsigned char *key, size_t key_len,
222-
int key_type, unsigned char *output,
222+
uint8_t key_type, unsigned char *output,
223223
size_t requested_len);
224224

225225
int secure_memcmp(const void *s1, const void *s2, size_t n);

include/libssh/wrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ size_t hmac_digest_len(enum ssh_hmac_e type);
103103

104104
int ssh_kdf(struct ssh_crypto_struct *crypto,
105105
unsigned char *key, size_t key_len,
106-
int key_type, unsigned char *output,
106+
uint8_t key_type, unsigned char *output,
107107
size_t requested_len);
108108

109109
int crypt_set_algorithms_client(ssh_session session);

src/ABI/current

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.9.2
1+
4.9.4

0 commit comments

Comments
 (0)