diff options
author | 2016-11-04 18:28:57 +0000 | |
---|---|---|
committer | 2016-11-04 18:28:57 +0000 | |
commit | a9f45c63c80b0ab8b60c740ad99abefe7e501cb0 (patch) | |
tree | 8ed9907121f41e90735533ee075f99538296cf76 /lib/libssl/ssl_locl.h | |
parent | Add an explict list of exported symbols with just the functions declared (diff) | |
download | wireguard-openbsd-a9f45c63c80b0ab8b60c740ad99abefe7e501cb0.tar.xz wireguard-openbsd-a9f45c63c80b0ab8b60c740ad99abefe7e501cb0.zip |
Add an explict list of exported symbols with just the functions
declared in the public headers, and use __{BEGIN,END}_HIDDEN_DECLS
in the internal headers to optimize internal functions
ok jsing@
Diffstat (limited to 'lib/libssl/ssl_locl.h')
-rw-r--r-- | lib/libssl/ssl_locl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h index c3107745c93..5a146ce0b4f 100644 --- a/lib/libssl/ssl_locl.h +++ b/lib/libssl/ssl_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_locl.h,v 1.132 2016/11/04 18:00:12 guenther Exp $ */ +/* $OpenBSD: ssl_locl.h,v 1.133 2016/11/04 18:28:58 guenther Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -160,6 +160,8 @@ #include <openssl/ssl.h> #include <openssl/stack.h> +__BEGIN_HIDDEN_DECLS + #define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \ l|=(((unsigned long)(*((c)++)))<< 8), \ l|=(((unsigned long)(*((c)++)))<<16), \ @@ -834,4 +836,6 @@ int ssl3_cbc_digest_record(const EVP_MD_CTX *ctx, unsigned char *md_out, size_t data_plus_mac_plus_padding_size, const unsigned char *mac_secret, unsigned mac_secret_length, char is_sslv3); +__END_HIDDEN_DECLS + #endif |