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

Function modssl_CTX_load_verify_locations

modules/ssl/ssl_engine_init.c:1034–1049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1032}
1033
1034static APR_INLINE
1035int modssl_CTX_load_verify_locations(SSL_CTX *ctx,
1036 const char *file,
1037 const char *path)
1038{
1039#if OPENSSL_VERSION_NUMBER < 0x30000000L
1040 if (!SSL_CTX_load_verify_locations(ctx, file, path))
1041 return 0;
1042#else
1043 if (file && !SSL_CTX_load_verify_file(ctx, file))
1044 return 0;
1045 if (path && !SSL_CTX_load_verify_dir(ctx, path))
1046 return 0;
1047#endif
1048 return 1;
1049}
1050
1051static apr_status_t ssl_init_ctx_verify(server_rec *s,
1052 apr_pool_t *p,

Callers 1

ssl_init_ctx_verifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected