Skip to content

Commit 79c87d1

Browse files
committed
* modules/ssl/ssl_private.h: Do not force OPENSSL_API_COMPAT in AP_DEBUG
builds, so that use of deprecated OpenSSL APIs is flagged at compile time.
1 parent 837965f commit 79c87d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎modules/ssl/ssl_private.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
#include "ap_expr.h"
8585

8686
/* keep first for compat API */
87-
#ifndef OPENSSL_API_COMPAT
87+
#if !defined(OPENSSL_API_COMPAT) && !defined(AP_DEBUG)
8888
#define OPENSSL_API_COMPAT 0x10101000 /* for ENGINE_ API */
8989
#endif
9090
#include "mod_ssl_openssl.h"

0 commit comments

Comments
 (0)