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

Function modssl_dh_from_file

modules/ssl/ssl_util_ssl.c:468–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466
467#if OPENSSL_VERSION_NUMBER < 0x30000000L
468DH *modssl_dh_from_file(const char *file)
469{
470 DH *dh;
471 BIO *bio;
472
473 if ((bio = BIO_new_file(file, "r")) == NULL)
474 return NULL;
475 dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
476 BIO_free(bio);
477
478 return dh;
479}
480#else
481EVP_PKEY *modssl_dh_pkey_from_file(const char *file)
482{

Callers 1

ssl_init_server_certsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected