Skip to content

OpenSSL 1.1 - SSLEAY_VERSION Not Declared In This Scope #7080

@vindicatorr

Description

@vindicatorr
...
  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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions