Richard Levitte eeb09f1bd7 Fix OSSL_PARAM_allocate_from_text() for EBCDIC
OSSL_PARAM_allocate_from_text() converted text values to UTF-8
OSSL_PARAMs with a simple strncpy().  However, if the text is EBCDIC,
that won't become UTF-8.  Therefore, it's made to convert from EBCDIC
to ASCII on platforms where the native character encoding is the
former.

One might argue that the conversion should be the responsibility of
the application.  However, this is a helper function, and the calling
application can't easily know what sort of OSSL_PARAM the input values
are going to be used for.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13961)
2021-01-27 12:06:29 +01:00
..
2019-07-02 14:22:29 +02:00
2020-06-04 14:33:57 +01:00
2020-07-05 01:49:20 +02:00
2020-07-05 01:49:20 +02:00
2020-07-16 14:47:04 +02:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-07-16 14:47:04 +02:00
2019-10-11 15:30:57 +02:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2019-10-11 15:30:57 +02:00
2020-08-06 13:22:30 +01:00
2019-10-31 14:26:34 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-10-15 14:10:06 +01:00
2019-08-19 07:19:56 +02:00
2020-10-15 14:10:06 +01:00
2019-07-01 10:09:22 +02:00
2020-10-15 14:10:06 +01:00
2020-07-05 01:49:20 +02:00
2020-05-15 14:09:49 +01:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-07-05 01:49:20 +02:00
2020-04-23 13:55:52 +01:00
2020-07-16 14:47:04 +02:00
2020-06-04 14:33:57 +01:00
2020-06-04 14:33:57 +01:00
2020-07-05 01:49:20 +02:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2019-11-15 17:20:33 +01:00
2020-10-15 14:10:06 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2019-11-15 17:20:33 +01:00
2020-08-06 13:22:30 +01:00
2020-07-24 18:14:03 +03:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-06-25 14:13:12 +01:00
2019-07-02 14:22:29 +02:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-07-05 01:49:20 +02:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2020-07-16 14:47:04 +02:00
2019-12-11 19:04:01 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-07-16 14:47:04 +02:00
2020-07-16 14:47:04 +02:00
2020-07-16 14:47:04 +02:00
2020-10-15 14:10:06 +01:00
2019-10-09 17:44:04 +02:00
2020-08-06 13:22:30 +01:00
2020-10-15 14:10:06 +01:00
2020-07-16 14:47:04 +02:00
2020-10-15 14:10:06 +01:00
2020-08-07 14:16:47 +10:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2019-10-31 14:26:34 +01:00
2020-08-06 13:22:30 +01:00
2020-05-15 14:09:49 +01:00
2020-08-06 13:22:30 +01:00
2021-01-07 13:38:50 +00:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-06-30 14:14:05 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-07-16 14:47:04 +02:00
2020-10-15 14:10:06 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-08-26 14:04:17 +03:00
2020-07-16 14:47:04 +02:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-28 09:06:04 +10:00
2020-10-15 14:10:06 +01:00
2020-08-06 13:22:30 +01:00
2020-10-01 09:25:20 +01:00