aboutsummaryrefslogtreecommitdiff
path: root/crypto/stack/safestack.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-03-05 15:17:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-03-05 15:51:03 +0000
commit31c2b6ee7a5bc69b9bfc7eb96f4fa30f3a2681bd (patch)
tree1b46cdd0fc684813553d03ab6ccd97468d9b0904 /crypto/stack/safestack.h
parentd62bc5d30f7d9519aeff9160f98b9ad9aa592c41 (diff)
downloadopenssl-31c2b6ee7a5bc69b9bfc7eb96f4fa30f3a2681bd.zip
openssl-31c2b6ee7a5bc69b9bfc7eb96f4fa30f3a2681bd.tar.gz
openssl-31c2b6ee7a5bc69b9bfc7eb96f4fa30f3a2681bd.tar.bz2
Make STACK_OF opaque.
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/stack/safestack.h')
-rw-r--r--crypto/stack/safestack.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h
index bd0397d..ceb0ba8 100644
--- a/crypto/stack/safestack.h
+++ b/crypto/stack/safestack.h
@@ -88,16 +88,8 @@ extern "C" {
# define STACK_OF(type) struct stack_st_##type
# define PREDECLARE_STACK_OF(type) STACK_OF(type);
-# define DECLARE_STACK_OF(type) \
-STACK_OF(type) \
- { \
- _STACK stack; \
- };
-# define DECLARE_SPECIAL_STACK_OF(type, type2) \
-STACK_OF(type) \
- { \
- _STACK stack; \
- };
+# define DECLARE_STACK_OF(type) STACK_OF(type);
+# define DECLARE_SPECIAL_STACK_OF(type, type2) STACK_OF(type);
/*-
* Strings are special: normally an lhash entry will point to a single