A library for setting up Secure Socket Layer (SSL) connections and verifying remote hosts using certificates. Contains only the source files for mbed platform implementation of the library.

Dependents:   HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL

Committer:
Mike Fiore
Date:
Mon Mar 23 16:51:07 2015 -0500
Revision:
6:cf58d49e1a86
Parent:
0:b86d15c6ba29
fix whitespace in sha512.c

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Vanger 0:b86d15c6ba29 1 /* visibility.h
Vanger 0:b86d15c6ba29 2 *
Vanger 0:b86d15c6ba29 3 * Copyright (C) 2006-2014 wolfSSL Inc.
Vanger 0:b86d15c6ba29 4 *
Vanger 0:b86d15c6ba29 5 * This file is part of CyaSSL.
Vanger 0:b86d15c6ba29 6 *
Vanger 0:b86d15c6ba29 7 * CyaSSL is free software; you can redistribute it and/or modify
Vanger 0:b86d15c6ba29 8 * it under the terms of the GNU General Public License as published by
Vanger 0:b86d15c6ba29 9 * the Free Software Foundation; either version 2 of the License, or
Vanger 0:b86d15c6ba29 10 * (at your option) any later version.
Vanger 0:b86d15c6ba29 11 *
Vanger 0:b86d15c6ba29 12 * CyaSSL is distributed in the hope that it will be useful,
Vanger 0:b86d15c6ba29 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Vanger 0:b86d15c6ba29 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Vanger 0:b86d15c6ba29 15 * GNU General Public License for more details.
Vanger 0:b86d15c6ba29 16 *
Vanger 0:b86d15c6ba29 17 * You should have received a copy of the GNU General Public License
Vanger 0:b86d15c6ba29 18 * along with this program; if not, write to the Free Software
Vanger 0:b86d15c6ba29 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Vanger 0:b86d15c6ba29 20 */
Vanger 0:b86d15c6ba29 21
Vanger 0:b86d15c6ba29 22 /* Visibility control macros */
Vanger 0:b86d15c6ba29 23
Vanger 0:b86d15c6ba29 24
Vanger 0:b86d15c6ba29 25 #ifndef CTAO_CRYPT_VISIBILITY_H
Vanger 0:b86d15c6ba29 26 #define CTAO_CRYPT_VISIBILITY_H
Vanger 0:b86d15c6ba29 27
Vanger 0:b86d15c6ba29 28
Vanger 0:b86d15c6ba29 29 /* CYASSL_API is used for the public API symbols.
Vanger 0:b86d15c6ba29 30 It either imports or exports (or does nothing for static builds)
Vanger 0:b86d15c6ba29 31
Vanger 0:b86d15c6ba29 32 CYASSL_LOCAL is used for non-API symbols (private).
Vanger 0:b86d15c6ba29 33 */
Vanger 0:b86d15c6ba29 34
Vanger 0:b86d15c6ba29 35 #if defined(BUILDING_CYASSL)
Vanger 0:b86d15c6ba29 36 #if defined(HAVE_VISIBILITY) && HAVE_VISIBILITY
Vanger 0:b86d15c6ba29 37 #define CYASSL_API __attribute__ ((visibility("default")))
Vanger 0:b86d15c6ba29 38 #define CYASSL_LOCAL __attribute__ ((visibility("hidden")))
Vanger 0:b86d15c6ba29 39 #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
Vanger 0:b86d15c6ba29 40 #define CYASSL_API __global
Vanger 0:b86d15c6ba29 41 #define CYASSL_LOCAL __hidden
Vanger 0:b86d15c6ba29 42 #elif defined(_MSC_VER)
Vanger 0:b86d15c6ba29 43 #ifdef CYASSL_DLL
Vanger 0:b86d15c6ba29 44 #define CYASSL_API extern __declspec(dllexport)
Vanger 0:b86d15c6ba29 45 #else
Vanger 0:b86d15c6ba29 46 #define CYASSL_API
Vanger 0:b86d15c6ba29 47 #endif
Vanger 0:b86d15c6ba29 48 #define CYASSL_LOCAL
Vanger 0:b86d15c6ba29 49 #else
Vanger 0:b86d15c6ba29 50 #define CYASSL_API
Vanger 0:b86d15c6ba29 51 #define CYASSL_LOCAL
Vanger 0:b86d15c6ba29 52 #endif /* HAVE_VISIBILITY */
Vanger 0:b86d15c6ba29 53 #else /* BUILDING_CYASSL */
Vanger 0:b86d15c6ba29 54 #if defined(_MSC_VER)
Vanger 0:b86d15c6ba29 55 #ifdef CYASSL_DLL
Vanger 0:b86d15c6ba29 56 #define CYASSL_API extern __declspec(dllimport)
Vanger 0:b86d15c6ba29 57 #else
Vanger 0:b86d15c6ba29 58 #define CYASSL_API
Vanger 0:b86d15c6ba29 59 #endif
Vanger 0:b86d15c6ba29 60 #define CYASSL_LOCAL
Vanger 0:b86d15c6ba29 61 #else
Vanger 0:b86d15c6ba29 62 #define CYASSL_API
Vanger 0:b86d15c6ba29 63 #define CYASSL_LOCAL
Vanger 0:b86d15c6ba29 64 #endif
Vanger 0:b86d15c6ba29 65 #endif /* BUILDING_CYASSL */
Vanger 0:b86d15c6ba29 66
Vanger 0:b86d15c6ba29 67
Vanger 0:b86d15c6ba29 68 #endif /* CTAO_CRYPT_VISIBILITY_H */
Vanger 0:b86d15c6ba29 69