projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f97b4a7
)
Apparently, isascii() is an X/Open function, so to get it properly
author
Richard Levitte
<levitte@openssl.org>
Sun, 17 Apr 2005 09:15:33 +0000
(09:15 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 17 Apr 2005 09:15:33 +0000
(09:15 +0000)
declared, we need to define _XOPEN_SOURCE before including ctype.h.
Ported from HEAD.
ssl/ssltest.c
patch
|
blob
|
history
diff --git
a/ssl/ssltest.c
b/ssl/ssltest.c
index 04badb9bd86f0e8c1505a7ab530383244fa3e2b1..9e39325d940629053c83095fae52cfff328f580b 100644
(file)
--- a/
ssl/ssltest.c
+++ b/
ssl/ssltest.c
@@
-119,11
+119,14
@@
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include <ctype.h>
#define USE_SOCKETS
#include "e_os.h"
+#define _XOPEN_SOURCE 1 /* Or isascii won't be declared properly on
+ VMS (at least with DECompHP C). */
+#include <ctype.h>
+
#include <openssl/bio.h>
#include <openssl/crypto.h>
#include <openssl/evp.h>