diff options
author | Rob Stradling <rob@comodo.com> | 2013-09-10 11:06:55 +0100 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2013-09-16 15:07:52 +0100 |
commit | c9a6ddafc5ee927bf75e0d365cbb044b57262108 (patch) | |
tree | 0203690ffa1901ecb7832cc6bac8d15020b639f6 /ssl | |
parent | f4a51970d245a61e991a0c2e196853e81a1a6c53 (diff) |
Tidy up comments.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_lib.c | 4 | ||||
-rw-r--r-- | ssl/ssl3.h | 4 | ||||
-rw-r--r-- | ssl/t1_lib.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index c2428f4822..86a8bc56a7 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -3040,8 +3040,8 @@ void ssl3_clear(SSL *s) #ifndef OPENSSL_NO_TLSEXT #ifndef OPENSSL_NO_EC s->s3->is_probably_safari = 0; -#endif /* OPENSSL_NO_EC */ -#endif /* OPENSSL_NO_TLSEXT */ +#endif /* !OPENSSL_NO_EC */ +#endif /* !OPENSSL_NO_TLSEXT */ rp = s->s3->rbuf.buf; wp = s->s3->wbuf.buf; diff --git a/ssl/ssl3.h b/ssl/ssl3.h index 208b39243e..cb8b2492ec 100644 --- a/ssl/ssl3.h +++ b/ssl/ssl3.h @@ -546,8 +546,8 @@ typedef struct ssl3_state_st * running on OS X 10.6 or newer. We wish to know this because Safari * on 10.8 .. 10.8.3 has broken ECDHE-ECDSA support. */ char is_probably_safari; -#endif /* OPENSSL_NO_EC */ -#endif /* OPENSSL_NO_TLSEXT */ +#endif /* !OPENSSL_NO_EC */ +#endif /* !OPENSSL_NO_TLSEXT */ } SSL3_STATE; #endif diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index f671d1d9c3..f93216d454 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -947,7 +947,7 @@ static void ssl_check_for_safari(SSL *s, const unsigned char *data, const unsign s->s3->is_probably_safari = 1; } -#endif /* OPENSSL_NO_EC */ +#endif /* !OPENSSL_NO_EC */ int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, int n, int *al) { @@ -972,7 +972,7 @@ int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, in #ifndef OPENSSL_NO_EC if (s->options & SSL_OP_SAFARI_ECDHE_ECDSA_BUG) ssl_check_for_safari(s, data, d, n); -#endif /* OPENSSL_NO_EC */ +#endif /* !OPENSSL_NO_EC */ if (data >= (d+n-2)) goto ri_check; |