This project is mirrored from https://git.libssh.org/projects/libssh.git. Pull mirroring updated .
  1. 10 Jun, 2021 2 commits
  2. 07 Jun, 2021 2 commits
  3. 05 Jun, 2021 4 commits
  4. 01 Jun, 2021 1 commit
  5. 31 May, 2021 3 commits
  6. 27 May, 2021 12 commits
  7. 26 May, 2021 2 commits
  8. 12 May, 2021 10 commits
  9. 10 May, 2021 4 commits
    • Jakub Jelen's avatar
      ed25519: Harmonize arguments to make new gcc happy · 9e0d76fb
      Jakub Jelen authored
      
      
      This started failing CI on Fedora with new GCC
      
      /builds/jjelen/libssh-mirror/src/external/ed25519.c:80:48: error: argument 1 of type 'unsigned char *' declared as a pointer [-Werror=array-parameter=]
         80 | int crypto_sign_ed25519_keypair(unsigned char *pk,
            |                                 ~~~~~~~~~~~~~~~^~
      In file included from /builds/jjelen/libssh-mirror/src/external/ed25519.c:15:
      /builds/jjelen/libssh-mirror/include/libssh/ed25519.h:46:48: note: previously declared as an array 'uint8_t[32]' {aka 'unsigned char[32]'}
         46 | int crypto_sign_ed25519_keypair(ed25519_pubkey pk, ed25519_privkey sk);
            |                                 ~~~~~~~~~~~~~~~^~
      /builds/jjelen/libssh-mirror/src/external/ed25519.c:81:48: error: argument 2 of type 'unsigned char *' declared as a pointer [-Werror=array-parameter=]
         81 |                                 unsigned char *sk)
            |                                 ~~~~~~~~~~~~~~~^~
      In file included from /builds/jjelen/libssh-mirror/src/external/ed25519.c:15:
      /builds/jjelen/libssh-mirror/include/libssh/ed25519.h:46:68: note: previously declared as an array 'uint8_t[64]' {aka 'unsigned char[64]'}
         46 | int crypto_sign_ed25519_keypair(ed25519_pubkey pk, ed25519_privkey sk);
            |                                                    ~~~~~~~~~~~~~~~~^~
      /builds/jjelen/libssh-mirror/src/external/ed25519.c:117:46: error: argument 5 of type 'const unsigned char *' declared as a pointer [-Werror=array-parameter=]
        117 |                         const unsigned char *sk)
            |                         ~~~~~~~~~~~~~~~~~~~~~^~
      In file included from /builds/jjelen/libssh-mirror/src/external/ed25519.c:15:
      /builds/jjelen/libssh-mirror/include/libssh/ed25519.h:61:27: note: previously declared as an array 'const uint8_t[64]' {aka 'const unsigned char[64]'}
         61 |     const ed25519_privkey sk);
            |     ~~~~~~~~~~~~~~~~~~~~~~^~
      /builds/jjelen/libssh-mirror/src/external/ed25519.c:180:51: error: argument 5 of type 'const unsigned char *' declared as a pointer [-Werror=array-parameter=]
        180 |                              const unsigned char *pk)
            |                              ~~~~~~~~~~~~~~~~~~~~~^~
      In file included from /builds/jjelen/libssh-mirror/src/external/ed25519.c:15:
      /builds/jjelen/libssh-mirror/include/libssh/ed25519.h:76:26: note: previously declared as an array 'const uint8_t[32]' {aka 'const unsigned char[32]'}
         76 |     const ed25519_pubkey pk);
            |     ~~~~~~~~~~~~~~~~~~~~~^~
      Signed-off-by: Jakub Jelen's avatarJakub Jelen <jjelen@redhat.com>
      Reviewed-by: default avatarSahana Prasad <sahana@redhat.com>
      9e0d76fb
    • Xiang Xiao's avatar
      Fix error: dereferencing pointer to incomplete type ‘struct timeval’ · 8ea7fc61
      Xiang Xiao authored
      
      Signed-off-by: Xiang Xiao's avatarXiang Xiao <xiaoxiang@xiaomi.com>
      Reviewed-by: Jakub Jelen's avatarJakub Jelen <jjelen@redhat.com>
      Reviewed-by: default avatarSahana Prasad <sahana@redhat.com>
      Change-Id: I99d2016595966d805c9e27b5c2f2a0a5b4ad8611
      8ea7fc61
    • Xiang Xiao's avatar
      mbedtls: Change the last argument of cipher_[de|en]crypt_cbc to size_t · aef467ab
      Xiang Xiao authored
      
      
      to avoid their prototype different from ssh_cipher_struct
      Signed-off-by: Xiang Xiao's avatarXiang Xiao <xiaoxiang@xiaomi.com>
      Reviewed-by: Jakub Jelen's avatarJakub Jelen <jjelen@redhat.com>
      Reviewed-by: default avatarSahana Prasad <sahana@redhat.com>
      Change-Id: I6cba2d4fea131f13d028226023da692494caa87d
      aef467ab
    • Xiang Xiao's avatar
      packet: Change the last argument of ssh_packet_encrypt to uint32_t · 053ed5bd
      Xiang Xiao authored
      
      
      to match the implemntation in packet_crypt.c
      Signed-off-by: Xiang Xiao's avatarXiang Xiao <xiaoxiang@xiaomi.com>
      Reviewed-by: Jakub Jelen's avatarJakub Jelen <jjelen@redhat.com>
      Reviewed-by: default avatarSahana Prasad <sahana@redhat.com>
      Change-Id: Ib76c3585f67dae22ed0f1dfc10dadcd03c762032
      053ed5bd