| 425 | } |
| 426 | |
| 427 | ECDSA_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 |
| 439 | OSSL_PARAM_BLD* OSSL_PARAM_BLD_new() { |
no outgoing calls
no test coverage detected