OLD | NEW |
1 /* | 1 /* |
2 * Accessor functions for SSLSocket private members. | 2 * Accessor functions for SSLSocket private members. |
3 * | 3 * |
4 * ***** BEGIN LICENSE BLOCK ***** | 4 * ***** BEGIN LICENSE BLOCK ***** |
5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
6 * | 6 * |
7 * The contents of this file are subject to the Mozilla Public License Version | 7 * The contents of this file are subject to the Mozilla Public License Version |
8 * 1.1 (the "License"); you may not use this file except in compliance with | 8 * 1.1 (the "License"); you may not use this file except in compliance with |
9 * the License. You may obtain a copy of the License at | 9 * the License. You may obtain a copy of the License at |
10 * http://www.mozilla.org/MPL/ | 10 * http://www.mozilla.org/MPL/ |
(...skipping 18 matching lines...) Expand all Loading... |
29 * in which case the provisions of the GPL or the LGPL are applicable instead | 29 * in which case the provisions of the GPL or the LGPL are applicable instead |
30 * of those above. If you wish to allow use of your version of this file only | 30 * of those above. If you wish to allow use of your version of this file only |
31 * under the terms of either the GPL or the LGPL, and not to allow others to | 31 * under the terms of either the GPL or the LGPL, and not to allow others to |
32 * use your version of this file under the terms of the MPL, indicate your | 32 * use your version of this file under the terms of the MPL, indicate your |
33 * decision by deleting the provisions above and replace them with the notice | 33 * decision by deleting the provisions above and replace them with the notice |
34 * and other provisions required by the GPL or the LGPL. If you do not delete | 34 * and other provisions required by the GPL or the LGPL. If you do not delete |
35 * the provisions above, a recipient may use your version of this file under | 35 * the provisions above, a recipient may use your version of this file under |
36 * the terms of any one of the MPL, the GPL or the LGPL. | 36 * the terms of any one of the MPL, the GPL or the LGPL. |
37 * | 37 * |
38 * ***** END LICENSE BLOCK ***** */ | 38 * ***** END LICENSE BLOCK ***** */ |
39 /* $Id: sslreveal.c,v 1.7 2010/02/04 03:21:11 wtc%google.com Exp $ */ | 39 /* $Id: sslreveal.c,v 1.7.2.1 2010/08/03 18:52:13 wtc%google.com Exp $ */ |
40 | 40 |
41 #include "cert.h" | 41 #include "cert.h" |
42 #include "ssl.h" | 42 #include "ssl.h" |
43 #include "certt.h" | 43 #include "certt.h" |
44 #include "sslimpl.h" | 44 #include "sslimpl.h" |
45 | 45 |
46 /* given PRFileDesc, returns a copy of certificate associated with the socket | 46 /* given PRFileDesc, returns a copy of certificate associated with the socket |
47 * the caller should delete the cert when done with SSL_DestroyCertificate | 47 * the caller should delete the cert when done with SSL_DestroyCertificate |
48 */ | 48 */ |
49 CERTCertificate * | 49 CERTCertificate * |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 */ | 141 */ |
142 ssl_GetSSL3HandshakeLock(sslsocket); | 142 ssl_GetSSL3HandshakeLock(sslsocket); |
143 *pYes = ssl3_ExtensionNegotiated(sslsocket, extId); | 143 *pYes = ssl3_ExtensionNegotiated(sslsocket, extId); |
144 ssl_ReleaseSSL3HandshakeLock(sslsocket); | 144 ssl_ReleaseSSL3HandshakeLock(sslsocket); |
145 rv = SECSuccess; | 145 rv = SECSuccess; |
146 } | 146 } |
147 } | 147 } |
148 | 148 |
149 return rv; | 149 return rv; |
150 } | 150 } |
OLD | NEW |