projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eab9a1
)
Rhapsody 5.5 (a.k.a. MacOS X) compiler bug workaround. At the very least
author
Andy Polyakov
<appro@openssl.org>
Tue, 4 Jan 2000 03:33:18 +0000
(
03:33
+0000)
committer
Andy Polyakov
<appro@openssl.org>
Tue, 4 Jan 2000 03:33:18 +0000
(
03:33
+0000)
passes 'make test' now:-)
ssl/s2_clnt.c
patch
|
blob
|
history
diff --git
a/ssl/s2_clnt.c
b/ssl/s2_clnt.c
index 956c0280c99b24c0dde1632fec6d31726d3a1890..d047e89ed6e5dc5b06fa4b6ba12a957101b96814 100644
(file)
--- a/
ssl/s2_clnt.c
+++ b/
ssl/s2_clnt.c
@@
-310,7
+310,13
@@
static int get_server_hello(SSL *s)
SSL_R_PEER_ERROR);
return(-1);
}
+#ifdef __APPLE_CC__
+ /* The Rhapsody 5.5 (a.k.a. MacOS X) compiler bug
+ * workaround. <appro@fy.chalmers.se> */
+ s->hit=(i=*(p++))?1:0;
+#else
s->hit=(*(p++))?1:0;
+#endif
s->s2->tmp.cert_type= *(p++);
n2s(p,i);
if (i < s->version) s->version=i;