diff options
author | Bodo Möller <bodo@openssl.org> | 1999-05-11 14:26:14 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-05-11 14:26:14 +0000 |
commit | fa2b248f233e47bb7d0de6d57f3a312453c5e602 (patch) | |
tree | e5dc9767b84cad63b33fb55c0abc4b7cb3b0852c | |
parent | 7af62c3cbb52ba648a906bc61bbcd448457e1e29 (diff) |
Clarify comment.
Submitted by:
Reviewed by:
PR:
-rw-r--r-- | ssl/ssl.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -514,10 +514,12 @@ struct ssl_st int in_handshake; int (*handshake_func)(); - /* Imagine that here's a boolean member "init" - * that is switched as soon as handshake_func becomes - * != 0 for the first time (which is why we don't actually - * need it). + /* Imagine that here's a boolean member "init" that is + * switched as soon as SSL_set_{accept/connect}_state + * is called for the first time, so that "state" and + * "handshake_func" are properly initialized. But as + * handshake_func is == 0 until then, we use this + * test instead of an "init" member. */ int server; /* are we the server side? - mostly used by SSL_clear*/ |