diff options
Diffstat (limited to 'src/lib/libcrypto/mem_dbg.c')
-rw-r--r-- | src/lib/libcrypto/mem_dbg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/mem_dbg.c b/src/lib/libcrypto/mem_dbg.c index 288ee907c3..3e56c79a25 100644 --- a/src/lib/libcrypto/mem_dbg.c +++ b/src/lib/libcrypto/mem_dbg.c | |||
@@ -162,14 +162,14 @@ void | |||
162 | CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line, | 162 | CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line, |
163 | int before_p) | 163 | int before_p) |
164 | { | 164 | { |
165 | fprintf(stderr, "this is a bad idea"); | 165 | /* CRYPTO_dbg_malloc is no longer permitted */ |
166 | abort(); | 166 | abort(); |
167 | } | 167 | } |
168 | 168 | ||
169 | void | 169 | void |
170 | CRYPTO_dbg_free(void *addr, int before_p) | 170 | CRYPTO_dbg_free(void *addr, int before_p) |
171 | { | 171 | { |
172 | fprintf(stderr, "this is a bad idea"); | 172 | /* CRYPTO_dbg_free is no longer permitted */ |
173 | abort(); | 173 | abort(); |
174 | } | 174 | } |
175 | 175 | ||
@@ -177,7 +177,7 @@ void | |||
177 | CRYPTO_dbg_realloc(void *addr1, void *addr2, int num, | 177 | CRYPTO_dbg_realloc(void *addr1, void *addr2, int num, |
178 | const char *file, int line, int before_p) | 178 | const char *file, int line, int before_p) |
179 | { | 179 | { |
180 | fprintf(stderr, "this is a bad idea"); | 180 | /* CRYPTO_dbg_realloc is no longer permitted */ |
181 | abort(); | 181 | abort(); |
182 | } | 182 | } |
183 | 183 | ||