From c6cc6e76a6919769977046df6a72a5bd8a171cef Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Tue, 10 May 2016 17:19:00 -0400 Subject: [PATCH] Make kSRTPProfiles static. It's only used in one file. Change-Id: I5d60cbc02799b22317f5f7593faf25eb8eea0a24 Reviewed-on: https://boringssl-review.googlesource.com/7943 Reviewed-by: David Benjamin --- ssl/d1_srtp.c | 2 +- ssl/internal.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ssl/d1_srtp.c b/ssl/d1_srtp.c index d02371ec..324bff77 100644 --- a/ssl/d1_srtp.c +++ b/ssl/d1_srtp.c @@ -124,7 +124,7 @@ #include "internal.h" -const SRTP_PROTECTION_PROFILE kSRTPProfiles[] = { +static const SRTP_PROTECTION_PROFILE kSRTPProfiles[] = { { "SRTP_AES128_CM_SHA1_80", SRTP_AES128_CM_SHA1_80, }, diff --git a/ssl/internal.h b/ssl/internal.h index 2c0bda30..0e470b10 100644 --- a/ssl/internal.h +++ b/ssl/internal.h @@ -962,7 +962,6 @@ typedef struct dtls1_state_st { extern const SSL3_ENC_METHOD TLSv1_enc_data; extern const SSL3_ENC_METHOD SSLv3_enc_data; -extern const SRTP_PROTECTION_PROFILE kSRTPProfiles[]; int ssl_clear_bad_session(SSL *ssl); CERT *ssl_cert_new(void);