| OLD | NEW |
| 1 ***** BEGIN LICENSE BLOCK ***** | 1 ***** BEGIN LICENSE BLOCK ***** |
| 2 Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 2 Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | 3 |
| 4 The contents of this file are subject to the Mozilla Public License Version | 4 The contents of this file are subject to the Mozilla Public License Version |
| 5 1.1 (the "License"); you may not use this file except in compliance with | 5 1.1 (the "License"); you may not use this file except in compliance with |
| 6 the License. You may obtain a copy of the License at | 6 the License. You may obtain a copy of the License at |
| 7 http://www.mozilla.org/MPL/ | 7 http://www.mozilla.org/MPL/ |
| 8 | 8 |
| 9 Software distributed under the License is distributed on an "AS IS" basis, | 9 Software distributed under the License is distributed on an "AS IS" basis, |
| 10 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | 10 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 --------------------------------------------------------------------------- | 84 --------------------------------------------------------------------------- |
| 85 | 85 |
| 86 SECWouldBlock means that the function cannot make progress because it is | 86 SECWouldBlock means that the function cannot make progress because it is |
| 87 waiting for some event OTHER THAN socket I/O completion (e.g. waiting for | 87 waiting for some event OTHER THAN socket I/O completion (e.g. waiting for |
| 88 user dialog to finish). It is not the same as EWOULDBLOCK. | 88 user dialog to finish). It is not the same as EWOULDBLOCK. |
| 89 | 89 |
| 90 --------------------------------------------------------------------------- | 90 --------------------------------------------------------------------------- |
| 91 | 91 |
| 92 Rank (order) of locks | 92 Rank (order) of locks |
| 93 | 93 |
| 94 [ReadLock ->]\ [firstHandshake ->] [ssl3Handshake ->] recvbuf \ -> "spec" | 94 recvLock ->\ firstHandshake -> recvbuf -> ssl3Handshake -> xmitbuf -> "spec" |
| 95 [WriteLock->]/ xmitbuf / | 95 sendLock ->/ |
| 96 | 96 |
| 97 crypto and hash Data that must be protected while turning plaintext into | 97 crypto and hash Data that must be protected while turning plaintext into |
| 98 ciphertext: | 98 ciphertext: |
| 99 | 99 |
| 100 SSL2: (in ssl2_Send*) | 100 SSL2: (in ssl2_Send*) |
| 101 sec->hash* | 101 sec->hash* |
| 102 sec->hashcx (ptr and data) | 102 sec->hashcx (ptr and data) |
| 103 sec->enc | 103 sec->enc |
| 104 sec->writecx* (ptr and content) | 104 sec->writecx* (ptr and content) |
| 105 sec->sendSecret*(ptr and content) | 105 sec->sendSecret*(ptr and content) |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 | 157 |
| 158 Data variables (not const) protected by the "sslGlobalDataLock". | 158 Data variables (not const) protected by the "sslGlobalDataLock". |
| 159 Note, this really should be a reader/writer lock. | 159 Note, this really should be a reader/writer lock. |
| 160 | 160 |
| 161 allowedByPolicy sslcon.c | 161 allowedByPolicy sslcon.c |
| 162 maybeAllowedByPolicy sslcon.c | 162 maybeAllowedByPolicy sslcon.c |
| 163 chosenPreference sslcon.c | 163 chosenPreference sslcon.c |
| 164 policyWasSet sslcon.c | 164 policyWasSet sslcon.c |
| 165 | 165 |
| 166 cipherSuites[] ssl3con.c | 166 cipherSuites[] ssl3con.c |
| OLD | NEW |