obfsclient icon indicating copy to clipboard operation
obfsclient copied to clipboard

This project fails to build

Open yurivict opened this issue 4 years ago • 1 comments

In file included from src/schwanenlied/crypto/hmac_sha256.cc:36:
In file included from ./src/schwanenlied/crypto/hmac_sha256.h:39:
In file included from ./src/schwanenlied/common.h:47:
./src/ext/easylogging++.h:1119:84: error: 'ptr_fun<int, int>' is deprecated [-Werror,-Wdeprecated-declarations]
        str.erase(str.begin(), std::find_if(str.begin(), str.end(), std::not1(std::ptr_fun<int, int>(&std::isspace))));
                                                                                   ^

and

In file included from src/schwanenlied/crypto/hmac_sha256.cc:36:
./src/schwanenlied/crypto/hmac_sha256.h:61:7: error: no type named 'HMAC_CTX_init' in the global namespace
    ::HMAC_CTX_init(&ctx_);
    ~~^
./src/schwanenlied/crypto/hmac_sha256.h:61:22: error: declaration of reference variable 'ctx_' requires an initializer
    ::HMAC_CTX_init(&ctx_);
                     ^~~~

Is this a deprecated project?

yurivict avatar Mar 30 '21 21:03 yurivict

Hm, looks like the compiler got more strict and openssl's API changed a bunch.

Is this a deprecated project?

Basically, yes.

  • None of the protocols it speaks are all that useful at the present time.
  • All the newer protocols it could be using either have severe design-level issues that make me not want to implement them, would require pulling in way too many external dependencies, or both.
  • I have no motivation, spare cycles, or funding to work on this sort of thing these days.

Yawning avatar Mar 31 '21 15:03 Yawning