MCPcopy Create free account
hub / github.com/apache/httpd / modssl_dh_pkey_from_file

Function modssl_dh_pkey_from_file

modules/ssl/ssl_util_ssl.c:481–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480#else
481EVP_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

Callers 1

ssl_init_server_certsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected