diff options
author | Darren Tucker <dtucker@dtucker.net> | 2023-05-09 09:12:50 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2023-05-09 09:12:50 +0200 |
commit | 47742c513e4e045ecc985c6483fc5c8b050acda2 (patch) | |
tree | 9df726be87d60453b7da00b37f7a115188485e3b /openbsd-compat | |
parent | Add macos13 PAM test target. (diff) | |
download | openssh-47742c513e4e045ecc985c6483fc5c8b050acda2.tar.xz openssh-47742c513e4e045ecc985c6483fc5c8b050acda2.zip |
Update OpenSSL compat test for 3.x.
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/regress/opensslvertest.c | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/openbsd-compat/regress/opensslvertest.c b/openbsd-compat/regress/opensslvertest.c index d50066609..99c894418 100644 --- a/openbsd-compat/regress/opensslvertest.c +++ b/openbsd-compat/regress/opensslvertest.c @@ -26,15 +26,6 @@ struct version_test { long libver; int result; } version_tests[] = { - /* built with 0.9.8b release headers */ - { 0x0090802fL, 0x0090802fL, 1}, /* exact match */ - { 0x0090802fL, 0x0090804fL, 1}, /* newer library fix version: ok */ - { 0x0090802fL, 0x0090801fL, 1}, /* older library fix version: ok */ - { 0x0090802fL, 0x0090702fL, 0}, /* older library minor version: NO */ - { 0x0090802fL, 0x0090902fL, 0}, /* newer library minor version: NO */ - { 0x0090802fL, 0x0080802fL, 0}, /* older library major version: NO */ - { 0x0090802fL, 0x1000100fL, 0}, /* newer library major version: NO */ - /* built with 1.0.1b release headers */ { 0x1000101fL, 0x1000101fL, 1},/* exact match */ { 0x1000101fL, 0x1000102fL, 1}, /* newer library patch version: ok */ @@ -44,6 +35,26 @@ struct version_test { { 0x1000101fL, 0x1010101fL, 0}, /* newer library minor version: NO */ { 0x1000101fL, 0x0000101fL, 0}, /* older library major version: NO */ { 0x1000101fL, 0x2000101fL, 0}, /* newer library major version: NO */ + + /* built with 1.1.1b release headers */ + { 0x1010101fL, 0x1010101fL, 1},/* exact match */ + { 0x1010101fL, 0x1010102fL, 1}, /* newer library patch version: ok */ + { 0x1010101fL, 0x1010100fL, 1}, /* older library patch version: ok */ + { 0x1010101fL, 0x1010201fL, 1}, /* newer library fix version: ok */ + { 0x1010101fL, 0x1010001fL, 0}, /* older library fix version: NO */ + { 0x1010101fL, 0x1020001fL, 0}, /* newer library minor version: NO */ + { 0x1010101fL, 0x0010101fL, 0}, /* older library major version: NO */ + { 0x1010101fL, 0x2010101fL, 0}, /* newer library major version: NO */ + + /* built with 3.0.1 release headers */ + { 0x3010101fL, 0x3010101fL, 1},/* exact match */ + { 0x3010101fL, 0x3010102fL, 1}, /* newer library patch version: ok */ + { 0x3010101fL, 0x3010100fL, 1}, /* older library patch version: ok */ + { 0x3010101fL, 0x3010201fL, 1}, /* newer library fix version: ok */ + { 0x3010101fL, 0x3010001fL, 1}, /* older library fix version: ok */ + { 0x3010101fL, 0x3020001fL, 1}, /* newer library minor version: ok */ + { 0x3010101fL, 0x1010101fL, 0}, /* older library major version: NO */ + { 0x3010101fL, 0x4010101fL, 0}, /* newer library major version: NO */ }; void |