Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: 'DTLSv1_method' is deprecated [-Wdeprecated-declarations] #41

Open
yurivict opened this issue Apr 10, 2020 · 0 comments
Open

Comments

@yurivict
Copy link

/usr/ports/www/librtcdcpp/work/librtcdcpp-49ddb949ed5dd2c8e859097b6723347f52e01645/src/DTLSWrapper.cpp:82:21: warning: 'DTLSv1_method' is deprecated [-Wdeprecated-declarations]
  ctx = SSL_CTX_new(DTLSv1_method());
                    ^
/usr/include/openssl/ssl.h:1895:1: note: 'DTLSv1_method' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
^
/usr/include/openssl/opensslconf.h:147:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:110:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
1 warning generated.

FreeBSD 12.1
clang-9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant