wtc%netscape.com ede99124e6 Bug 199082: checked in Nelson's patch, which
a) changes selfserv to test the return value from NSS_Shutdown.
b) changes SECMOD_Shutdown to set the error code SEC_ERROR_BUSY before
   returning SECFailure.
c) Adds a new function SSL_ShutdownServerSessionIDCache to ssl.h.
d) Changes selfserv to call SSL_ShutdownServerSessionIDCache before calling
NSS_Shutdown.
Modified Files:
	cmd/selfserv/selfserv.c lib/pk11wrap/pk11util.c
	lib/ssl/ssl.def lib/ssl/ssl.h lib/ssl/ssl3con.c
	lib/ssl/sslimpl.h lib/ssl/sslsnce.c


git-svn-id: svn://10.0.0.236/trunk@140305 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 00:31:13 +00:00

124 lines
3.8 KiB
Modula-2

;+#
;+# The contents of this file are subject to the Mozilla Public
;+# License Version 1.1 (the "License"); you may not use this file
;+# except in compliance with the License. You may obtain a copy of
;+# the License at http://www.mozilla.org/MPL/
;+#
;+# Software distributed under the License is distributed on an "AS
;+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
;+# implied. See the License for the specific language governing
;+# rights and limitations under the License.
;+#
;+# The Original Code is the Netscape security libraries.
;+#
;+# The Initial Developer of the Original Code is Netscape
;+# Communications Corporation. Portions created by Netscape are
;+# Copyright (C) 2000 Netscape Communications Corporation. All
;+# Rights Reserved.
;+#
;+# Contributor(s):
;+#
;+# Alternatively, the contents of this file may be used under the
;+# terms of the GNU General Public License Version 2 or later (the
;+# "GPL"), in which case the provisions of the GPL are applicable
;+# instead of those above. If you wish to allow use of your
;+# version of this file only under the terms of the GPL and not to
;+# allow others to use your version of this file under the MPL,
;+# indicate your decision by deleting the provisions above and
;+# replace them with the notice and other provisions required by
;+# the GPL. If you do not delete the provisions above, a recipient
;+# may use your version of this file under either the MPL or the
;+# GPL.
;+#
;+# OK, this file is meant to support SUN, LINUX, AIX and WINDOWS
;+# 1. For all unix platforms, the string ";-" means "remove this line"
;+# 2. For all unix platforms, the string " DATA " will be removed from any
;+# line on which it occurs.
;+# 3. Lines containing ";+" will have ";+" removed on SUN and LINUX.
;+# On AIX, lines containing ";+" will be removed.
;+# 4. For all unix platforms, the string ";;" will thave the ";;" removed.
;+# 5. For all unix platforms, after the above processing has taken place,
;+# all characters after the first ";" on the line will be removed.
;+# And for AIX, the first ";" will also be removed.
;+# This file is passed directly to windows. Since ';' is a comment, all UNIX
;+# directives are hidden behind ";", ";+", and ";-"
;+
;+NSS_3.2 { # NSS 3.2 release
;+ global:
LIBRARY ssl3 ;-
EXPORTS ;-
SSL_ImplementedCiphers DATA ;
SSL_NumImplementedCiphers DATA ;
NSS_CmpCertChainWCANames;
NSS_FindCertKEAType;
NSS_GetClientAuthData;
NSS_SetDomesticPolicy;
NSS_SetExportPolicy;
NSS_SetFrancePolicy;
SSL_AuthCertificate;
SSL_AuthCertificateHook;
SSL_BadCertHook;
SSL_CertDBHandleSet;
SSL_CipherPolicyGet;
SSL_CipherPolicySet;
SSL_CipherPrefGet;
SSL_CipherPrefGetDefault;
SSL_CipherPrefSet;
SSL_CipherPrefSetDefault;
SSL_ClearSessionCache;
SSL_ConfigMPServerSIDCache;
SSL_ConfigSecureServer;
SSL_ConfigServerSessionIDCache;
SSL_DataPending;
SSL_ForceHandshake;
SSL_GetClientAuthDataHook;
SSL_GetSessionID;
SSL_GetStatistics;
SSL_HandshakeCallback;
SSL_ImportFD;
SSL_InheritMPServerSIDCache;
SSL_InvalidateSession;
SSL_OptionGet;
SSL_OptionGetDefault;
SSL_OptionSet;
SSL_OptionSetDefault;
SSL_PeerCertificate;
SSL_PreencryptedFileToStream;
SSL_PreencryptedStreamToFile;
SSL_ReHandshake;
SSL_ResetHandshake;
SSL_RestartHandshakeAfterCertReq;
SSL_RestartHandshakeAfterServerCert;
SSL_RevealCert;
SSL_RevealPinArg;
SSL_RevealURL;
SSL_SecurityStatus;
SSL_SetPKCS11PinArg;
SSL_SetSockPeerID;
SSL_SetURL;
;+ local:
;+*;
;+};
;+NSS_3.2.1 { # NSS 3.2.1 release
;+ global:
NSSSSL_VersionCheck;
;+ local:
;+*;
;+};
;+NSS_3.4 { # NSS 3.4 release
;+ global:
SSL_GetChannelInfo;
SSL_GetCipherSuiteInfo;
SSL_GetMaxServerCacheLocks;
SSL_LocalCertificate;
SSL_SetMaxServerCacheLocks;
;+ local:
;+*;
;+};
;+NSS_3.7.4 { # NSS 3.7.4 release
;+ global:
SSL_ShutdownServerSessionIDCache;
;+ local:
;+*;
;+};