| 479 | } |
| 480 | #else |
| 481 | EVP_PKEY *modssl_dh_pkey_from_file(const char *file) |
| 482 | { |
| 483 | EVP_PKEY *pkey; |
| 484 | BIO *bio; |
| 485 | |
| 486 | if ((bio = BIO_new_file(file, "r")) == NULL) |
| 487 | return NULL; |
| 488 | pkey = PEM_read_bio_Parameters(bio, NULL); |
| 489 | BIO_free(bio); |
| 490 | |
| 491 | return pkey; |
| 492 | } |
| 493 | #endif |
| 494 | |
| 495 | #ifdef HAVE_ECC |
no outgoing calls
no test coverage detected