projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the content type attribute to additional CMS signerinfo.
[oweals/openssl.git]
/
include
/
openssl
/
e_os2.h
diff --git
a/include/openssl/e_os2.h
b/include/openssl/e_os2.h
index be0ee200ca30640ecd206c74e82a804621219bc6..97a776cdacc76817fb045b8e870208f89c922467 100644
(file)
--- a/
include/openssl/e_os2.h
+++ b/
include/openssl/e_os2.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright 1995-201
8
The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-201
9
The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@
-216,6
+216,8
@@
extern "C" {
# define OSSL_SSIZE_MAX SSIZE_MAX
# elif defined(_POSIX_SSIZE_MAX)
# define OSSL_SSIZE_MAX _POSIX_SSIZE_MAX
# define OSSL_SSIZE_MAX SSIZE_MAX
# elif defined(_POSIX_SSIZE_MAX)
# define OSSL_SSIZE_MAX _POSIX_SSIZE_MAX
+# else
+# define OSSL_SSIZE_MAX ((ssize_t)(SIZE_MAX>>1))
# endif
# endif
# endif
# endif
@@
-285,6
+287,13
@@
typedef unsigned __int64 uint64_t;
# define ossl_noreturn
# endif
# define ossl_noreturn
# endif
+/* ossl_unused: portable unused attribute for use in public headers */
+# if defined(__GNUC__)
+# define ossl_unused __attribute__((unused))
+# else
+# define ossl_unused
+# endif
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif