openssl/crypto/encode_decode
Tomas Mraz 2acb0d363c When exporting/importing decoded keys do not use 0 as selection
When decoding 0 as the selection means to decode anything
you get.

However when exporting and then importing the key data 0 as
selection is not meaningful.
So we set it to OSSL_KEYMGMT_SELECT_ALL to make the export/import
function export/import everything that we have decoded.

Fixes #21493

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/21519)
2023-08-04 10:09:44 -04:00
..
build.info
decoder_err.c
decoder_lib.c Always add a suitable error if we fail to decode 2023-08-01 20:08:28 +02:00
decoder_meth.c encoder: update to structure based atomics 2023-07-01 21:18:25 +10:00
decoder_pkey.c When exporting/importing decoded keys do not use 0 as selection 2023-08-04 10:09:44 -04:00
encoder_err.c Update copyright year 2021-06-17 13:24:59 +01:00
encoder_lib.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
encoder_local.h encoder: update to structure based atomics 2023-07-01 21:18:25 +10:00
encoder_meth.c encoder: update to structure based atomics 2023-07-01 21:18:25 +10:00
encoder_pkey.c Coverity 1515953: negative loop bound 2022-10-14 12:53:02 +11:00