MCPcopy Create free account
hub / github.com/Thalhammer/jwt-cpp / d2i_ECDSA_SIG

Function d2i_ECDSA_SIG

tests/OpenSSLErrorTest.cpp:427–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427ECDSA_SIG* d2i_ECDSA_SIG(ECDSA_SIG** psig, const unsigned char** ppin, long len) {
428 static ECDSA_SIG* (*origMethod)(ECDSA_SIG * *psig, const unsigned char** ppin, long len) = nullptr;
429 if (origMethod == nullptr) origMethod = (decltype(origMethod))dlsym(RTLD_NEXT, SYMBOL_NAME("d2i_ECDSA_SIG"));
430 bool fail = fail_d2i_ECDSA_SIG & 1;
431 fail_d2i_ECDSA_SIG = fail_d2i_ECDSA_SIG >> 1;
432 if (fail)
433 return nullptr;
434 else
435 return origMethod(psig, ppin, len);
436}
437
438#ifdef JWT_OPENSSL_3_0
439OSSL_PARAM_BLD* OSSL_PARAM_BLD_new() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected