| 508 | } |
| 509 | |
| 510 | int EVP_PKEY_fromdata_init(EVP_PKEY_CTX* ctx) { |
| 511 | static int (*origMethod)(EVP_PKEY_CTX * ctx) = nullptr; |
| 512 | if (origMethod == nullptr) |
| 513 | origMethod = (decltype(origMethod))dlsym(RTLD_NEXT, SYMBOL_NAME("EVP_PKEY_fromdata_init")); |
| 514 | bool fail = fail_EVP_PKEY_fromdata_init & 1; |
| 515 | fail_EVP_PKEY_fromdata_init = fail_EVP_PKEY_fromdata_init >> 1; |
| 516 | if (fail) |
| 517 | return 0; |
| 518 | else |
| 519 | return origMethod(ctx); |
| 520 | } |
| 521 | |
| 522 | int EVP_PKEY_fromdata(EVP_PKEY_CTX* ctx, EVP_PKEY** ppkey, int selection, OSSL_PARAM params[]) { |
| 523 | static int (*origMethod)(EVP_PKEY_CTX * ctx, EVP_PKEY * *ppkey, int selection, OSSL_PARAM params[]) = nullptr; |
no outgoing calls
no test coverage detected