aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_policy.h')
-rw-r--r--src/lib/tls/tls_policy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/tls_policy.h b/src/lib/tls/tls_policy.h
index 6ddfff749..35d439399 100644
--- a/src/lib/tls/tls_policy.h
+++ b/src/lib/tls/tls_policy.h
@@ -526,9 +526,9 @@ class BOTAN_DLL Text_Policy : public Policy
std::vector<uint16_t> srtp_profiles() const override
{
std::vector<uint16_t> r;
- for(auto&& p : get_list("srtp_profiles", std::vector<std::string>()))
+ for(std::string p : get_list("srtp_profiles", std::vector<std::string>()))
{
- r.push_back(to_u32bit(p));
+ r.push_back(to_uint16(p));
}
return r;
}