[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Question on tarball source files


Hi, 

Thanks for your response. Below are some of the issues I'm getting. I think it's because its having problems reading the libcrypto-compat.h file

/root/externals/libssh/src/libcrypto-compat.c:107:32: error: unknown type name 'RSA'
  107 | void RSA_get0_crt_params(const RSA *r,
      |                                ^~~
/root/externals/libssh/src/libcrypto-compat.c:108:32: error: unknown type name 'BIGNUM'
  108 |                          const BIGNUM **dmp1, const BIGNUM **dmq1,
/root/externals/libssh/src/libcrypto-compat.c:114:18: error: request for member 'dmq1' in something not a structure or union
  114 |         *dmq1 = r->dmq1;
      |                  ^~
/root/externals/libssh/src/libcrypto-compat.c:226:23: error: implicit declaration of function 'OPENSSL_malloc' [-Werror=implicit-function-declaration]
  226 |     EVP_MD_CTX *ctx = OPENSSL_malloc(sizeof(EVP_MD_CTX));
      |                       ^~~~~~~~~~~~~~
/root/externals/libssh/src/libcrypto-compat.c:226:45: error: 'EVP_MD_CTX' undeclared (first use in this function); did you mean 'EVP_MD_CTX_new'?
  226 |     EVP_MD_CTX *ctx = OPENSSL_malloc(sizeof(EVP_MD_CTX));
      |                                             ^~~~~~~~~~
      |                                             EVP_MD_CTX_new



Kind Regards,
Katie

-----Original Message-----
From: Jakub Jelen <jjelen@xxxxxxxxxx> 
Sent: 13 June 2023 09:05
To: libssh@xxxxxxxxxx
Subject: Re: Question on tarball source files

Hello,
the 0.10.5 is the latest version that should work fine with OpenSSL 3.0. There were some changes since then in master but it will take some time before they will be released.
Can you post the errors you are getting? We are running CI against OpenSSL 3.0 also in the stable-0.10 branches and all looks good:

https://gitlab.com/libssh/libssh-mirror/-/commits/stable-0.10 

Regards,
Jakub

On Mon, Jun 12, 2023 at 5:36 PM Maher, Katie <katie.maher@xxxxxxx> wrote:
>
> Hi libssh team,
>
>
>
> I just wanted to ask a question about the tarballs listed under https://www.libssh.org/files/  . We are building a docker image that uses OpenSSL 3 and are trying to use libssh v. 0.10.5 in it. However, I have been getting many errors coming from the libssh/src/libcrypto-compat.c file. I can see from your gitlab repo that this file was removed since about October of last year, however the tarball source files still have this file. Just wondering where I can get the most up to date tarball source file for v. 0.10.5? Or maybe I am missing something?
>
>
>
> Thanks in advance! 😊
>
>
>
> Kind regards,
>
> Katie
>
>



Follow-Ups:
Re: Question on tarball source filesJakub Jelen <jjelen@xxxxxxxxxx>
References:
Question on tarball source files"Maher, Katie" <katie.maher@xxxxxxx>
Re: Question on tarball source filesJakub Jelen <jjelen@xxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org