diff options
| author | tedu <> | 2014-05-23 03:20:11 +0000 |
|---|---|---|
| committer | tedu <> | 2014-05-23 03:20:11 +0000 |
| commit | aa3ab7291e23cf55ea146b7e8999b9a02b0fa53e (patch) | |
| tree | ad01380ef0f2b2de9b4b3d5c76c4e3dcd7fdccdd | |
| parent | 32a620f610252a0a99e45bed4f78a4a5881e1c37 (diff) | |
| download | openbsd-aa3ab7291e23cf55ea146b7e8999b9a02b0fa53e.tar.gz openbsd-aa3ab7291e23cf55ea146b7e8999b9a02b0fa53e.tar.bz2 openbsd-aa3ab7291e23cf55ea146b7e8999b9a02b0fa53e.zip | |
don't deprecate until at least the base src tree is clean.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/crypto.h | 20 | ||||
| -rw-r--r-- | src/lib/libssl/src/crypto/crypto.h | 20 |
2 files changed, 16 insertions, 24 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h index df0701a02d..00d3cc2aae 100644 --- a/src/lib/libcrypto/crypto.h +++ b/src/lib/libcrypto/crypto.h | |||
| @@ -471,24 +471,20 @@ void CRYPTO_get_mem_debug_functions( | |||
| 471 | void (**r)(void *, void *, int, const char *, int, int), | 471 | void (**r)(void *, void *, int, const char *, int, int), |
| 472 | void (**f)(void *, int), void (**so)(long), long (**go)(void)); | 472 | void (**f)(void *, int), void (**so)(long), long (**go)(void)); |
| 473 | 473 | ||
| 474 | void *CRYPTO_malloc_locked(int num, const char *file, int line) | 474 | void *CRYPTO_malloc_locked(int num, const char *file, int line); |
| 475 | __attribute__((deprecated)); | 475 | void CRYPTO_free_locked(void *ptr); |
| 476 | void CRYPTO_free_locked(void *ptr) __attribute__((deprecated)); | 476 | void *CRYPTO_malloc(int num, const char *file, int line); |
| 477 | void *CRYPTO_malloc(int num, const char *file, int line) | 477 | char *CRYPTO_strdup(const char *str, const char *file, int line); |
| 478 | __attribute__((deprecated)); | 478 | void CRYPTO_free(void *ptr); |
| 479 | char *CRYPTO_strdup(const char *str, const char *file, int line) | 479 | void *CRYPTO_realloc(void *addr, int num, const char *file, int line); |
| 480 | __attribute__((deprecated)); | ||
| 481 | void CRYPTO_free(void *ptr) __attribute__((deprecated)); | ||
| 482 | void *CRYPTO_realloc(void *addr, int num, const char *file, int line) | ||
| 483 | __attribute__((deprecated)); | ||
| 484 | void *CRYPTO_realloc_clean(void *addr, int old_num, int num, | 480 | void *CRYPTO_realloc_clean(void *addr, int old_num, int num, |
| 485 | const char *file, int line); | 481 | const char *file, int line); |
| 486 | void *CRYPTO_remalloc(void *addr, int num, const char *file, int line); | 482 | void *CRYPTO_remalloc(void *addr, int num, const char *file, int line); |
| 487 | 483 | ||
| 488 | void OPENSSL_cleanse(void *ptr, size_t len); | 484 | void OPENSSL_cleanse(void *ptr, size_t len); |
| 489 | 485 | ||
| 490 | void CRYPTO_set_mem_debug_options(long bits) __attribute__((deprecated)); | 486 | void CRYPTO_set_mem_debug_options(long bits); |
| 491 | long CRYPTO_get_mem_debug_options(void) __attribute__((deprecated)); | 487 | long CRYPTO_get_mem_debug_options(void); |
| 492 | 488 | ||
| 493 | #define CRYPTO_push_info(info) \ | 489 | #define CRYPTO_push_info(info) \ |
| 494 | CRYPTO_push_info_(info, __FILE__, __LINE__); | 490 | CRYPTO_push_info_(info, __FILE__, __LINE__); |
diff --git a/src/lib/libssl/src/crypto/crypto.h b/src/lib/libssl/src/crypto/crypto.h index df0701a02d..00d3cc2aae 100644 --- a/src/lib/libssl/src/crypto/crypto.h +++ b/src/lib/libssl/src/crypto/crypto.h | |||
| @@ -471,24 +471,20 @@ void CRYPTO_get_mem_debug_functions( | |||
| 471 | void (**r)(void *, void *, int, const char *, int, int), | 471 | void (**r)(void *, void *, int, const char *, int, int), |
| 472 | void (**f)(void *, int), void (**so)(long), long (**go)(void)); | 472 | void (**f)(void *, int), void (**so)(long), long (**go)(void)); |
| 473 | 473 | ||
| 474 | void *CRYPTO_malloc_locked(int num, const char *file, int line) | 474 | void *CRYPTO_malloc_locked(int num, const char *file, int line); |
| 475 | __attribute__((deprecated)); | 475 | void CRYPTO_free_locked(void *ptr); |
| 476 | void CRYPTO_free_locked(void *ptr) __attribute__((deprecated)); | 476 | void *CRYPTO_malloc(int num, const char *file, int line); |
| 477 | void *CRYPTO_malloc(int num, const char *file, int line) | 477 | char *CRYPTO_strdup(const char *str, const char *file, int line); |
| 478 | __attribute__((deprecated)); | 478 | void CRYPTO_free(void *ptr); |
| 479 | char *CRYPTO_strdup(const char *str, const char *file, int line) | 479 | void *CRYPTO_realloc(void *addr, int num, const char *file, int line); |
| 480 | __attribute__((deprecated)); | ||
| 481 | void CRYPTO_free(void *ptr) __attribute__((deprecated)); | ||
| 482 | void *CRYPTO_realloc(void *addr, int num, const char *file, int line) | ||
| 483 | __attribute__((deprecated)); | ||
| 484 | void *CRYPTO_realloc_clean(void *addr, int old_num, int num, | 480 | void *CRYPTO_realloc_clean(void *addr, int old_num, int num, |
| 485 | const char *file, int line); | 481 | const char *file, int line); |
| 486 | void *CRYPTO_remalloc(void *addr, int num, const char *file, int line); | 482 | void *CRYPTO_remalloc(void *addr, int num, const char *file, int line); |
| 487 | 483 | ||
| 488 | void OPENSSL_cleanse(void *ptr, size_t len); | 484 | void OPENSSL_cleanse(void *ptr, size_t len); |
| 489 | 485 | ||
| 490 | void CRYPTO_set_mem_debug_options(long bits) __attribute__((deprecated)); | 486 | void CRYPTO_set_mem_debug_options(long bits); |
| 491 | long CRYPTO_get_mem_debug_options(void) __attribute__((deprecated)); | 487 | long CRYPTO_get_mem_debug_options(void); |
| 492 | 488 | ||
| 493 | #define CRYPTO_push_info(info) \ | 489 | #define CRYPTO_push_info(info) \ |
| 494 | CRYPTO_push_info_(info, __FILE__, __LINE__); | 490 | CRYPTO_push_info_(info, __FILE__, __LINE__); |
