Rhapsody 5.5 (a.k.a. MacOS X) compiler bug workaround. At the very least
passes 'make test' now:-)
This commit is contained in:
parent
1eab9a1fbb
commit
37b0d5d05d
@ -310,7 +310,13 @@ static int get_server_hello(SSL *s)
|
|||||||
SSL_R_PEER_ERROR);
|
SSL_R_PEER_ERROR);
|
||||||
return(-1);
|
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;
|
s->hit=(*(p++))?1:0;
|
||||||
|
#endif
|
||||||
s->s2->tmp.cert_type= *(p++);
|
s->s2->tmp.cert_type= *(p++);
|
||||||
n2s(p,i);
|
n2s(p,i);
|
||||||
if (i < s->version) s->version=i;
|
if (i < s->version) s->version=i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user