Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-01-01 23:02:11 +0300
committerAdam Langley <agl@google.com>2015-01-15 01:10:08 +0300
commitbc44c089fbd87de0924130453058131ce30cd483 (patch)
tree1db28e816a97676313b86686be9c3f343a17cd5a /include/openssl/stack.h
parent7ce1c0ca757911f5b55100fda99e0cd20566b831 (diff)
Store SRTP_PROTECTION_PROFILES as const.
They're small, but they should be read-only. This slightly changes public API and affects downstream WebRTC code. Hold on landing this until https://webrtc-codereview.appspot.com/34649004/ rolls into Chromium. Change-Id: I93cbae20f69d55411d6b1cb62ed7d9a81c83b701 Reviewed-on: https://boringssl-review.googlesource.com/2720 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/stack.h')
-rw-r--r--include/openssl/stack.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/openssl/stack.h b/include/openssl/stack.h
index 6cde95d9..0eeda7f5 100644
--- a/include/openssl/stack.h
+++ b/include/openssl/stack.h
@@ -145,7 +145,6 @@ STACK_OF(type) {\
* STACK_OF:POLICYINFO
* STACK_OF:POLICYQUALINFO
* STACK_OF:POLICY_MAPPING
- * STACK_OF:SRTP_PROTECTION_PROFILE
* STACK_OF:SSL_COMP
* STACK_OF:STACK_OF_X509_NAME_ENTRY
* STACK_OF:SXNETID
@@ -168,9 +167,10 @@ STACK_OF(type) {\
* STACK_OF:X509_VERIFY_PARAM
* STACK_OF:void
*
- * We declare STACK_OF(SSL_CIPHER) differently; every SSL_CIPHER is const,
- * so the stack should return const pointers to retain type-checking.
+ * Some stacks contain only const structures, so the stack should return const
+ * pointers to retain type-checking.
*
+ * CONST_STACK_OF:SRTP_PROTECTION_PROFILE
* CONST_STACK_OF:SSL_CIPHER */