| /src/external/bsd/ppp/dist/pppd/ |
| tls.h | 57 int tls_set_version(SSL_CTX *ctx, const char *max_version);
|
| tls.c | 289 int tls_set_version(SSL_CTX *ctx, const char *max_version) 300 if (max_version) { 301 if (strncmp(max_version, "1.0", 3) == 0) { 304 else if (strncmp(max_version, "1.1", 3) == 0) { 307 else if (strncmp(max_version, "1.2", 3) == 0) { 315 else if (strncmp(max_version, "1.3", 3) == 0) {
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| ssl_ctx_test.c | 15 int max_version; member in struct:__anon1767 48 if (!TEST_int_eq(SSL_CTX_set_max_proto_version(ctx, t.max_version), t.max_ok)) 57 if (!TEST_int_eq(SSL_set_max_proto_version(ssl, t.max_version), t.max_ok))
|
| ssl_old_test.c | 918 int min_version = 0, max_version = 0; local 1347 max_version = SSL3_VERSION; 1350 max_version = TLS1_VERSION; 1353 max_version = TLS1_1_VERSION; 1356 max_version = TLS1_2_VERSION; 1361 max_version = TLS1_2_VERSION; 1363 max_version = 0; 1372 max_version = DTLS1_VERSION; 1375 max_version = DTLS1_2_VERSION; 1378 max_version = 0 [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| ssl_ctx_test.c | 15 int max_version; member in struct:__anon2261 48 if (!TEST_int_eq(SSL_CTX_set_max_proto_version(ctx, t.max_version), t.max_ok)) 57 if (!TEST_int_eq(SSL_set_max_proto_version(ssl, t.max_version), t.max_ok))
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/ |
| nouveau_nvkm_subdev_pci_pcie.c | 102 int max_version = nvkm_pcie_get_max_version(pci); local 103 if (max_version > 0 && max_version > ret) 104 ret = nvkm_pcie_set_version(pci, max_version); 106 if (ret < max_version)
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| ciphers.c | 109 int min_version = 0, max_version = 0; local 140 max_version = SSL3_VERSION; 144 max_version = TLS1_VERSION; 148 max_version = TLS1_1_VERSION; 152 max_version = TLS1_2_VERSION; 156 max_version = TLS1_3_VERSION; 197 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0)
|
| s_time.c | 148 int min_version = 0, max_version = 0, ver, buf_len, fd; local 229 max_version = SSL3_VERSION; 233 max_version = TLS1_VERSION; 237 max_version = TLS1_1_VERSION; 241 max_version = TLS1_2_VERSION; 245 max_version = TLS1_3_VERSION; 267 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0)
|
| /src/crypto/external/bsd/openssl/dist/apps/ |
| ciphers.c | 106 int min_version = 0, max_version = 0; local 137 max_version = SSL3_VERSION; 141 max_version = TLS1_VERSION; 145 max_version = TLS1_1_VERSION; 149 max_version = TLS1_2_VERSION; 153 max_version = TLS1_3_VERSION; 195 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0)
|
| s_time.c | 130 int min_version = 0, max_version = 0, ver, buf_len, fd; local 211 max_version = SSL3_VERSION; 215 max_version = TLS1_VERSION; 219 max_version = TLS1_1_VERSION; 223 max_version = TLS1_2_VERSION; 227 max_version = TLS1_3_VERSION; 250 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0)
|
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| ciphers.c | 100 int min_version = 0, max_version = 0; local 131 max_version = SSL3_VERSION; 135 max_version = TLS1_VERSION; 139 max_version = TLS1_1_VERSION; 143 max_version = TLS1_2_VERSION; 147 max_version = TLS1_3_VERSION; 184 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0)
|
| s_time.c | 105 int max_version = 0, ver, buf_len; local 181 max_version = SSL3_VERSION; 197 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0)
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| ssl_ctx_test.c | 16 int max_version; member in struct:__anon755 112 if (!TEST_int_eq(SSL_CTX_set_max_proto_version(ctx, t.max_version), t.max_ok)) 121 if (!TEST_int_eq(SSL_set_max_proto_version(ssl, t.max_version), t.max_ok))
|
| ssl_old_test.c | 928 int min_version = 0, max_version = 0; local 1348 max_version = SSL3_VERSION; 1351 max_version = TLS1_VERSION; 1354 max_version = TLS1_1_VERSION; 1357 max_version = TLS1_2_VERSION; 1362 max_version = TLS1_2_VERSION; 1364 max_version = 0; 1373 max_version = DTLS1_VERSION; 1376 max_version = DTLS1_2_VERSION; 1379 max_version = 0 [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ossl_shim/ |
| test_config.h | 52 int max_version = 0; member in struct:TestConfig
|
| test_config.cc | 117 { "-max-version", &TestConfig::max_version },
|
| /src/crypto/external/apache2/openssl/dist/ssl/statem/ |
| extensions_clnt.c | 139 static int use_ecc(SSL_CONNECTION *s, int min_version, int max_version) 175 if (tls_valid_group(s, ctmp, min_version, max_version, 1, NULL) 189 int reason, min_version, max_version; local 191 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); 196 if (!use_ecc(s, min_version, max_version)) 220 int min_version, max_version, reason; local 222 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); 232 if (!use_ecc(s, min_version, max_version) 233 && (SSL_CONNECTION_IS_DTLS(s) || max_version < TLS1_3_VERSION)) 254 if (tls_valid_group(s, ctmp, min_version, max_version, 0, &okfortls13 574 int currv, min_version, max_version, reason; local [all...] |
| extensions.c | 775 unsigned int thisctx, int max_version) 785 && (SSL_CONNECTION_IS_DTLS(s) || max_version < TLS1_3_VERSION))) 804 int min_version, max_version = 0, reason; local 823 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); 836 if (!custom_ext_add(s, context, pkt, x, chainidx, max_version)) { 848 if (!should_add_extension(s, thisexd->context, context, max_version))
|
| /src/crypto/external/bsd/openssl/dist/ssl/statem/ |
| extensions_clnt.c | 111 static int use_ecc(SSL *s, int min_version, int max_version) 146 if (tls_valid_group(s, ctmp, min_version, max_version, 1, NULL) 160 int reason, min_version, max_version; local 162 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); 167 if (!use_ecc(s, min_version, max_version)) 191 int min_version, max_version, reason; local 193 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); 203 if (!use_ecc(s, min_version, max_version) 204 && (SSL_IS_DTLS(s) || max_version < TLS1_3_VERSION)) 225 if (tls_valid_group(s, ctmp, min_version, max_version, 0, &okfortls13 527 int currv, min_version, max_version, reason; local [all...] |
| extensions.c | 778 int max_version) 788 && (SSL_IS_DTLS(s) || max_version < TLS1_3_VERSION))) 806 int min_version, max_version = 0, reason; local 824 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); 836 if (!custom_ext_add(s, context, pkt, x, chainidx, max_version)) { 847 if (!should_add_extension(s, thisexd->context, context, max_version))
|
| /src/crypto/external/apache2/openssl/dist/ssl/ |
| ssl_conf.c | 101 /* Pointer to SSL or SSL_CTX max_version field or NULL if none */ 102 int *max_version; member in struct:ssl_conf_ctx_st 372 return min_max_proto(cctx, value, cctx->max_version); 1161 cctx->max_version = &sc->max_proto_version; 1171 cctx->max_version = NULL; 1185 cctx->max_version = &ctx->max_proto_version; 1195 cctx->max_version = NULL;
|
| /src/crypto/external/bsd/openssl/dist/ssl/ |
| ssl_conf.c | 96 /* Pointer to SSL or SSL_CTX max_version field or NULL if none */ 97 int *max_version; member in struct:ssl_conf_ctx_st 369 return min_max_proto(cctx, value, cctx->max_version); 1060 cctx->max_version = &ssl->max_proto_version; 1066 cctx->max_version = NULL; 1079 cctx->max_version = &ctx->max_proto_version; 1085 cctx->max_version = NULL;
|
| ssl_lib.c | 457 static int ssl_check_allowed_versions(int min_version, int max_version) 465 if (max_version == DTLS1_BAD_VER 466 || max_version >> 8 == DTLS1_VERSION_MAJOR) 469 if ((minisdtls && !maxisdtls && max_version != 0) 480 if (max_version == 0) 481 max_version = DTLS1_2_VERSION; 483 if (max_version == DTLS1_2_VERSION) 484 max_version = DTLS1_VERSION; 494 && DTLS_VERSION_GE(DTLS1_VERSION, max_version)) 498 && DTLS_VERSION_GE(DTLS1_2_VERSION, max_version)) [all...] |
| /src/crypto/external/bsd/openssl.old/dist/ssl/ |
| ssl_conf.c | 95 /* Pointer to SSL or SSL_CTX max_version field or NULL if none */ 96 int *max_version; member in struct:ssl_conf_ctx_st 371 return min_max_proto(cctx, value, cctx->max_version); 971 cctx->max_version = &ssl->max_proto_version; 977 cctx->max_version = NULL; 990 cctx->max_version = &ctx->max_proto_version; 996 cctx->max_version = NULL;
|
| ssl_lib.c | 463 static int ssl_check_allowed_versions(int min_version, int max_version) 471 if (max_version == DTLS1_BAD_VER 472 || max_version >> 8 == DTLS1_VERSION_MAJOR) 475 if ((minisdtls && !maxisdtls && max_version != 0) 486 if (max_version == 0) 487 max_version = DTLS1_2_VERSION; 489 if (max_version == DTLS1_2_VERSION) 490 max_version = DTLS1_VERSION; 500 && DTLS_VERSION_GE(DTLS1_VERSION, max_version)) 504 && DTLS_VERSION_GE(DTLS1_2_VERSION, max_version)) [all...] |