593047fd80
Nothing ever uses those structs. This to avoid having any structs in the public header which use struct timeval. In doing so, move the protocol version constants up to ssl.h so dtls1.h may be empty. This also removes TLS1_get_version and TLS1_get_client_version as they're unused and depend on TLS1_VERSION_MAJOR. This still lets tls1.h be included independently from ssl.h (though I don't think anyone ever includes it...). Change-Id: Ieac8b90cf94f7f1e742a88bb75c0ee0aa4b1414c Reviewed-on: https://boringssl-review.googlesource.com/4681 Reviewed-by: Adam Langley <agl@google.com>
17 lines
873 B
C
17 lines
873 B
C
/* Copyright (c) 2015, Google Inc.
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
|
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
|
|
|
|
/* This header is provided in order to make compiling against code that expects
|
|
OpenSSL easier. */
|