~ubuntu-branches/ubuntu/raring/nss/raring-security

« back to all changes in this revision

Viewing changes to mozilla/security/nss/lib/util/pkcs11.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-03-25 13:46:06 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100325134606-bl6liuok2w9l7snv
Tags: 3.12.6-0ubuntu1
* New upstream release 3.12.6 RTM (NSS_3_12_6_RTM)
  - fixes CVE-2009-3555 aka US-CERT VU#120541
* Adjust patches to changed upstream code base
  - update debian/patches/38_kbsd.patch
  - update debian/patches/38_mips64_build.patch
  - update debian/patches/85_security_load.patch
* Remove patches that are merged upstream
  - delete debian/patches/91_nonexec_stack.patch
  - update debian/patches/series
* Bump nspr dependency to 4.8
  - update debian/control
* Add new symbols for 3.12.6
  - update debian/libnss3-1d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
 *
75
75
 * #pragma pack(pop, cryptoki)
76
76
 *
77
 
 * In a Win16 environment, this might be done by using the
78
 
 * following preprocessor directive before including pkcs11.h
79
 
 * or pkcs11t.h:
80
 
 *
81
 
 * #pragma pack(1)
82
 
 *
83
77
 * In a UNIX environment, you're on your own here.  You might
84
78
 * not need to do anything.
85
79
 *
96
90
 *
97
91
 * #define CK_PTR *
98
92
 *
99
 
 * In a Win16 environment, it might be defined by
100
 
 *
101
 
 * #define CK_PTR far *
102
 
 *
103
93
 * In a UNIX environment, it might be defined by
104
94
 *
105
95
 * #define CK_PTR *
124
114
 * #define CK_DEFINE_FUNCTION(returnType, name) \
125
115
 *   returnType __declspec(dllexport) name
126
116
 *
127
 
 * For defining a function in a Win16 PKCS #11 .dll, it might be
128
 
 * defined by
129
 
 *
130
 
 * #define CK_DEFINE_FUNCTION(returnType, name) \
131
 
 *   returnType __export _far _pascal name
132
 
 *
133
117
 * In a UNIX environment, it might be defined by
134
118
 *
135
119
 * #define CK_DEFINE_FUNCTION(returnType, name) \
151
135
 * #define CK_DECLARE_FUNCTION(returnType, name) \
152
136
 *   returnType __declspec(dllimport) name
153
137
 *
154
 
 * For declaring a function in a Win16 PKCS #11 .dll, it might
155
 
 * be defined by
156
 
 *
157
 
 * #define CK_DECLARE_FUNCTION(returnType, name) \
158
 
 *   returnType __export _far _pascal name
159
 
 *
160
138
 * In a UNIX environment, it might be defined by
161
139
 *
162
140
 * #define CK_DECLARE_FUNCTION(returnType, name) \
187
165
 * #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
188
166
 *   returnType __declspec(dllimport) (* name)
189
167
 *
190
 
 * For accessing functions in a Win16 PKCS #11 .dll, it might be
191
 
 * defined by
192
 
 *
193
 
 * #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
194
 
 *   returnType __export _far _pascal (* name)
195
 
 *
196
168
 * In a UNIX environment, it might be defined by
197
169
 *
198
170
 * #define CK_DECLARE_FUNCTION_POINTER(returnType, name) \
218
190
 * #define CK_CALLBACK_FUNCTION(returnType, name) \
219
191
 *   returnType (* name)
220
192
 *
221
 
 * In a Win16 environment, it might be defined by
222
 
 *
223
 
 * #define CK_CALLBACK_FUNCTION(returnType, name) \
224
 
 *   returnType _far _pascal (* name)
225
 
 *
226
193
 * In a UNIX environment, it might be defined by
227
194
 *
228
195
 * #define CK_CALLBACK_FUNCTION(returnType, name) \