From 834a06c9fb3367c3f4dddb2394cb4b30a1148ccc Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 11 Oct 2020 02:45:49 +0000 Subject: No longer need to cast away const in srtp_find_profile_by_name() --- src/regress/lib/libssl/tlsext/tlsexttest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c index 7572c15955..51b7020c1d 100644 --- a/src/regress/lib/libssl/tlsext/tlsexttest.c +++ b/src/regress/lib/libssl/tlsext/tlsexttest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tlsexttest.c,v 1.44 2020/10/11 02:12:55 jsing Exp $ */ +/* $OpenBSD: tlsexttest.c,v 1.45 2020/10/11 02:45:49 tb Exp $ */ /* * Copyright (c) 2017 Joel Sing * Copyright (c) 2017 Doug Hogan @@ -2608,7 +2608,7 @@ test_tlsext_srtp_server(void) goto err; } - if (srtp_find_profile_by_name((char *)tlsext_srtp_aes128cmsha80, &prof, + if (srtp_find_profile_by_name(tlsext_srtp_aes128cmsha80, &prof, strlen(tlsext_srtp_aes128cmsha80))) { FAIL("should be able to find the given profile\n"); goto err; -- cgit v1.2.3-55-g6feb