summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2020-10-11 02:45:49 +0000
committertb <>2020-10-11 02:45:49 +0000
commit9b98955eec69b5c30cbbad87267595efeb84adfd (patch)
treea1366badf6bf7410d70904a9e6bfd93f5a585721 /src
parent09963b386d8339b5425e43c4cb8e5fd53a761101 (diff)
downloadopenbsd-9b98955eec69b5c30cbbad87267595efeb84adfd.tar.gz
openbsd-9b98955eec69b5c30cbbad87267595efeb84adfd.tar.bz2
openbsd-9b98955eec69b5c30cbbad87267595efeb84adfd.zip
No longer need to cast away const in srtp_find_profile_by_name()
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libssl/tlsext/tlsexttest.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* $OpenBSD: tlsexttest.c,v 1.44 2020/10/11 02:12:55 jsing Exp $ */ 1/* $OpenBSD: tlsexttest.c,v 1.45 2020/10/11 02:45:49 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -2608,7 +2608,7 @@ test_tlsext_srtp_server(void)
2608 goto err; 2608 goto err;
2609 } 2609 }
2610 2610
2611 if (srtp_find_profile_by_name((char *)tlsext_srtp_aes128cmsha80, &prof, 2611 if (srtp_find_profile_by_name(tlsext_srtp_aes128cmsha80, &prof,
2612 strlen(tlsext_srtp_aes128cmsha80))) { 2612 strlen(tlsext_srtp_aes128cmsha80))) {
2613 FAIL("should be able to find the given profile\n"); 2613 FAIL("should be able to find the given profile\n");
2614 goto err; 2614 goto err;