/openssl/test/ssl-tests/ |
H A D | 02-protocol-version.cnf | 5 test-0 = 0-version-negotiation 6 test-1 = 1-version-negotiation 7 test-2 = 2-version-negotiation 8 test-3 = 3-version-negotiation 9 test-4 = 4-version-negotiation 10 test-5 = 5-version-negotiation 11 test-6 = 6-version-negotiation 12 test-7 = 7-version-negotiation 13 test-8 = 8-version-negotiation 14 test-9 = 9-version-negotiation [all …]
|
H A D | 07-dtls-protocol-version.cnf | 5 test-0 = 0-version-negotiation 6 test-1 = 1-version-negotiation 7 test-2 = 2-version-negotiation 8 test-3 = 3-version-negotiation 9 test-4 = 4-version-negotiation 10 test-5 = 5-version-negotiation 11 test-6 = 6-version-negotiation 71 [0-version-negotiation] 98 [1-version-negotiation] 125 [2-version-negotiation] [all …]
|
/openssl/util/perl/OpenSSL/ |
H A D | Ordinals.pm | 426 my $version = shift; 433 return $version; 467 my $version = @items ? $items[0]->version() : $self->{currversion}; 575 version => $self->_adjust_version($items[0]->version()), 826 my $version = $opts{version}; 834 version => $version, 948 my $version = $self->version(); 953 $version, 1009 return cmp_versions($_[0]->version(), $_[1]->version()); 1035 unless $version && $version =~ /^\d+\.\d+\.\d+[a-z]{0,2}$/; [all …]
|
/openssl/ssl/record/methods/ |
H A D | tlsany_meth.c | 46 if (!ossl_assert(rl->version == TLS_ANY_VERSION)) { in tls_validate_record_header() 55 if (rl->version == TLS_ANY_VERSION) { in tls_validate_record_header() 87 } else if (rl->version == TLS1_3_VERSION) { in tls_validate_record_header() 93 } else if (rec->rec_version != rl->version) { in tls_validate_record_header() 94 if ((rl->version & 0xFF00) == (rec->rec_version & 0xFF00)) { in tls_validate_record_header() 109 rl->version = (unsigned short)rec->rec_version; in tls_validate_record_header() 130 if (rl->version != TLS_ANY_VERSION && rl->version != vers) in tls_any_set_protocol_version() 132 rl->version = vers; in tls_any_set_protocol_version() 150 if (rl->version != DTLS_ANY_VERSION && rl->version != vers) in dtls_any_set_protocol_version() 152 rl->version = vers; in dtls_any_set_protocol_version()
|
H A D | ktls_meth.c | 30 switch (s->version) { in ktls_check_supported_cipher() 75 switch (rl->version) { in ktls_int_check_supported_cipher() 153 crypto_info->tls_vminor = (version & 0x000000ff); 175 switch (s->version) { 217 switch (rl->version) { 275 if (version == TLS1_2_VERSION) { 304 crypto_info->gcm128.info.version = version; 321 crypto_info->gcm256.info.version = version; 339 crypto_info->ccm128.info.version = version; 354 crypto_info->chacha20poly1305.info.version = version; [all …]
|
/openssl/util/ |
H A D | fix-deprecation | 71 my $version = undef; 85 $version = $2; 86 $deprecation = "OSSL_DEPRECATEDIN_$version $3;$5"; 93 && (defined $version && $currentguard ne $version 101 if ($currentguard eq '' && defined $version) { 102 $currentguard = $version; 103 print "#${cppspaces}ifndef OPENSSL_NO_DEPRECATED_$version\n";
|
H A D | mkdef.pl | 30 my $version = undef; # the version to use for the library 42 'version=s' => \$version, 254 if ($thisversion && $_->version() ne $thisversion) { 266 $thisversion = $_->version(); 356 print <<"_____" if defined $version; 357 IDENTIFICATION=$version 408 if (defined $version) { 409 $version =~ /^(\d+)\.(\d+)\.(\d+)/; 436 $this_num, ' ', $_->version(), " */\n"; 439 $this_num, ' ', $_->version(), " */\n";
|
/openssl/ssl/statem/ |
H A D | statem_lib.c | 1523 int version = method->version; in ssl_method_error() local 1618 return version_cmp(s, version, s->version) == 0; in ssl_version_supported() 1628 vent->version != 0 && version_cmp(s, version, vent->version) <= 0; in ssl_version_supported() 1664 if (s->version == sctx->method->version) in ssl_check_version_downgrade() 1671 if (sctx->method->version == TLS_method()->version) in ssl_check_version_downgrade() 1673 else if (sctx->method->version == DTLS_method()->version) in ssl_check_version_downgrade() 1682 return s->version == vent->version; in ssl_check_version_downgrade() 1912 s->version = vent->version; in ssl_choose_server_version() 1945 s->version = version; in ssl_choose_client_version() 1965 if (s->version != ssl->method->version) { in ssl_choose_client_version() [all …]
|
/openssl/doc/man3/ |
H A D | X509_get_version.pod | 7 certificate request or CRL version 14 int X509_set_version(X509 *x, long version); 17 int X509_REQ_set_version(X509_REQ *x, long version); 20 int X509_CRL_set_version(X509_CRL *x, long version); 24 X509_get_version() returns the numerical value of the version field of 28 version. So B<X509_VERSION_3> has value 2 and B<X509_VERSION_1> has value 0. 31 B<x> to B<version>. 34 X509_CRL_get_version() and X509_CRL_set_version() get and set the version 40 The version field of certificates, certificate requests and CRLs has a 41 DEFAULT value of B<v1(0)> meaning the field should be omitted for version [all …]
|
H A D | SSL_CTX_set_min_proto_version.pod | 9 and maximum supported protocol version 15 int SSL_CTX_set_min_proto_version(SSL_CTX *ctx, int version); 16 int SSL_CTX_set_max_proto_version(SSL_CTX *ctx, int version); 20 int SSL_set_min_proto_version(SSL *ssl, int version); 21 int SSL_set_max_proto_version(SSL *ssl, int version); 34 Setting the minimum or maximum version to 0, will enable protocol 35 versions down to the lowest version, or up to the highest version 39 automatically use the lowest or highest version supported by the library. 48 functions return the configured version or 0 for auto-configuration of
|
H A D | SSL_SESSION_get_protocol_version.pod | 7 - get and set the session protocol version 14 int SSL_SESSION_set_protocol_version(SSL_SESSION *s, int version); 18 SSL_SESSION_get_protocol_version() returns the protocol version number used 21 SSL_SESSION_set_protocol_version() sets the protocol version associated with the 22 SSL_SESSION object B<s> to the value B<version>. This value should be a version 29 version used for the session; this number matches the constants I<e.g.>
|
/openssl/util/perl/TLSProxy/ |
H A D | Record.pm | 73 my ($content_type, $version, $len) = unpack('Cnn', $packet); 84 print " Version: $tls_version{$version}\n"; 90 $version, 169 $version, 180 version => $version, 203 if($self->version >= VERS_TLS_1_1()) { 245 } elsif ($self->version >= VERS_TLS_1_1()) { 292 $data = pack('Cnn', $self->content_type, $self->version, 357 sub version subroutine 361 $self->{version} = shift; [all …]
|
/openssl/external/perl/Text-Template-1.56/ |
H A D | META.yml | 19 generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' 23 version: '1.4' 28 version: '1.56' 31 version: '1.56' 44 version: '1.56' 46 x_serialization_backend: 'YAML::Tiny version 1.73'
|
/openssl/include/openssl/ |
H A D | opensslv.h.in | 25 * Base version macros 27 * These macros express version number MAJOR.MINOR.PATCH exactly 34 * Additional version information 36 * These are also part of the new version scheme, but aren't part 37 * of the version number itself. 53 * Shared library version 55 * This is strictly to express ABI version, which may or may not 56 * be related to the API version expressed with the macros above. 70 * Macros to get the version in easily digested string form, both the short 76 # define OPENSSL_VERSION_STR "{- $config{version} -}"
|
/openssl/doc/man7/ |
H A D | openssl_user_macros.pod.in | 27 The value is a version number, given in one of the following two forms: 35 C<FF> represents the fix number, as a hexadecimal number. For version 38 Any version number may be given, but these numbers are 44 =item C<0x00908000L> (version 0.9.8) 46 =item C<0x10000000L> (version 1.0.0) 48 =item C<0x10100000L> (version 1.1.0) 63 minor and patch components of the version number. For example: 67 =item 30000 corresponds to version 3.0.0 69 =item 10002 corresponds to version 1.0.2 71 =item 420101 corresponds to version 42.1.1 [all …]
|
/openssl/doc/internal/man7/ |
H A D | VERSION.pod | 5 VERSION - OpenSSL version information 27 The three parts of OpenSSL's 3 numbered version number, MAJOR.MINOR.PATCH. 33 This is the added pre-release tag, which is added to the version separated by 40 the version and possible pre-release tag, separated by a plus sign. For a 50 The shared library version, which is something other than the project version. 83 =item $config{version} 85 The minimal version number, a string composed from B<MAJOR>, B<MINOR> and 91 The fully loaded version number, a string composed from $config{version}, 109 The fully loaded version number ($config{full_version}) will be 120 The fully loaded version number ($config{full_version}) will be [all …]
|
/openssl/dev/release-aux/ |
H A D | README.md | 6 This is the main version and state update logic... you could say 9 release-version-fn.sh to supply necessary functions that are 12 - release-version-fn.sh 16 get_version() gets the version data from appropriate files. 18 set_version() writes the version data to appropriate files. 20 fixup_version() updates the version data, given a first argument
|
/openssl/doc/man1/ |
H A D | openssl-version.pod.in | 6 openssl-version - print OpenSSL version information 10 B<openssl version> 26 This command is used to print out version information about OpenSSL. 42 The current OpenSSL version. 46 The date the current version of OpenSSL was built. 84 The output of C<openssl version -a> would typically be used when sending
|
/openssl/crypto/x509/ |
H A D | x509_set.c | 22 int X509_set_version(X509 *x, long version) in X509_set_version() argument 26 if (version == 0) { in X509_set_version() 27 ASN1_INTEGER_free(x->cert_info.version); in X509_set_version() 28 x->cert_info.version = NULL; in X509_set_version() 31 if (x->cert_info.version == NULL) { in X509_set_version() 32 if ((x->cert_info.version = ASN1_INTEGER_new()) == NULL) in X509_set_version() 35 return ASN1_INTEGER_set(x->cert_info.version, version); in X509_set_version() 113 return ASN1_INTEGER_get(x->cert_info.version); in X509_get_version()
|
H A D | x509cset.c | 19 int X509_CRL_set_version(X509_CRL *x, long version) in X509_CRL_set_version() argument 23 if (x->crl.version == NULL) { in X509_CRL_set_version() 24 if ((x->crl.version = ASN1_INTEGER_new()) == NULL) in X509_CRL_set_version() 27 return ASN1_INTEGER_set(x->crl.version, version); in X509_CRL_set_version() 81 return ASN1_INTEGER_get(crl->crl.version); in X509_CRL_get_version()
|
/openssl/crypto/ct/ |
H A D | ct_sct.c | 32 sct->version = SCT_VERSION_NOT_SET; in SCT_new() 53 int SCT_set_version(SCT *sct, sct_version_t version) in SCT_set_version() argument 55 if (version != SCT_VERSION_V1) { in SCT_set_version() 59 sct->version = version; in SCT_set_version() 82 if (sct->version == SCT_VERSION_V1 && log_id_len != CT_V1_HASHLEN) { in SCT_set0_log_id() 96 if (sct->version == SCT_VERSION_V1 && log_id_len != CT_V1_HASHLEN) { in SCT_set1_log_id() 197 return sct->version; in SCT_get_version() 218 if (sct->version == SCT_VERSION_V1) { in SCT_get_signature_nid() 247 switch (sct->version) { in SCT_is_complete() 301 if (sct->version != SCT_VERSION_V1) { in SCT_validate()
|
/openssl/crypto/asn1/ |
H A D | p8_pkey.c | 30 ASN1_SIMPLE(PKCS8_PRIV_KEY_INFO, version, ASN1_INTEGER), 39 int version, 42 if (version >= 0) { 43 if (!ASN1_INTEGER_set(priv->version, version))
|
/openssl/test/recipes/ |
H A D | 70-test_sslvertol.t | 69 ok((note("Record version received: ".$record->version()), 71 && $record->version() == $previous_version, 87 ok((note("Record version received: ".$record->version()), 89 && $record->version() == $previous_version, 102 (defined $record ? $record->version() : "none")),
|
/openssl/crypto/cms/ |
H A D | cms_local.h | 73 int32_t version; member 89 int32_t version; member 114 int32_t version; member 156 int32_t version; member 169 int32_t version; member 217 int32_t version; member 234 int32_t version; member 250 int32_t version; member 257 int32_t version; member 263 int32_t version; member [all …]
|
/openssl/apps/ |
H A D | version.c | 46 int cflags = 0, version = 0, date = 0, options = 0, platform = 0, dir = 0; in version_main() local 88 dirty = version = 1; in version_main() 94 seed = options = cflags = version = date = platform in version_main() 106 version = 1; in version_main() 108 if (version) in version_main()
|