| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Accessor functions for SSLSocket private members. | 2 * Accessor functions for SSLSocket private members. |
| 3 * | 3 * |
| 4 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
| 5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 7 /* $Id: sslreveal.c,v 1.9 2012/04/25 14:50:12 gerv%gerv.net Exp $ */ | 7 /* $Id$ */ |
| 8 | 8 |
| 9 #include "cert.h" | 9 #include "cert.h" |
| 10 #include "ssl.h" | 10 #include "ssl.h" |
| 11 #include "certt.h" | 11 #include "certt.h" |
| 12 #include "sslimpl.h" | 12 #include "sslimpl.h" |
| 13 | 13 |
| 14 /* given PRFileDesc, returns a copy of certificate associated with the socket | 14 /* given PRFileDesc, returns a copy of certificate associated with the socket |
| 15 * the caller should delete the cert when done with SSL_DestroyCertificate | 15 * the caller should delete the cert when done with SSL_DestroyCertificate |
| 16 */ | 16 */ |
| 17 CERTCertificate * | 17 CERTCertificate * |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 */ | 102 */ |
| 103 ssl_GetSSL3HandshakeLock(sslsocket); | 103 ssl_GetSSL3HandshakeLock(sslsocket); |
| 104 *pYes = ssl3_ExtensionNegotiated(sslsocket, extId); | 104 *pYes = ssl3_ExtensionNegotiated(sslsocket, extId); |
| 105 ssl_ReleaseSSL3HandshakeLock(sslsocket); | 105 ssl_ReleaseSSL3HandshakeLock(sslsocket); |
| 106 rv = SECSuccess; | 106 rv = SECSuccess; |
| 107 } | 107 } |
| 108 } | 108 } |
| 109 | 109 |
| 110 return rv; | 110 return rv; |
| 111 } | 111 } |
| OLD | NEW |