OSSL_PROVIDER reference issue

Matt Caswell matt at openssl.org
Mon Aug 7 09:08:03 UTC 2023


What OpenSSL header files are you including in your application?

Matt

On 07/08/2023 08:40, Kirtikumar via openssl-users wrote:
> Using Openssl-3.0.8 version and my application is built with 3.0.8 
> headers only.
> 
> Please share any inputs which help to solve this issue.
> 
> *From:* Kirtikumar Goudra
> *Sent:* Sunday, August 6, 2023 11:10 PM
> *To:* openssl-users at openssl.org
> *Subject:* OSSL_PROVIDER reference issue
> 
> Hello Team,
> 
> We are getting below error specifically in linux RHEL8 environment and 
> the same is working perfect on windows.
> 
> error: ‘OSSL_PROVIDER’ does not name a type; did you mean ‘SSL_TXT_IDEA’?
> 
>    static OSSL_PROVIDER *legacy;
> 
>           ^~~~~~~~~~~~~
> 
>           SSL_TXT_IDEA
> 
> error: ‘OSSL_PROVIDER’ does not name a type; did you mean ‘SSL_TXT_IDEA’?
> 
>    static OSSL_PROVIDER *deflt;
> 
> Code is as below:
> 
>                  static OSSL_PROVIDER *legacy;
> 
>                  static OSSL_PROVIDER *deflt;
> 
> Trying to use them as below:
> 
>                  OSSL_PROVIDER * SSLSocket::legacy;
> 
>                  OSSL_PROVIDER * SSLSocket::deflt;
> 
> We are trying to use provider functionalities like OSSL_PROVIDER_load() 
> and OSSL_PROVIDER_unload() in our app and only on linux it is not able 
> to reference although we have included openssl headers.
> 
> Please suggest what could be the problem here?
> 
> Thanks,
> 
> Kirtikumar
> 


More information about the openssl-users mailing list