Lines Matching +full:openssl +full:- +full:version
1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
8 * This library is free for commercial and non-commercial use as long as
35 * being used are not cryptographic related :-).
52 * The licence and distribution terms for any publically available version or
58 * Copyright (c) 1998-2007 The OpenSSL Project. All rights reserved.
74 * "This product includes software developed by the OpenSSL Project
75 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
77 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
80 * openssl-core@openssl.org.
82 * 5. Products derived from this software may not be called "OpenSSL"
83 * nor may "OpenSSL" appear in their names without prior written
84 * permission of the OpenSSL Project.
88 * "This product includes software developed by the OpenSSL Project
89 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
91 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
94 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
114 * SUN MICROSYSTEMS, INC., and are contributed to the OpenSSL project.
116 * The Contribution is licensed pursuant to the OpenSSL open source
119 * ECC cipher suite support in OpenSSL originally written by
127 * Nokia Corporation and is licensed pursuant to the OpenSSL open source
131 * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites
132 * support (see RFC 4279) to OpenSSL.
135 * the OpenSSL open source license shall be deemed granted or received
149 #include <openssl/ssl.h>
154 #include <openssl/digest.h>
155 #include <openssl/err.h>
156 #include <openssl/md5.h>
157 #include <openssl/mem.h>
158 #include <openssl/nid.h>
191 s3->aead_read_ctx = SSLAEADContext::CreateNullCipher(SSL_is_dtls(ssl)); in tls_new()
192 s3->aead_write_ctx = SSLAEADContext::CreateNullCipher(SSL_is_dtls(ssl)); in tls_new()
193 s3->hs = ssl_handshake_new(ssl); in tls_new()
194 if (!s3->aead_read_ctx || !s3->aead_write_ctx || !s3->hs) { in tls_new()
198 ssl->s3 = s3.release(); in tls_new()
200 // Set the version to the highest supported version. in tls_new()
203 // protocol version, and implement this pre-negotiation quirk in |SSL_version| in tls_new()
205 ssl->version = TLS1_2_VERSION; in tls_new()
210 if (ssl == NULL || ssl->s3 == NULL) { in tls_free()
214 Delete(ssl->s3); in tls_free()
215 ssl->s3 = NULL; in tls_free()