They are macros now. You should still be able to build code that uses them.
-Ben On Fri, Apr 09, 2021 at 08:03:28PM +0000, Robert Smith via openssl-users wrote: > Hello, > I am porting application from openSSL version 1.0.2u to 1.1.1k and linker > complaints that symbols X509_set_notAfter and X509_set_notBefore are missing. > > I've checked both versions 1.0.2u and 1.1.1k and I see that these symbols > really are not present in 1.1.1k. > user@ubuntu_dev_vm:~/tools/openssl$ nm -D --defined-only > 1.0.2u/lib/libcrypto.so.1.0.0 | grep X509_set_not00110994 T > X509_set_notAfter001109fc T X509_set_notBefore > user@ubuntu_dev_vm:~/tools/openssl$ nm -D --defined-only > 1.1.1k/libcrypto.so.1.1 | grep X509_set_not > user@ubuntu_dev_vm:~/tools/openssl$ > I use default builds with NO limiting defines OPENSSL_API_COMPAT as described > in the wiki : > https://urldefense.com/v3/__https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes__;!!GjvTz_vk!BsiPUDmweh0jSUO9gmeu60lRgq1aIS7FPk1Q6SJsI7kns9h5ZO64IagBa0aJZA$ > > > Can anyone clarify how to resolve the issue with X509_set_notAfter and > X509_set_notBefore symbols. > > ThanksRobert