OSSL_PROVIDER reference issue

Dmitry Belyavsky beldmit at gmail.com
Mon Aug 7 05:13:50 UTC 2023


RHEL 8 has OpenSSL 1.1.1 series that doesn't support providers.

On Mon, 7 Aug 2023, 07:10 Kirtikumar via openssl-users, <
openssl-users at openssl.org> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20230807/6d14ec72/attachment-0001.htm>


More information about the openssl-users mailing list