OpenSSL 1.1 - SSLEAY_VERSION Not Declared In This Scope #7080

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

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

    0const char *OpenSSL_version(int t);
    

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

    0const 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: 2024-10-05 04:12 UTC

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