Commit e3b25cc
avoid deprecated ERR_load_crypto_strings API
This function was deprecated in 1.1.0 which setting OpenSSL API compt
to 0x10100000L disables the API. Trying to build with OpenSSL 1.1.1w
fails now with:
ssherr-libcrypto.c:39:2: error:
call to undeclared function 'ERR_load_crypto_strings';
ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
39 | ERR_load_crypto_strings();
| ^
From the OpenSSL CHANGES file:
> However, applications are strongly advised to compile their source files with
> -DOPENSSL_API_COMPAT=0x10100000L, which hides the declarations of all interfaces
> deprecated in 0.9.8, 1.0.0 or the 1.1.0 releases.
Switch to the replacement API which is available in OpenSSL 1.1.1 (the
oldest OpenSSH supports) and all current versions.1 parent 4168c90 commit e3b25cc
File tree
5 files changed
+7
-6
lines changed- regress
- misc/ssh-verify-attestation
- unittests
- sshsig
- test_helper
5 files changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3189 | 3189 | | |
3190 | 3190 | | |
3191 | 3191 | | |
3192 | | - | |
| 3192 | + | |
3193 | 3193 | | |
3194 | 3194 | | |
3195 | 3195 | | |
| |||
3199 | 3199 | | |
3200 | 3200 | | |
3201 | 3201 | | |
3202 | | - | |
| 3202 | + | |
3203 | 3203 | | |
3204 | 3204 | | |
3205 | 3205 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments