diff options
author | tb <> | 2020-10-11 02:45:49 +0000 |
---|---|---|
committer | tb <> | 2020-10-11 02:45:49 +0000 |
commit | 834a06c9fb3367c3f4dddb2394cb4b30a1148ccc (patch) | |
tree | a1366badf6bf7410d70904a9e6bfd93f5a585721 | |
parent | 8ba9fa49164f17ec9a4156de8eb45d9515186459 (diff) | |
download | openbsd-834a06c9fb3367c3f4dddb2394cb4b30a1148ccc.tar.gz openbsd-834a06c9fb3367c3f4dddb2394cb4b30a1148ccc.tar.bz2 openbsd-834a06c9fb3367c3f4dddb2394cb4b30a1148ccc.zip |
No longer need to cast away const in srtp_find_profile_by_name()
-rw-r--r-- | src/regress/lib/libssl/tlsext/tlsexttest.c | 4 |
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; |