projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add SHA2 algorithms to SSL_library_init(). Although these aren't used
[openssl.git]
/
ssl
/
ssltest.c
diff --git
a/ssl/ssltest.c
b/ssl/ssltest.c
index 79735126fc90723de4a2df6875f4ebd09c864c2a..ed01651e62b6af0edf78333a3caf4b88db2729ec 100644
(file)
--- a/
ssl/ssltest.c
+++ b/
ssl/ssltest.c
@@
-143,9
+143,6
@@
#define _BSD_SOURCE 1 /* Or gethostname won't be declared properly
on Linux and GNU platforms. */
#define _BSD_SOURCE 1 /* Or gethostname won't be declared properly
on Linux and GNU platforms. */
-#define _XOPEN_SOURCE 500 /* Or isascii won't be declared properly on
- VMS (at least with DECompHP C). */
-
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <assert.h>
#include <errno.h>
#include <limits.h>
@@
-157,6
+154,11
@@
#define USE_SOCKETS
#include "e_os.h"
#define USE_SOCKETS
#include "e_os.h"
+#ifdef OPENSSL_SYS_VMS
+#define _XOPEN_SOURCE 500 /* Or isascii won't be declared properly on
+ VMS (at least with DECompHP C). */
+#endif
+
#include <ctype.h>
#include <openssl/bio.h>
#include <ctype.h>
#include <openssl/bio.h>
@@
-482,8
+484,8
@@
int main(int argc, char *argv[])
int comp = 0;
#ifndef OPENSSL_NO_COMP
COMP_METHOD *cm = NULL;
int comp = 0;
#ifndef OPENSSL_NO_COMP
COMP_METHOD *cm = NULL;
-#endif
STACK_OF(SSL_COMP) *ssl_comp_methods = NULL;
STACK_OF(SSL_COMP) *ssl_comp_methods = NULL;
+#endif
int test_cipherlist = 0;
verbose = 0;
int test_cipherlist = 0;
verbose = 0;