summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2025-12-21 07:31:22 +0000
committertb <>2025-12-21 07:31:22 +0000
commitf0030cb3d36507775af6db668b87cf6d9558fbfa (patch)
tree7e4f9ac5a1d4d5b6c7958819c5942b680ea80a35 /src
parentf6a49b32fda99b726ad5b4434bcade613dccf49e (diff)
downloadopenbsd-f0030cb3d36507775af6db668b87cf6d9558fbfa.tar.gz
openbsd-f0030cb3d36507775af6db668b87cf6d9558fbfa.tar.bz2
openbsd-f0030cb3d36507775af6db668b87cf6d9558fbfa.zip
conf_api: remove CONF_DEBUG and disabling of assert()
The only thing CONF_DEBUG has done in ages is defining NDEBUG in a file that does not contain a single assert. Kill it. ok jsing kenjiro
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/conf/conf_api.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/conf/conf_api.c b/src/lib/libcrypto/conf/conf_api.c
index ef6e073b43..0d5a67d9a5 100644
--- a/src/lib/libcrypto/conf/conf_api.c
+++ b/src/lib/libcrypto/conf/conf_api.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: conf_api.c,v 1.28 2025/12/20 21:05:28 tb Exp $ */ 1/* $OpenBSD: conf_api.c,v 1.29 2025/12/21 07:31:22 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -56,11 +56,6 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#ifndef CONF_DEBUG
60# undef NDEBUG /* avoid conflicting definitions */
61# define NDEBUG
62#endif
63
64#include <stdlib.h> 59#include <stdlib.h>
65#include <string.h> 60#include <string.h>
66#include <unistd.h> 61#include <unistd.h>