Undefined Reference to "bn_get_words()" and "bn_get_top()".

Tomas Mraz tomas at openssl.org
Tue Jan 11 11:03:03 UTC 2022


On Tue, 2022-01-11 at 10:15 +0000, Kumar Mishra, Sanjeev wrote:
> Hi,
> I am getting following linking Error for APIs "bn_get_words()" and
> "bn_get_top()" while compiling with OpenSSL 3.0. Although crypto/bn.h
> is included in file.
> Please help to resolve it.
> Regards,
> Sanjeev

These symbols are internal and not exported from the shared library. 

You would have to link statically to be able to use them. Of course
that is not recommended exactly because the symbols are internal and
thus can disappear or arbitrarily change meaning within any release.

-- 
Tomáš Mráz, OpenSSL




More information about the openssl-users mailing list