mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
mod_ssl namespacing: SSL_X509_getBC -> modssl_X509_getBC
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1677146 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -940,7 +940,7 @@ static void ssl_check_public_cert(server_rec *s,
|
|||||||
* Some information about the certificate(s)
|
* Some information about the certificate(s)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (SSL_X509_getBC(cert, &is_ca, &pathlen)) {
|
if (modssl_X509_getBC(cert, &is_ca, &pathlen)) {
|
||||||
if (is_ca) {
|
if (is_ca) {
|
||||||
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s, APLOGNO(01906)
|
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s, APLOGNO(01906)
|
||||||
"%s server certificate is a CA certificate "
|
"%s server certificate is a CA certificate "
|
||||||
|
@@ -161,7 +161,7 @@ int modssl_smart_shutdown(SSL *ssl)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* retrieve basic constraints ingredients */
|
/* retrieve basic constraints ingredients */
|
||||||
BOOL SSL_X509_getBC(X509 *cert, int *ca, int *pathlen)
|
BOOL modssl_X509_getBC(X509 *cert, int *ca, int *pathlen)
|
||||||
{
|
{
|
||||||
BASIC_CONSTRAINTS *bc;
|
BASIC_CONSTRAINTS *bc;
|
||||||
BIGNUM *bn = NULL;
|
BIGNUM *bn = NULL;
|
||||||
|
@@ -62,7 +62,7 @@ void *modssl_get_app_data2(SSL *);
|
|||||||
void modssl_set_app_data2(SSL *, void *);
|
void modssl_set_app_data2(SSL *, void *);
|
||||||
EVP_PKEY *modssl_read_privatekey(const char *, EVP_PKEY **, pem_password_cb *, void *);
|
EVP_PKEY *modssl_read_privatekey(const char *, EVP_PKEY **, pem_password_cb *, void *);
|
||||||
int modssl_smart_shutdown(SSL *ssl);
|
int modssl_smart_shutdown(SSL *ssl);
|
||||||
BOOL SSL_X509_getBC(X509 *, int *, int *);
|
BOOL modssl_X509_getBC(X509 *, int *, int *);
|
||||||
char *SSL_ASN1_STRING_to_utf8(apr_pool_t *, ASN1_STRING *);
|
char *SSL_ASN1_STRING_to_utf8(apr_pool_t *, ASN1_STRING *);
|
||||||
char *SSL_X509_NAME_ENTRY_to_string(apr_pool_t *p, X509_NAME_ENTRY *xsne);
|
char *SSL_X509_NAME_ENTRY_to_string(apr_pool_t *p, X509_NAME_ENTRY *xsne);
|
||||||
char *SSL_X509_NAME_to_string(apr_pool_t *, X509_NAME *, int);
|
char *SSL_X509_NAME_to_string(apr_pool_t *, X509_NAME *, int);
|
||||||
|
Reference in New Issue
Block a user