Commit d09e327
committed
SSL_set1_host() is deprecated in OpenSSL 4.0
fix deprecation warning by replacing SSL_set1_host()
with SSL_set1_dnsname() when building with OpenSSL 4.0
Keep using SSL_set1_host() when building with older
OpenSSL version.1 parent da65729 commit d09e327
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2981 | 2981 | | |
2982 | 2982 | | |
2983 | 2983 | | |
| 2984 | + | |
| 2985 | + | |
| 2986 | + | |
| 2987 | + | |
| 2988 | + | |
| 2989 | + | |
2984 | 2990 | | |
2985 | 2991 | | |
2986 | 2992 | | |
2987 | 2993 | | |
| 2994 | + | |
2988 | 2995 | | |
2989 | 2996 | | |
2990 | 2997 | | |
| |||
0 commit comments