OLD | NEW |
1 /* | 1 /* |
2 * vtables (and methods that call through them) for the 4 types of | 2 * vtables (and methods that call through them) for the 4 types of |
3 * SSLSockets supported. Only one type is still supported. | 3 * SSLSockets supported. Only one type is still supported. |
4 * Various other functions. | 4 * Various other functions. |
5 * | 5 * |
6 * ***** BEGIN LICENSE BLOCK ***** | 6 * ***** BEGIN LICENSE BLOCK ***** |
7 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 7 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
8 * | 8 * |
9 * The contents of this file are subject to the Mozilla Public License Version | 9 * The contents of this file are subject to the Mozilla Public License Version |
10 * 1.1 (the "License"); you may not use this file except in compliance with | 10 * 1.1 (the "License"); you may not use this file except in compliance with |
(...skipping 22 matching lines...) Expand all Loading... |
33 * in which case the provisions of the GPL or the LGPL are applicable instead | 33 * in which case the provisions of the GPL or the LGPL are applicable instead |
34 * of those above. If you wish to allow use of your version of this file only | 34 * of those above. If you wish to allow use of your version of this file only |
35 * under the terms of either the GPL or the LGPL, and not to allow others to | 35 * under the terms of either the GPL or the LGPL, and not to allow others to |
36 * use your version of this file under the terms of the MPL, indicate your | 36 * use your version of this file under the terms of the MPL, indicate your |
37 * decision by deleting the provisions above and replace them with the notice | 37 * decision by deleting the provisions above and replace them with the notice |
38 * and other provisions required by the GPL or the LGPL. If you do not delete | 38 * and other provisions required by the GPL or the LGPL. If you do not delete |
39 * the provisions above, a recipient may use your version of this file under | 39 * the provisions above, a recipient may use your version of this file under |
40 * the terms of any one of the MPL, the GPL or the LGPL. | 40 * the terms of any one of the MPL, the GPL or the LGPL. |
41 * | 41 * |
42 * ***** END LICENSE BLOCK ***** */ | 42 * ***** END LICENSE BLOCK ***** */ |
43 /* $Id: sslsock.c,v 1.67 2010/04/25 23:37:38 nelson%bolyard.com Exp $ */ | 43 /* $Id: sslsock.c,v 1.67.2.1 2010/07/31 04:33:52 wtc%google.com Exp $ */ |
44 #include "seccomon.h" | 44 #include "seccomon.h" |
45 #include "cert.h" | 45 #include "cert.h" |
46 #include "keyhi.h" | 46 #include "keyhi.h" |
47 #include "ssl.h" | 47 #include "ssl.h" |
48 #include "sslimpl.h" | 48 #include "sslimpl.h" |
49 #include "sslproto.h" | 49 #include "sslproto.h" |
50 #include "nspr.h" | 50 #include "nspr.h" |
51 #include "private/pprio.h" | 51 #include "private/pprio.h" |
52 #include "blapi.h" | 52 #include "blapi.h" |
53 #include "nss.h" | 53 #include "nss.h" |
(...skipping 2480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2534 loser: | 2534 loser: |
2535 ssl_DestroySocketContents(ss); | 2535 ssl_DestroySocketContents(ss); |
2536 ssl_DestroyLocks(ss); | 2536 ssl_DestroyLocks(ss); |
2537 PORT_Free(ss); | 2537 PORT_Free(ss); |
2538 ss = NULL; | 2538 ss = NULL; |
2539 } | 2539 } |
2540 } | 2540 } |
2541 return ss; | 2541 return ss; |
2542 } | 2542 } |
2543 | 2543 |
OLD | NEW |