OSSL_PROVIDER reference issue

kgoudra at ups.com kgoudra at ups.com
Mon Aug 7 05:09:36 UTC 2023


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/8d691f22/attachment.htm>


More information about the openssl-users mailing list