-
Notifications
You must be signed in to change notification settings - Fork 806
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
Only enable DTLS if SSL backend is OpenSSL #4239
Conversation
Rather than adding checks multiple times, what if the check is inserted into pjproject/pjmedia/include/pjmedia/config.h Lines 1089 to 1091 in 653ff57
|
Overwriting the setting in config.h may not be obvious for users that has enabled How about adding it at the beginning of file |
Yes, it disables the DLTS silently, but effectively so does the original patch?
Okay too. The point is better avoid such long check & multiple times, for example if in the future DTLS may also use another TLS backend, so the check will get longer and prone to missing update.
Was thinking about compile warning too, but not sure if there is a standard way (or gnu-C89 way :D) for generating it. |
True, but the build error will point to
Makes sense.
I was considering between
|
No description provided.