Move the declaration of kSRTPProfiles to ssl/internal.h

(This will cause the compile to warn us if we fail to keep the types in
sync.)

Change-Id: I8c395ca595d895d108c5ba8f4c46ecca620c405e
This commit is contained in:
Adam Langley 2015-07-21 14:54:46 -07:00
parent 3534919c19
commit 879219b2c0
2 changed files with 1 additions and 1 deletions

View File

@ -790,6 +790,7 @@ extern const SSL3_ENC_METHOD TLSv1_enc_data;
extern const SSL3_ENC_METHOD TLSv1_1_enc_data; extern const SSL3_ENC_METHOD TLSv1_1_enc_data;
extern const SSL3_ENC_METHOD TLSv1_2_enc_data; extern const SSL3_ENC_METHOD TLSv1_2_enc_data;
extern const SSL3_ENC_METHOD SSLv3_enc_data; extern const SSL3_ENC_METHOD SSLv3_enc_data;
extern const SRTP_PROTECTION_PROFILE kSRTPProfiles[];
void ssl_clear_cipher_ctx(SSL *s); void ssl_clear_cipher_ctx(SSL *s);
int ssl_clear_bad_session(SSL *s); int ssl_clear_bad_session(SSL *s);

View File

@ -1765,7 +1765,6 @@ static int ext_channel_id_add_serverhello(SSL *ssl, CBB *out) {
* *
* https://tools.ietf.org/html/rfc5764 */ * https://tools.ietf.org/html/rfc5764 */
extern const SRTP_PROTECTION_PROFILE kSRTPProfiles[];
static void ext_srtp_init(SSL *ssl) { static void ext_srtp_init(SSL *ssl) {
ssl->srtp_profile = NULL; ssl->srtp_profile = NULL;