mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Add MBEDTLS_ALLOW_PRIVATE_ACCESS to test programs
Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
This commit is contained in:
		
							parent
							
								
									363eb29d4b
								
							
						
					
					
						commit
						6c2e9b6048
					
				@ -1,3 +1,5 @@
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include "mbedtls/ssl.h"
 | 
			
		||||
#include "mbedtls/entropy.h"
 | 
			
		||||
#include "mbedtls/ctr_drbg.h"
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,5 @@
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,5 @@
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,5 @@
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include "mbedtls/pk.h"
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,5 @@
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include "mbedtls/pk.h"
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,5 @@
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include "mbedtls/ssl.h"
 | 
			
		||||
#include "mbedtls/entropy.h"
 | 
			
		||||
#include "mbedtls/ctr_drbg.h"
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,5 @@
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include "mbedtls/x509_crl.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,5 @@
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include "mbedtls/x509_crt.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,5 @@
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include "mbedtls/x509_csr.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -17,6 +17,8 @@
 | 
			
		||||
 *  limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include "ssl_test_lib.h"
 | 
			
		||||
 | 
			
		||||
#if defined(MBEDTLS_SSL_TEST_IMPOSSIBLE)
 | 
			
		||||
 | 
			
		||||
@ -17,6 +17,8 @@
 | 
			
		||||
 *  limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#if !defined(MBEDTLS_CONFIG_FILE)
 | 
			
		||||
#include "mbedtls/config.h"
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
@ -17,6 +17,8 @@
 | 
			
		||||
 *  limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include "ssl_test_lib.h"
 | 
			
		||||
 | 
			
		||||
#if defined(MBEDTLS_SSL_TEST_IMPOSSIBLE)
 | 
			
		||||
 | 
			
		||||
@ -20,6 +20,8 @@
 | 
			
		||||
 *  limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#include "ssl_test_lib.h"
 | 
			
		||||
 | 
			
		||||
#if defined(MBEDTLS_TEST_HOOKS)
 | 
			
		||||
 | 
			
		||||
@ -17,6 +17,8 @@
 | 
			
		||||
 *  limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#if !defined(MBEDTLS_CONFIG_FILE)
 | 
			
		||||
#include "mbedtls/config.h"
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
@ -17,6 +17,8 @@
 | 
			
		||||
 *  limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#if !defined(MBEDTLS_CONFIG_FILE)
 | 
			
		||||
#include "mbedtls/config.h"
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
@ -23,6 +23,8 @@
 | 
			
		||||
 * example of good general usage.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
 | 
			
		||||
 | 
			
		||||
#if !defined(MBEDTLS_CONFIG_FILE)
 | 
			
		||||
#include "mbedtls/config.h"
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user