diff options
author | Andy Polyakov <appro@openssl.org> | 2017-03-29 23:10:08 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-03-30 19:33:32 +0200 |
commit | 74d9519a68ee484db584aebc6ab6b2cb4bf98b2a (patch) | |
tree | 1e13a01e1fff525120c3029ba71f2139e687df96 /CHANGES | |
parent | 12557a3445acc2f53321a3806f0478b998edb9a8 (diff) | |
download | openssl-74d9519a68ee484db584aebc6ab6b2cb4bf98b2a.tar.gz |
bio/b_print.c: recognize even 'j' format modifier.
'j' is specified as modifier for "greatest-width integer type", which in
practice means 64 bits on both 32- and 64-bit platforms. Since we rely
on __attribute__((__format__(__printf__,...))) to sanitize BIO_print
format, we can use it to denote [u]int64_t-s in platform-neutral manner.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3083)
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,9 +4,9 @@ Changes between 1.1.0e and 1.1.1 [xx XXX xxxx] - *) Add the z modifier parsing to BIO_printf() et al formatting string, - to be used for size_t and ssize_t (ossl_ssize_t). - [Richard Levitte] + *) Add the 'z' and 'j' modifiers to BIO_printf() et al formatting string, + 'z' is to be used for [s]size_t, and 'j' - with [u]int64_t. + [Richard Levitte, Andy Polyakov] *) Add EC_KEY_get0_engine(), which does for EC_KEY what RSA_get0_engine() does for RSA, etc. |