nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /* Copyright (c) 2014, Google Inc.
2 *
3 * Permission to use, copy, modify, and/or distribute this software for any
4 * purpose with or without fee is hereby granted, provided that the above
5 * copyright notice and this permission notice appear in all copies.
6 *
7 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
10 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
13 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
14  
15 /* This file contains odd functions that are needed, temporarily, on Android
16 * because wpa_supplicant will take a little while to sync with upstream.
17 *
18 * The declarations for these functions are in the main BoringSSL headers but
19 * the only definitions are here, in Android land. */
20  
21 #include <openssl/ssl.h>
22  
23 #include <stdlib.h>
24  
25  
26 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len) {
27 return 0;
28 }
29  
30 int SSL_set_session_ticket_ext_cb(SSL *s, void *cb, void *arg) {
31 return 0;
32 }
33  
34 int SSL_set_session_secret_cb(SSL *s, void *cb, void *arg) {
35 return 0;
36 }
37  
38 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method) {
39 /* This is only called when EAP-FAST is being used, which is not supported. */
40 abort();
41 }