Skip to content

Commit

Permalink
Fix for bug 433791. Delete Win16 references. r=nelson
Browse files Browse the repository at this point in the history
  • Loading branch information
julien.pierre.boogz%sun.com committed Apr 7, 2009
1 parent eff13a6 commit dcd4d29
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 47 deletions.
1 change: 0 additions & 1 deletion security/nss/cmd/modutil/pk11jar.html
Expand Up @@ -193,7 +193,6 @@ <h3>Global Keys</h3>
<li>SONY (mips)
<li>SUNOS (sparc)
<li>UnixWare (x86)
<li>WIN16 (x86)
<li>WIN95 (x86)
<li>WINNT (x86)
</ul>
Expand Down
3 changes: 1 addition & 2 deletions security/nss/lib/base/nssbaset.h
Expand Up @@ -56,8 +56,7 @@ static const char NSSBASET_CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$";
* NSS has its own versions of these NSPR macros, in a form which
* does not confuse ctags and other related utilities. NSPR
* defines these macros to take the type as an argument, because
* of a requirement to support win16 dlls. We do not have that
* requirement, so we can drop that restriction.
* of certain OS requirements on platforms not supported by NSS.
*/

#define DUMMY /* dummy */
Expand Down
2 changes: 1 addition & 1 deletion security/nss/lib/freebl/Makefile
Expand Up @@ -90,7 +90,7 @@ ifeq ($(OS_TARGET),OSF1)
MPI_SRCS += mpvalpha.c
endif

ifeq (,$(filter-out WINNT WIN95,$(OS_TARGET))) #omits WIN16 and WINCE
ifeq (,$(filter-out WINNT WIN95,$(OS_TARGET))) #omits WINCE
ifndef USE_64
# 32-bit Windows
ifdef NS_USE_GCC
Expand Down
33 changes: 0 additions & 33 deletions security/nss/lib/util/pkcs11.h
Expand Up @@ -74,12 +74,6 @@ extern "C" {
*
* #pragma pack(pop, cryptoki)
*
* In a Win16 environment, this might be done by using the
* following preprocessor directive before including pkcs11.h
* or pkcs11t.h:
*
* #pragma pack(1)
*
* In a UNIX environment, you're on your own here. You might
* not need to do anything.
*
Expand All @@ -96,10 +90,6 @@ extern "C" {
*
* #define CK_PTR *
*
* In a Win16 environment, it might be defined by
*
* #define CK_PTR far *
*
* In a UNIX environment, it might be defined by
*
* #define CK_PTR *
Expand All @@ -124,12 +114,6 @@ extern "C" {
* #define CK_DEFINE_FUNCTION(returnType, name) \
* returnType __declspec(dllexport) name
*
* For defining a function in a Win16 PKCS #11 .dll, it might be
* defined by
*
* #define CK_DEFINE_FUNCTION(returnType, name) \
* returnType __export _far _pascal name
*
* In a UNIX environment, it might be defined by
*
* #define CK_DEFINE_FUNCTION(returnType, name) \
Expand All @@ -151,12 +135,6 @@ extern "C" {
* #define CK_DECLARE_FUNCTION(returnType, name) \
* returnType __declspec(dllimport) name
*
* For declaring a function in a Win16 PKCS #11 .dll, it might
* be defined by
*
* #define CK_DECLARE_FUNCTION(returnType, name) \
* returnType __export _far _pascal name
*
* In a UNIX environment, it might be defined by
*
* #define CK_DECLARE_FUNCTION(returnType, name) \
Expand Down Expand Up @@ -187,12 +165,6 @@ extern "C" {
* #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
* returnType __declspec(dllimport) (* name)
*
* For accessing functions in a Win16 PKCS #11 .dll, it might be
* defined by
*
* #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
* returnType __export _far _pascal (* name)
*
* In a UNIX environment, it might be defined by
*
* #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
Expand All @@ -218,11 +190,6 @@ extern "C" {
* #define CK_CALLBACK_FUNCTION(returnType, name) \
* returnType (* name)
*
* In a Win16 environment, it might be defined by
*
* #define CK_CALLBACK_FUNCTION(returnType, name) \
* returnType _far _pascal (* name)
*
* In a UNIX environment, it might be defined by
*
* #define CK_CALLBACK_FUNCTION(returnType, name) \
Expand Down
4 changes: 0 additions & 4 deletions security/nss/lib/util/secasn1d.c
Expand Up @@ -2086,11 +2086,7 @@ sec_asn1d_concat_substrings (sec_asn1d_state *state)
}

if (is_bit_string) {
#ifdef XP_WIN16 /* win16 compiler gets an internal error otherwise */
alloc_len = (((long)item_len + 7) / 8);
#else
alloc_len = ((item_len + 7) >> 3);
#endif
} else {
/*
* Add 2 for the end-of-contents octets of an indefinite-length
Expand Down
5 changes: 0 additions & 5 deletions security/nss/lib/util/secport.h
Expand Up @@ -57,11 +57,6 @@
# ifndef XP_WIN32
# define XP_WIN32
# endif
#else
# ifndef XP_WIN16
# define XP_WIN16
# endif
#endif
#endif

#ifdef __BEOS__
Expand Down
1 change: 0 additions & 1 deletion security/nss/trademarks.txt
Expand Up @@ -113,7 +113,6 @@ URL Uniform Resource Locator
UTF-8 Unicode Transformation Format
Unisys
Verisign
WIN16 Windows
WIN32 Windows
WINNT Windows NT
Windows
Expand Down

0 comments on commit dcd4d29

Please sign in to comment.