1e1051a39Sopenharmony_ci# Generated with generate_ssl_tests.pl 2e1051a39Sopenharmony_ci 3e1051a39Sopenharmony_cinum_tests = 16 4e1051a39Sopenharmony_ci 5e1051a39Sopenharmony_citest-0 = 0-alpn-simple 6e1051a39Sopenharmony_citest-1 = 1-alpn-server-finds-match 7e1051a39Sopenharmony_citest-2 = 2-alpn-server-honours-server-pref 8e1051a39Sopenharmony_citest-3 = 3-alpn-alert-on-mismatch 9e1051a39Sopenharmony_citest-4 = 4-alpn-no-server-support 10e1051a39Sopenharmony_citest-5 = 5-alpn-no-client-support 11e1051a39Sopenharmony_citest-6 = 6-alpn-with-sni-no-context-switch 12e1051a39Sopenharmony_citest-7 = 7-alpn-with-sni-context-switch 13e1051a39Sopenharmony_citest-8 = 8-alpn-selected-sni-server-supports-alpn 14e1051a39Sopenharmony_citest-9 = 9-alpn-selected-sni-server-does-not-support-alpn 15e1051a39Sopenharmony_citest-10 = 10-alpn-simple-resumption 16e1051a39Sopenharmony_citest-11 = 11-alpn-server-switch-resumption 17e1051a39Sopenharmony_citest-12 = 12-alpn-client-switch-resumption 18e1051a39Sopenharmony_citest-13 = 13-alpn-alert-on-mismatch-resumption 19e1051a39Sopenharmony_citest-14 = 14-alpn-no-server-support-resumption 20e1051a39Sopenharmony_citest-15 = 15-alpn-no-client-support-resumption 21e1051a39Sopenharmony_ci# =========================================================== 22e1051a39Sopenharmony_ci 23e1051a39Sopenharmony_ci[0-alpn-simple] 24e1051a39Sopenharmony_cissl_conf = 0-alpn-simple-ssl 25e1051a39Sopenharmony_ci 26e1051a39Sopenharmony_ci[0-alpn-simple-ssl] 27e1051a39Sopenharmony_ciserver = 0-alpn-simple-server 28e1051a39Sopenharmony_ciclient = 0-alpn-simple-client 29e1051a39Sopenharmony_ci 30e1051a39Sopenharmony_ci[0-alpn-simple-server] 31e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 32e1051a39Sopenharmony_ciCipherString = DEFAULT 33e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 34e1051a39Sopenharmony_ci 35e1051a39Sopenharmony_ci[0-alpn-simple-client] 36e1051a39Sopenharmony_ciCipherString = DEFAULT 37e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 38e1051a39Sopenharmony_ciVerifyMode = Peer 39e1051a39Sopenharmony_ci 40e1051a39Sopenharmony_ci[test-0] 41e1051a39Sopenharmony_ciExpectedALPNProtocol = foo 42e1051a39Sopenharmony_ciserver = 0-alpn-simple-server-extra 43e1051a39Sopenharmony_ciclient = 0-alpn-simple-client-extra 44e1051a39Sopenharmony_ci 45e1051a39Sopenharmony_ci[0-alpn-simple-server-extra] 46e1051a39Sopenharmony_ciALPNProtocols = foo 47e1051a39Sopenharmony_ci 48e1051a39Sopenharmony_ci[0-alpn-simple-client-extra] 49e1051a39Sopenharmony_ciALPNProtocols = foo 50e1051a39Sopenharmony_ci 51e1051a39Sopenharmony_ci 52e1051a39Sopenharmony_ci# =========================================================== 53e1051a39Sopenharmony_ci 54e1051a39Sopenharmony_ci[1-alpn-server-finds-match] 55e1051a39Sopenharmony_cissl_conf = 1-alpn-server-finds-match-ssl 56e1051a39Sopenharmony_ci 57e1051a39Sopenharmony_ci[1-alpn-server-finds-match-ssl] 58e1051a39Sopenharmony_ciserver = 1-alpn-server-finds-match-server 59e1051a39Sopenharmony_ciclient = 1-alpn-server-finds-match-client 60e1051a39Sopenharmony_ci 61e1051a39Sopenharmony_ci[1-alpn-server-finds-match-server] 62e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 63e1051a39Sopenharmony_ciCipherString = DEFAULT 64e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 65e1051a39Sopenharmony_ci 66e1051a39Sopenharmony_ci[1-alpn-server-finds-match-client] 67e1051a39Sopenharmony_ciCipherString = DEFAULT 68e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 69e1051a39Sopenharmony_ciVerifyMode = Peer 70e1051a39Sopenharmony_ci 71e1051a39Sopenharmony_ci[test-1] 72e1051a39Sopenharmony_ciExpectedALPNProtocol = bar 73e1051a39Sopenharmony_ciserver = 1-alpn-server-finds-match-server-extra 74e1051a39Sopenharmony_ciclient = 1-alpn-server-finds-match-client-extra 75e1051a39Sopenharmony_ci 76e1051a39Sopenharmony_ci[1-alpn-server-finds-match-server-extra] 77e1051a39Sopenharmony_ciALPNProtocols = baz,bar 78e1051a39Sopenharmony_ci 79e1051a39Sopenharmony_ci[1-alpn-server-finds-match-client-extra] 80e1051a39Sopenharmony_ciALPNProtocols = foo,bar 81e1051a39Sopenharmony_ci 82e1051a39Sopenharmony_ci 83e1051a39Sopenharmony_ci# =========================================================== 84e1051a39Sopenharmony_ci 85e1051a39Sopenharmony_ci[2-alpn-server-honours-server-pref] 86e1051a39Sopenharmony_cissl_conf = 2-alpn-server-honours-server-pref-ssl 87e1051a39Sopenharmony_ci 88e1051a39Sopenharmony_ci[2-alpn-server-honours-server-pref-ssl] 89e1051a39Sopenharmony_ciserver = 2-alpn-server-honours-server-pref-server 90e1051a39Sopenharmony_ciclient = 2-alpn-server-honours-server-pref-client 91e1051a39Sopenharmony_ci 92e1051a39Sopenharmony_ci[2-alpn-server-honours-server-pref-server] 93e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 94e1051a39Sopenharmony_ciCipherString = DEFAULT 95e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 96e1051a39Sopenharmony_ci 97e1051a39Sopenharmony_ci[2-alpn-server-honours-server-pref-client] 98e1051a39Sopenharmony_ciCipherString = DEFAULT 99e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 100e1051a39Sopenharmony_ciVerifyMode = Peer 101e1051a39Sopenharmony_ci 102e1051a39Sopenharmony_ci[test-2] 103e1051a39Sopenharmony_ciExpectedALPNProtocol = bar 104e1051a39Sopenharmony_ciserver = 2-alpn-server-honours-server-pref-server-extra 105e1051a39Sopenharmony_ciclient = 2-alpn-server-honours-server-pref-client-extra 106e1051a39Sopenharmony_ci 107e1051a39Sopenharmony_ci[2-alpn-server-honours-server-pref-server-extra] 108e1051a39Sopenharmony_ciALPNProtocols = bar,foo 109e1051a39Sopenharmony_ci 110e1051a39Sopenharmony_ci[2-alpn-server-honours-server-pref-client-extra] 111e1051a39Sopenharmony_ciALPNProtocols = foo,bar 112e1051a39Sopenharmony_ci 113e1051a39Sopenharmony_ci 114e1051a39Sopenharmony_ci# =========================================================== 115e1051a39Sopenharmony_ci 116e1051a39Sopenharmony_ci[3-alpn-alert-on-mismatch] 117e1051a39Sopenharmony_cissl_conf = 3-alpn-alert-on-mismatch-ssl 118e1051a39Sopenharmony_ci 119e1051a39Sopenharmony_ci[3-alpn-alert-on-mismatch-ssl] 120e1051a39Sopenharmony_ciserver = 3-alpn-alert-on-mismatch-server 121e1051a39Sopenharmony_ciclient = 3-alpn-alert-on-mismatch-client 122e1051a39Sopenharmony_ci 123e1051a39Sopenharmony_ci[3-alpn-alert-on-mismatch-server] 124e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 125e1051a39Sopenharmony_ciCipherString = DEFAULT 126e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 127e1051a39Sopenharmony_ci 128e1051a39Sopenharmony_ci[3-alpn-alert-on-mismatch-client] 129e1051a39Sopenharmony_ciCipherString = DEFAULT 130e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 131e1051a39Sopenharmony_ciVerifyMode = Peer 132e1051a39Sopenharmony_ci 133e1051a39Sopenharmony_ci[test-3] 134e1051a39Sopenharmony_ciExpectedResult = ServerFail 135e1051a39Sopenharmony_ciExpectedServerAlert = NoApplicationProtocol 136e1051a39Sopenharmony_ciserver = 3-alpn-alert-on-mismatch-server-extra 137e1051a39Sopenharmony_ciclient = 3-alpn-alert-on-mismatch-client-extra 138e1051a39Sopenharmony_ci 139e1051a39Sopenharmony_ci[3-alpn-alert-on-mismatch-server-extra] 140e1051a39Sopenharmony_ciALPNProtocols = baz 141e1051a39Sopenharmony_ci 142e1051a39Sopenharmony_ci[3-alpn-alert-on-mismatch-client-extra] 143e1051a39Sopenharmony_ciALPNProtocols = foo,bar 144e1051a39Sopenharmony_ci 145e1051a39Sopenharmony_ci 146e1051a39Sopenharmony_ci# =========================================================== 147e1051a39Sopenharmony_ci 148e1051a39Sopenharmony_ci[4-alpn-no-server-support] 149e1051a39Sopenharmony_cissl_conf = 4-alpn-no-server-support-ssl 150e1051a39Sopenharmony_ci 151e1051a39Sopenharmony_ci[4-alpn-no-server-support-ssl] 152e1051a39Sopenharmony_ciserver = 4-alpn-no-server-support-server 153e1051a39Sopenharmony_ciclient = 4-alpn-no-server-support-client 154e1051a39Sopenharmony_ci 155e1051a39Sopenharmony_ci[4-alpn-no-server-support-server] 156e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 157e1051a39Sopenharmony_ciCipherString = DEFAULT 158e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 159e1051a39Sopenharmony_ci 160e1051a39Sopenharmony_ci[4-alpn-no-server-support-client] 161e1051a39Sopenharmony_ciCipherString = DEFAULT 162e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 163e1051a39Sopenharmony_ciVerifyMode = Peer 164e1051a39Sopenharmony_ci 165e1051a39Sopenharmony_ci[test-4] 166e1051a39Sopenharmony_ciclient = 4-alpn-no-server-support-client-extra 167e1051a39Sopenharmony_ci 168e1051a39Sopenharmony_ci[4-alpn-no-server-support-client-extra] 169e1051a39Sopenharmony_ciALPNProtocols = foo 170e1051a39Sopenharmony_ci 171e1051a39Sopenharmony_ci 172e1051a39Sopenharmony_ci# =========================================================== 173e1051a39Sopenharmony_ci 174e1051a39Sopenharmony_ci[5-alpn-no-client-support] 175e1051a39Sopenharmony_cissl_conf = 5-alpn-no-client-support-ssl 176e1051a39Sopenharmony_ci 177e1051a39Sopenharmony_ci[5-alpn-no-client-support-ssl] 178e1051a39Sopenharmony_ciserver = 5-alpn-no-client-support-server 179e1051a39Sopenharmony_ciclient = 5-alpn-no-client-support-client 180e1051a39Sopenharmony_ci 181e1051a39Sopenharmony_ci[5-alpn-no-client-support-server] 182e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 183e1051a39Sopenharmony_ciCipherString = DEFAULT 184e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 185e1051a39Sopenharmony_ci 186e1051a39Sopenharmony_ci[5-alpn-no-client-support-client] 187e1051a39Sopenharmony_ciCipherString = DEFAULT 188e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 189e1051a39Sopenharmony_ciVerifyMode = Peer 190e1051a39Sopenharmony_ci 191e1051a39Sopenharmony_ci[test-5] 192e1051a39Sopenharmony_ciserver = 5-alpn-no-client-support-server-extra 193e1051a39Sopenharmony_ci 194e1051a39Sopenharmony_ci[5-alpn-no-client-support-server-extra] 195e1051a39Sopenharmony_ciALPNProtocols = foo 196e1051a39Sopenharmony_ci 197e1051a39Sopenharmony_ci 198e1051a39Sopenharmony_ci# =========================================================== 199e1051a39Sopenharmony_ci 200e1051a39Sopenharmony_ci[6-alpn-with-sni-no-context-switch] 201e1051a39Sopenharmony_cissl_conf = 6-alpn-with-sni-no-context-switch-ssl 202e1051a39Sopenharmony_ci 203e1051a39Sopenharmony_ci[6-alpn-with-sni-no-context-switch-ssl] 204e1051a39Sopenharmony_ciserver = 6-alpn-with-sni-no-context-switch-server 205e1051a39Sopenharmony_ciclient = 6-alpn-with-sni-no-context-switch-client 206e1051a39Sopenharmony_ciserver2 = 6-alpn-with-sni-no-context-switch-server2 207e1051a39Sopenharmony_ci 208e1051a39Sopenharmony_ci[6-alpn-with-sni-no-context-switch-server] 209e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 210e1051a39Sopenharmony_ciCipherString = DEFAULT 211e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 212e1051a39Sopenharmony_ci 213e1051a39Sopenharmony_ci[6-alpn-with-sni-no-context-switch-server2] 214e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 215e1051a39Sopenharmony_ciCipherString = DEFAULT 216e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 217e1051a39Sopenharmony_ci 218e1051a39Sopenharmony_ci[6-alpn-with-sni-no-context-switch-client] 219e1051a39Sopenharmony_ciCipherString = DEFAULT 220e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 221e1051a39Sopenharmony_ciVerifyMode = Peer 222e1051a39Sopenharmony_ci 223e1051a39Sopenharmony_ci[test-6] 224e1051a39Sopenharmony_ciExpectedALPNProtocol = foo 225e1051a39Sopenharmony_ciExpectedServerName = server1 226e1051a39Sopenharmony_ciserver = 6-alpn-with-sni-no-context-switch-server-extra 227e1051a39Sopenharmony_ciserver2 = 6-alpn-with-sni-no-context-switch-server2-extra 228e1051a39Sopenharmony_ciclient = 6-alpn-with-sni-no-context-switch-client-extra 229e1051a39Sopenharmony_ci 230e1051a39Sopenharmony_ci[6-alpn-with-sni-no-context-switch-server-extra] 231e1051a39Sopenharmony_ciALPNProtocols = foo 232e1051a39Sopenharmony_ciServerNameCallback = IgnoreMismatch 233e1051a39Sopenharmony_ci 234e1051a39Sopenharmony_ci[6-alpn-with-sni-no-context-switch-server2-extra] 235e1051a39Sopenharmony_ciALPNProtocols = bar 236e1051a39Sopenharmony_ci 237e1051a39Sopenharmony_ci[6-alpn-with-sni-no-context-switch-client-extra] 238e1051a39Sopenharmony_ciALPNProtocols = foo,bar 239e1051a39Sopenharmony_ciServerName = server1 240e1051a39Sopenharmony_ci 241e1051a39Sopenharmony_ci 242e1051a39Sopenharmony_ci# =========================================================== 243e1051a39Sopenharmony_ci 244e1051a39Sopenharmony_ci[7-alpn-with-sni-context-switch] 245e1051a39Sopenharmony_cissl_conf = 7-alpn-with-sni-context-switch-ssl 246e1051a39Sopenharmony_ci 247e1051a39Sopenharmony_ci[7-alpn-with-sni-context-switch-ssl] 248e1051a39Sopenharmony_ciserver = 7-alpn-with-sni-context-switch-server 249e1051a39Sopenharmony_ciclient = 7-alpn-with-sni-context-switch-client 250e1051a39Sopenharmony_ciserver2 = 7-alpn-with-sni-context-switch-server2 251e1051a39Sopenharmony_ci 252e1051a39Sopenharmony_ci[7-alpn-with-sni-context-switch-server] 253e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 254e1051a39Sopenharmony_ciCipherString = DEFAULT 255e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 256e1051a39Sopenharmony_ci 257e1051a39Sopenharmony_ci[7-alpn-with-sni-context-switch-server2] 258e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 259e1051a39Sopenharmony_ciCipherString = DEFAULT 260e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 261e1051a39Sopenharmony_ci 262e1051a39Sopenharmony_ci[7-alpn-with-sni-context-switch-client] 263e1051a39Sopenharmony_ciCipherString = DEFAULT 264e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 265e1051a39Sopenharmony_ciVerifyMode = Peer 266e1051a39Sopenharmony_ci 267e1051a39Sopenharmony_ci[test-7] 268e1051a39Sopenharmony_ciExpectedALPNProtocol = bar 269e1051a39Sopenharmony_ciExpectedServerName = server2 270e1051a39Sopenharmony_ciserver = 7-alpn-with-sni-context-switch-server-extra 271e1051a39Sopenharmony_ciserver2 = 7-alpn-with-sni-context-switch-server2-extra 272e1051a39Sopenharmony_ciclient = 7-alpn-with-sni-context-switch-client-extra 273e1051a39Sopenharmony_ci 274e1051a39Sopenharmony_ci[7-alpn-with-sni-context-switch-server-extra] 275e1051a39Sopenharmony_ciALPNProtocols = foo 276e1051a39Sopenharmony_ciServerNameCallback = IgnoreMismatch 277e1051a39Sopenharmony_ci 278e1051a39Sopenharmony_ci[7-alpn-with-sni-context-switch-server2-extra] 279e1051a39Sopenharmony_ciALPNProtocols = bar 280e1051a39Sopenharmony_ci 281e1051a39Sopenharmony_ci[7-alpn-with-sni-context-switch-client-extra] 282e1051a39Sopenharmony_ciALPNProtocols = foo,bar 283e1051a39Sopenharmony_ciServerName = server2 284e1051a39Sopenharmony_ci 285e1051a39Sopenharmony_ci 286e1051a39Sopenharmony_ci# =========================================================== 287e1051a39Sopenharmony_ci 288e1051a39Sopenharmony_ci[8-alpn-selected-sni-server-supports-alpn] 289e1051a39Sopenharmony_cissl_conf = 8-alpn-selected-sni-server-supports-alpn-ssl 290e1051a39Sopenharmony_ci 291e1051a39Sopenharmony_ci[8-alpn-selected-sni-server-supports-alpn-ssl] 292e1051a39Sopenharmony_ciserver = 8-alpn-selected-sni-server-supports-alpn-server 293e1051a39Sopenharmony_ciclient = 8-alpn-selected-sni-server-supports-alpn-client 294e1051a39Sopenharmony_ciserver2 = 8-alpn-selected-sni-server-supports-alpn-server2 295e1051a39Sopenharmony_ci 296e1051a39Sopenharmony_ci[8-alpn-selected-sni-server-supports-alpn-server] 297e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 298e1051a39Sopenharmony_ciCipherString = DEFAULT 299e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 300e1051a39Sopenharmony_ci 301e1051a39Sopenharmony_ci[8-alpn-selected-sni-server-supports-alpn-server2] 302e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 303e1051a39Sopenharmony_ciCipherString = DEFAULT 304e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 305e1051a39Sopenharmony_ci 306e1051a39Sopenharmony_ci[8-alpn-selected-sni-server-supports-alpn-client] 307e1051a39Sopenharmony_ciCipherString = DEFAULT 308e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 309e1051a39Sopenharmony_ciVerifyMode = Peer 310e1051a39Sopenharmony_ci 311e1051a39Sopenharmony_ci[test-8] 312e1051a39Sopenharmony_ciExpectedALPNProtocol = bar 313e1051a39Sopenharmony_ciExpectedServerName = server2 314e1051a39Sopenharmony_ciserver = 8-alpn-selected-sni-server-supports-alpn-server-extra 315e1051a39Sopenharmony_ciserver2 = 8-alpn-selected-sni-server-supports-alpn-server2-extra 316e1051a39Sopenharmony_ciclient = 8-alpn-selected-sni-server-supports-alpn-client-extra 317e1051a39Sopenharmony_ci 318e1051a39Sopenharmony_ci[8-alpn-selected-sni-server-supports-alpn-server-extra] 319e1051a39Sopenharmony_ciServerNameCallback = IgnoreMismatch 320e1051a39Sopenharmony_ci 321e1051a39Sopenharmony_ci[8-alpn-selected-sni-server-supports-alpn-server2-extra] 322e1051a39Sopenharmony_ciALPNProtocols = bar 323e1051a39Sopenharmony_ci 324e1051a39Sopenharmony_ci[8-alpn-selected-sni-server-supports-alpn-client-extra] 325e1051a39Sopenharmony_ciALPNProtocols = foo,bar 326e1051a39Sopenharmony_ciServerName = server2 327e1051a39Sopenharmony_ci 328e1051a39Sopenharmony_ci 329e1051a39Sopenharmony_ci# =========================================================== 330e1051a39Sopenharmony_ci 331e1051a39Sopenharmony_ci[9-alpn-selected-sni-server-does-not-support-alpn] 332e1051a39Sopenharmony_cissl_conf = 9-alpn-selected-sni-server-does-not-support-alpn-ssl 333e1051a39Sopenharmony_ci 334e1051a39Sopenharmony_ci[9-alpn-selected-sni-server-does-not-support-alpn-ssl] 335e1051a39Sopenharmony_ciserver = 9-alpn-selected-sni-server-does-not-support-alpn-server 336e1051a39Sopenharmony_ciclient = 9-alpn-selected-sni-server-does-not-support-alpn-client 337e1051a39Sopenharmony_ciserver2 = 9-alpn-selected-sni-server-does-not-support-alpn-server2 338e1051a39Sopenharmony_ci 339e1051a39Sopenharmony_ci[9-alpn-selected-sni-server-does-not-support-alpn-server] 340e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 341e1051a39Sopenharmony_ciCipherString = DEFAULT 342e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 343e1051a39Sopenharmony_ci 344e1051a39Sopenharmony_ci[9-alpn-selected-sni-server-does-not-support-alpn-server2] 345e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 346e1051a39Sopenharmony_ciCipherString = DEFAULT 347e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 348e1051a39Sopenharmony_ci 349e1051a39Sopenharmony_ci[9-alpn-selected-sni-server-does-not-support-alpn-client] 350e1051a39Sopenharmony_ciCipherString = DEFAULT 351e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 352e1051a39Sopenharmony_ciVerifyMode = Peer 353e1051a39Sopenharmony_ci 354e1051a39Sopenharmony_ci[test-9] 355e1051a39Sopenharmony_ciExpectedServerName = server2 356e1051a39Sopenharmony_ciserver = 9-alpn-selected-sni-server-does-not-support-alpn-server-extra 357e1051a39Sopenharmony_ciclient = 9-alpn-selected-sni-server-does-not-support-alpn-client-extra 358e1051a39Sopenharmony_ci 359e1051a39Sopenharmony_ci[9-alpn-selected-sni-server-does-not-support-alpn-server-extra] 360e1051a39Sopenharmony_ciALPNProtocols = bar 361e1051a39Sopenharmony_ciServerNameCallback = IgnoreMismatch 362e1051a39Sopenharmony_ci 363e1051a39Sopenharmony_ci[9-alpn-selected-sni-server-does-not-support-alpn-client-extra] 364e1051a39Sopenharmony_ciALPNProtocols = foo,bar 365e1051a39Sopenharmony_ciServerName = server2 366e1051a39Sopenharmony_ci 367e1051a39Sopenharmony_ci 368e1051a39Sopenharmony_ci# =========================================================== 369e1051a39Sopenharmony_ci 370e1051a39Sopenharmony_ci[10-alpn-simple-resumption] 371e1051a39Sopenharmony_cissl_conf = 10-alpn-simple-resumption-ssl 372e1051a39Sopenharmony_ci 373e1051a39Sopenharmony_ci[10-alpn-simple-resumption-ssl] 374e1051a39Sopenharmony_ciserver = 10-alpn-simple-resumption-server 375e1051a39Sopenharmony_ciclient = 10-alpn-simple-resumption-client 376e1051a39Sopenharmony_ciresume-server = 10-alpn-simple-resumption-server 377e1051a39Sopenharmony_ciresume-client = 10-alpn-simple-resumption-client 378e1051a39Sopenharmony_ci 379e1051a39Sopenharmony_ci[10-alpn-simple-resumption-server] 380e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 381e1051a39Sopenharmony_ciCipherString = DEFAULT 382e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 383e1051a39Sopenharmony_ci 384e1051a39Sopenharmony_ci[10-alpn-simple-resumption-client] 385e1051a39Sopenharmony_ciCipherString = DEFAULT 386e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 387e1051a39Sopenharmony_ciVerifyMode = Peer 388e1051a39Sopenharmony_ci 389e1051a39Sopenharmony_ci[test-10] 390e1051a39Sopenharmony_ciExpectedALPNProtocol = foo 391e1051a39Sopenharmony_ciHandshakeMode = Resume 392e1051a39Sopenharmony_ciResumptionExpected = Yes 393e1051a39Sopenharmony_ciserver = 10-alpn-simple-resumption-server-extra 394e1051a39Sopenharmony_ciresume-server = 10-alpn-simple-resumption-server-extra 395e1051a39Sopenharmony_ciclient = 10-alpn-simple-resumption-client-extra 396e1051a39Sopenharmony_ciresume-client = 10-alpn-simple-resumption-client-extra 397e1051a39Sopenharmony_ci 398e1051a39Sopenharmony_ci[10-alpn-simple-resumption-server-extra] 399e1051a39Sopenharmony_ciALPNProtocols = foo 400e1051a39Sopenharmony_ci 401e1051a39Sopenharmony_ci[10-alpn-simple-resumption-client-extra] 402e1051a39Sopenharmony_ciALPNProtocols = foo 403e1051a39Sopenharmony_ci 404e1051a39Sopenharmony_ci 405e1051a39Sopenharmony_ci# =========================================================== 406e1051a39Sopenharmony_ci 407e1051a39Sopenharmony_ci[11-alpn-server-switch-resumption] 408e1051a39Sopenharmony_cissl_conf = 11-alpn-server-switch-resumption-ssl 409e1051a39Sopenharmony_ci 410e1051a39Sopenharmony_ci[11-alpn-server-switch-resumption-ssl] 411e1051a39Sopenharmony_ciserver = 11-alpn-server-switch-resumption-server 412e1051a39Sopenharmony_ciclient = 11-alpn-server-switch-resumption-client 413e1051a39Sopenharmony_ciresume-server = 11-alpn-server-switch-resumption-resume-server 414e1051a39Sopenharmony_ciresume-client = 11-alpn-server-switch-resumption-client 415e1051a39Sopenharmony_ci 416e1051a39Sopenharmony_ci[11-alpn-server-switch-resumption-server] 417e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 418e1051a39Sopenharmony_ciCipherString = DEFAULT 419e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 420e1051a39Sopenharmony_ci 421e1051a39Sopenharmony_ci[11-alpn-server-switch-resumption-resume-server] 422e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 423e1051a39Sopenharmony_ciCipherString = DEFAULT 424e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 425e1051a39Sopenharmony_ci 426e1051a39Sopenharmony_ci[11-alpn-server-switch-resumption-client] 427e1051a39Sopenharmony_ciCipherString = DEFAULT 428e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 429e1051a39Sopenharmony_ciVerifyMode = Peer 430e1051a39Sopenharmony_ci 431e1051a39Sopenharmony_ci[test-11] 432e1051a39Sopenharmony_ciExpectedALPNProtocol = baz 433e1051a39Sopenharmony_ciHandshakeMode = Resume 434e1051a39Sopenharmony_ciResumptionExpected = Yes 435e1051a39Sopenharmony_ciserver = 11-alpn-server-switch-resumption-server-extra 436e1051a39Sopenharmony_ciresume-server = 11-alpn-server-switch-resumption-resume-server-extra 437e1051a39Sopenharmony_ciclient = 11-alpn-server-switch-resumption-client-extra 438e1051a39Sopenharmony_ciresume-client = 11-alpn-server-switch-resumption-client-extra 439e1051a39Sopenharmony_ci 440e1051a39Sopenharmony_ci[11-alpn-server-switch-resumption-server-extra] 441e1051a39Sopenharmony_ciALPNProtocols = bar,foo 442e1051a39Sopenharmony_ci 443e1051a39Sopenharmony_ci[11-alpn-server-switch-resumption-resume-server-extra] 444e1051a39Sopenharmony_ciALPNProtocols = baz,foo 445e1051a39Sopenharmony_ci 446e1051a39Sopenharmony_ci[11-alpn-server-switch-resumption-client-extra] 447e1051a39Sopenharmony_ciALPNProtocols = foo,bar,baz 448e1051a39Sopenharmony_ci 449e1051a39Sopenharmony_ci 450e1051a39Sopenharmony_ci# =========================================================== 451e1051a39Sopenharmony_ci 452e1051a39Sopenharmony_ci[12-alpn-client-switch-resumption] 453e1051a39Sopenharmony_cissl_conf = 12-alpn-client-switch-resumption-ssl 454e1051a39Sopenharmony_ci 455e1051a39Sopenharmony_ci[12-alpn-client-switch-resumption-ssl] 456e1051a39Sopenharmony_ciserver = 12-alpn-client-switch-resumption-server 457e1051a39Sopenharmony_ciclient = 12-alpn-client-switch-resumption-client 458e1051a39Sopenharmony_ciresume-server = 12-alpn-client-switch-resumption-server 459e1051a39Sopenharmony_ciresume-client = 12-alpn-client-switch-resumption-resume-client 460e1051a39Sopenharmony_ci 461e1051a39Sopenharmony_ci[12-alpn-client-switch-resumption-server] 462e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 463e1051a39Sopenharmony_ciCipherString = DEFAULT 464e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 465e1051a39Sopenharmony_ci 466e1051a39Sopenharmony_ci[12-alpn-client-switch-resumption-client] 467e1051a39Sopenharmony_ciCipherString = DEFAULT 468e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 469e1051a39Sopenharmony_ciVerifyMode = Peer 470e1051a39Sopenharmony_ci 471e1051a39Sopenharmony_ci[12-alpn-client-switch-resumption-resume-client] 472e1051a39Sopenharmony_ciCipherString = DEFAULT 473e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 474e1051a39Sopenharmony_ciVerifyMode = Peer 475e1051a39Sopenharmony_ci 476e1051a39Sopenharmony_ci[test-12] 477e1051a39Sopenharmony_ciExpectedALPNProtocol = bar 478e1051a39Sopenharmony_ciHandshakeMode = Resume 479e1051a39Sopenharmony_ciResumptionExpected = Yes 480e1051a39Sopenharmony_ciserver = 12-alpn-client-switch-resumption-server-extra 481e1051a39Sopenharmony_ciresume-server = 12-alpn-client-switch-resumption-server-extra 482e1051a39Sopenharmony_ciclient = 12-alpn-client-switch-resumption-client-extra 483e1051a39Sopenharmony_ciresume-client = 12-alpn-client-switch-resumption-resume-client-extra 484e1051a39Sopenharmony_ci 485e1051a39Sopenharmony_ci[12-alpn-client-switch-resumption-server-extra] 486e1051a39Sopenharmony_ciALPNProtocols = foo,bar,baz 487e1051a39Sopenharmony_ci 488e1051a39Sopenharmony_ci[12-alpn-client-switch-resumption-client-extra] 489e1051a39Sopenharmony_ciALPNProtocols = foo,baz 490e1051a39Sopenharmony_ci 491e1051a39Sopenharmony_ci[12-alpn-client-switch-resumption-resume-client-extra] 492e1051a39Sopenharmony_ciALPNProtocols = bar,baz 493e1051a39Sopenharmony_ci 494e1051a39Sopenharmony_ci 495e1051a39Sopenharmony_ci# =========================================================== 496e1051a39Sopenharmony_ci 497e1051a39Sopenharmony_ci[13-alpn-alert-on-mismatch-resumption] 498e1051a39Sopenharmony_cissl_conf = 13-alpn-alert-on-mismatch-resumption-ssl 499e1051a39Sopenharmony_ci 500e1051a39Sopenharmony_ci[13-alpn-alert-on-mismatch-resumption-ssl] 501e1051a39Sopenharmony_ciserver = 13-alpn-alert-on-mismatch-resumption-server 502e1051a39Sopenharmony_ciclient = 13-alpn-alert-on-mismatch-resumption-client 503e1051a39Sopenharmony_ciresume-server = 13-alpn-alert-on-mismatch-resumption-resume-server 504e1051a39Sopenharmony_ciresume-client = 13-alpn-alert-on-mismatch-resumption-client 505e1051a39Sopenharmony_ci 506e1051a39Sopenharmony_ci[13-alpn-alert-on-mismatch-resumption-server] 507e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 508e1051a39Sopenharmony_ciCipherString = DEFAULT 509e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 510e1051a39Sopenharmony_ci 511e1051a39Sopenharmony_ci[13-alpn-alert-on-mismatch-resumption-resume-server] 512e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 513e1051a39Sopenharmony_ciCipherString = DEFAULT 514e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 515e1051a39Sopenharmony_ci 516e1051a39Sopenharmony_ci[13-alpn-alert-on-mismatch-resumption-client] 517e1051a39Sopenharmony_ciCipherString = DEFAULT 518e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 519e1051a39Sopenharmony_ciVerifyMode = Peer 520e1051a39Sopenharmony_ci 521e1051a39Sopenharmony_ci[test-13] 522e1051a39Sopenharmony_ciExpectedResult = ServerFail 523e1051a39Sopenharmony_ciExpectedServerAlert = NoApplicationProtocol 524e1051a39Sopenharmony_ciHandshakeMode = Resume 525e1051a39Sopenharmony_ciserver = 13-alpn-alert-on-mismatch-resumption-server-extra 526e1051a39Sopenharmony_ciresume-server = 13-alpn-alert-on-mismatch-resumption-resume-server-extra 527e1051a39Sopenharmony_ciclient = 13-alpn-alert-on-mismatch-resumption-client-extra 528e1051a39Sopenharmony_ciresume-client = 13-alpn-alert-on-mismatch-resumption-client-extra 529e1051a39Sopenharmony_ci 530e1051a39Sopenharmony_ci[13-alpn-alert-on-mismatch-resumption-server-extra] 531e1051a39Sopenharmony_ciALPNProtocols = bar 532e1051a39Sopenharmony_ci 533e1051a39Sopenharmony_ci[13-alpn-alert-on-mismatch-resumption-resume-server-extra] 534e1051a39Sopenharmony_ciALPNProtocols = baz 535e1051a39Sopenharmony_ci 536e1051a39Sopenharmony_ci[13-alpn-alert-on-mismatch-resumption-client-extra] 537e1051a39Sopenharmony_ciALPNProtocols = foo,bar 538e1051a39Sopenharmony_ci 539e1051a39Sopenharmony_ci 540e1051a39Sopenharmony_ci# =========================================================== 541e1051a39Sopenharmony_ci 542e1051a39Sopenharmony_ci[14-alpn-no-server-support-resumption] 543e1051a39Sopenharmony_cissl_conf = 14-alpn-no-server-support-resumption-ssl 544e1051a39Sopenharmony_ci 545e1051a39Sopenharmony_ci[14-alpn-no-server-support-resumption-ssl] 546e1051a39Sopenharmony_ciserver = 14-alpn-no-server-support-resumption-server 547e1051a39Sopenharmony_ciclient = 14-alpn-no-server-support-resumption-client 548e1051a39Sopenharmony_ciresume-server = 14-alpn-no-server-support-resumption-resume-server 549e1051a39Sopenharmony_ciresume-client = 14-alpn-no-server-support-resumption-client 550e1051a39Sopenharmony_ci 551e1051a39Sopenharmony_ci[14-alpn-no-server-support-resumption-server] 552e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 553e1051a39Sopenharmony_ciCipherString = DEFAULT 554e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 555e1051a39Sopenharmony_ci 556e1051a39Sopenharmony_ci[14-alpn-no-server-support-resumption-resume-server] 557e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 558e1051a39Sopenharmony_ciCipherString = DEFAULT 559e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 560e1051a39Sopenharmony_ci 561e1051a39Sopenharmony_ci[14-alpn-no-server-support-resumption-client] 562e1051a39Sopenharmony_ciCipherString = DEFAULT 563e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 564e1051a39Sopenharmony_ciVerifyMode = Peer 565e1051a39Sopenharmony_ci 566e1051a39Sopenharmony_ci[test-14] 567e1051a39Sopenharmony_ciHandshakeMode = Resume 568e1051a39Sopenharmony_ciResumptionExpected = Yes 569e1051a39Sopenharmony_ciserver = 14-alpn-no-server-support-resumption-server-extra 570e1051a39Sopenharmony_ciclient = 14-alpn-no-server-support-resumption-client-extra 571e1051a39Sopenharmony_ciresume-client = 14-alpn-no-server-support-resumption-client-extra 572e1051a39Sopenharmony_ci 573e1051a39Sopenharmony_ci[14-alpn-no-server-support-resumption-server-extra] 574e1051a39Sopenharmony_ciALPNProtocols = foo 575e1051a39Sopenharmony_ci 576e1051a39Sopenharmony_ci[14-alpn-no-server-support-resumption-client-extra] 577e1051a39Sopenharmony_ciALPNProtocols = foo 578e1051a39Sopenharmony_ci 579e1051a39Sopenharmony_ci 580e1051a39Sopenharmony_ci# =========================================================== 581e1051a39Sopenharmony_ci 582e1051a39Sopenharmony_ci[15-alpn-no-client-support-resumption] 583e1051a39Sopenharmony_cissl_conf = 15-alpn-no-client-support-resumption-ssl 584e1051a39Sopenharmony_ci 585e1051a39Sopenharmony_ci[15-alpn-no-client-support-resumption-ssl] 586e1051a39Sopenharmony_ciserver = 15-alpn-no-client-support-resumption-server 587e1051a39Sopenharmony_ciclient = 15-alpn-no-client-support-resumption-client 588e1051a39Sopenharmony_ciresume-server = 15-alpn-no-client-support-resumption-server 589e1051a39Sopenharmony_ciresume-client = 15-alpn-no-client-support-resumption-resume-client 590e1051a39Sopenharmony_ci 591e1051a39Sopenharmony_ci[15-alpn-no-client-support-resumption-server] 592e1051a39Sopenharmony_ciCertificate = ${ENV::TEST_CERTS_DIR}/servercert.pem 593e1051a39Sopenharmony_ciCipherString = DEFAULT 594e1051a39Sopenharmony_ciPrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem 595e1051a39Sopenharmony_ci 596e1051a39Sopenharmony_ci[15-alpn-no-client-support-resumption-client] 597e1051a39Sopenharmony_ciCipherString = DEFAULT 598e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 599e1051a39Sopenharmony_ciVerifyMode = Peer 600e1051a39Sopenharmony_ci 601e1051a39Sopenharmony_ci[15-alpn-no-client-support-resumption-resume-client] 602e1051a39Sopenharmony_ciCipherString = DEFAULT 603e1051a39Sopenharmony_ciVerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem 604e1051a39Sopenharmony_ciVerifyMode = Peer 605e1051a39Sopenharmony_ci 606e1051a39Sopenharmony_ci[test-15] 607e1051a39Sopenharmony_ciHandshakeMode = Resume 608e1051a39Sopenharmony_ciResumptionExpected = Yes 609e1051a39Sopenharmony_ciserver = 15-alpn-no-client-support-resumption-server-extra 610e1051a39Sopenharmony_ciresume-server = 15-alpn-no-client-support-resumption-server-extra 611e1051a39Sopenharmony_ciclient = 15-alpn-no-client-support-resumption-client-extra 612e1051a39Sopenharmony_ci 613e1051a39Sopenharmony_ci[15-alpn-no-client-support-resumption-server-extra] 614e1051a39Sopenharmony_ciALPNProtocols = foo 615e1051a39Sopenharmony_ci 616e1051a39Sopenharmony_ci[15-alpn-no-client-support-resumption-client-extra] 617e1051a39Sopenharmony_ciALPNProtocols = foo 618e1051a39Sopenharmony_ci 619e1051a39Sopenharmony_ci 620