ssl/tsrc/ssl_test/src/ssltest.c
changeset 18 47c74d1534e1
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
equal deleted inserted replaced
0:e4d67989cc36 18:47c74d1534e1
   112  * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
   112  * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
   113  * ECC cipher suite support in OpenSSL originally developed by 
   113  * ECC cipher suite support in OpenSSL originally developed by 
   114  * SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project.
   114  * SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project.
   115  */
   115  */
   116  /*
   116  /*
   117  © Portions copyright (c) 2006 Nokia Corporation.  All rights reserved.
   117  © Portions copyright (c) 2006, 2010 Nokia Corporation.  All rights reserved.
   118  */
   118  */
   119 
   119 
   120 #define _BSD_SOURCE 1		/* Or gethostname won't be declared properly
   120 #define _BSD_SOURCE 1		/* Or gethostname won't be declared properly
   121 				   on Linux and GNU platforms. */
   121 				   on Linux and GNU platforms. */
   122 
   122 
   126 #include <stdio.h>
   126 #include <stdio.h>
   127 #include <stdlib.h>
   127 #include <stdlib.h>
   128 #include <string.h>
   128 #include <string.h>
   129 #include <time.h>
   129 #include <time.h>
   130 #include <dirent.h>
   130 #include <dirent.h>
       
   131 #include <sys/stat.h>
   131 
   132 
   132 #define USE_SOCKETS
   133 #define USE_SOCKETS
   133 #ifndef SYMBIAN
   134 #ifndef SYMBIAN
   134 #include "../e_os.h"
   135 #include "../e_os.h"
   135 #else
   136 #else