OpenSSL 1.1 - SSLEAY_VERSION Not Declared In This Scope #7080

issue vindicatorr opened this issue on November 23, 2015
  1. vindicatorr commented at 2:37 AM on November 23, 2015: none
    ...
      CXX      libbitcoin_server_a-init.o
    In file included from addrman.h:13:0,
                     from init.cpp:12:
    init.cpp: In function ‘bool AppInit2(boost::thread_group&, CScheduler&)’:
    init.cpp:1029:60: error: ‘SSLEAY_VERSION’ was not declared in this scope
         LogPrintf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
                                                                ^
    util.h:72:39: note: in definition of macro ‘LogPrintf’
     #define LogPrintf(...) LogPrint(NULL, __VA_ARGS__)
                                           ^
    init.cpp:1029:74: error: ‘SSLeay_version’ was not declared in this scope
         LogPrintf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
                                                                              ^
    util.h:72:39: note: in definition of macro ‘LogPrintf’
     #define LogPrintf(...) LogPrint(NULL, __VA_ARGS__)
                                           ^
    At global scope:
    cc1plus: warning: unrecognized command line option "-Wno-self-assign"
    Makefile:3722: recipe for target 'libbitcoin_server_a-init.o' failed
    make[2]: *** [libbitcoin_server_a-init.o] Error 1
    

    Master (1.1): https://www.openssl.org/docs/manmaster/crypto/OPENSSL_VERSION_NUMBER.html

    const char *OpenSSL_version(int t);
    

    1.0.2: https://www.openssl.org/docs/man1.0.2/crypto/OPENSSL_VERSION_NUMBER.html

    const char *SSLeay_version(int t);
    
  2. jonasschnelli commented at 4:28 PM on November 23, 2015: contributor

    It seems like the SSLeay_version API is no longer available in 1.1. But since 1.1 is not yet released, I'm not sure if it's worth doing anything here right now. Even since the switch to libsecp256k1 ECDSA verification, I could imaging dropping the debug-log-info about the openssl version because its relevance is now significantly reduced (still used for wallet encryption, RPNG, bip70 but no longer consensus critical IMO).

  3. laanwj closed this on Nov 27, 2015

  4. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-15 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me