]> git.ipfire.org Git - thirdparty/openssl.git/commit
Remove extra leading '00:' when printing key material with highest byte >= 0x80
authorDavid von Oheimb <David.von.Oheimb@siemens.com>
Thu, 31 Jan 2019 16:54:17 +0000 (17:54 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 25 Nov 2025 08:09:33 +0000 (09:09 +0100)
commitec114826755f200e7ecfe0e4e0dd68bd883917bf
tree1151dc98315fa3ba68f453ceddd35f74423c35a6
parent069181d7f39beaae22bfa67bcba3c5fe93acafd4
Remove extra leading '00:' when printing key material with highest byte >= 0x80

Removed pseudo-DER encoding of (unsigned) BNs from output of ASN1_bn_print() and
print_labeled_bignum() in providers/implementations/encode_decode/encode_key2text.c
Also adapt test output reference files where needed.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8136)
13 files changed:
CHANGES.md
crypto/asn1/t_pkey.c
crypto/encode_decode/encoder_lib.c
test/certs/cyrillic.msb
test/certs/cyrillic.utf8
test/evp_pkey_provided_test.c
test/recipes/04-test_pem_reading.t
test/recipes/30-test_evp_pkey_provided/DH.priv.txt
test/recipes/30-test_evp_pkey_provided/DH.pub.txt
test/recipes/30-test_evp_pkey_provided/DSA.priv.txt
test/recipes/30-test_evp_pkey_provided/DSA.pub.txt
test/recipes/75-test_quicapi_data/ssltraceref-zlib.txt
test/recipes/75-test_quicapi_data/ssltraceref.txt