OSSL_PROVIDER reference issue

kgoudra at ups.com kgoudra at ups.com
Mon Aug 7 07:40:44 UTC 2023


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


More information about the openssl-users mailing list