diff options
author | 2015-09-10 16:35:15 +0000 | |
---|---|---|
committer | 2015-09-10 16:35:15 +0000 | |
commit | 533b5c9cbb8c07bc7227381bfd92bc91e1854e74 (patch) | |
tree | 3037723e994535aa1dc5d8fd41562118e4bd68bc /lib/libssl/src | |
parent | Now that the GPT code tries really hard not to get in the way and (diff) | |
download | wireguard-openbsd-533b5c9cbb8c07bc7227381bfd92bc91e1854e74.tar.xz wireguard-openbsd-533b5c9cbb8c07bc7227381bfd92bc91e1854e74.zip |
Put OPENSSL_cleanse under #ifndef LIBRESSL_INTERNAL.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/crypto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/crypto.h b/lib/libssl/src/crypto/crypto.h index 767c83491b0..612b390f276 100644 --- a/lib/libssl/src/crypto/crypto.h +++ b/lib/libssl/src/crypto/crypto.h @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto.h,v 1.36 2015/09/10 16:07:58 jsing Exp $ */ +/* $OpenBSD: crypto.h,v 1.37 2015/09/10 16:35:15 jsing Exp $ */ /* ==================================================================== * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. * @@ -438,11 +438,14 @@ char *CRYPTO_strdup(const char *str, const char *file, int line); void CRYPTO_free(void *ptr); void *CRYPTO_realloc(void *addr, int num, const char *file, int line); #endif + void *CRYPTO_realloc_clean(void *addr, int old_num, int num, const char *file, int line); void *CRYPTO_remalloc(void *addr, int num, const char *file, int line); +#ifndef LIBRESSL_INTERNAL void OPENSSL_cleanse(void *ptr, size_t len); +#endif void CRYPTO_set_mem_debug_options(long bits); long CRYPTO_get_mem_debug_options(void); |