diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2021-03-20 01:31:45 +0100 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2021-03-24 01:04:08 +0100 |
commit | 0dd19e750f730b44a38ee5c8aaf235f690386f9b (patch) | |
tree | ee41427fba76f414629f357b3fa328cf4ee9cd83 /include | |
parent | ec_keymgmt: fix coverity 1474427: resource leak (diff) | |
download | openssl-0dd19e750f730b44a38ee5c8aaf235f690386f9b.tar.xz openssl-0dd19e750f730b44a38ee5c8aaf235f690386f9b.zip |
Fix a windows build break
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14635)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/unicode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/internal/unicode.h b/include/internal/unicode.h index 3dcdcd2c89..a6de8352d6 100644 --- a/include/internal/unicode.h +++ b/include/internal/unicode.h @@ -18,12 +18,12 @@ typedef enum { UNICODE_LIMIT } UNICODE_CONSTANTS; -static ossl_unused inline int is_unicode_surrogate(unsigned long value) +static ossl_unused ossl_inline int is_unicode_surrogate(unsigned long value) { return value >= SURROGATE_MIN && value <= SURROGATE_MAX; } -static ossl_unused inline int is_unicode_valid(unsigned long value) +static ossl_unused ossl_inline int is_unicode_valid(unsigned long value) { return value <= UNICODE_MAX && !is_unicode_surrogate(value); } |