Rich Salz bbf27cd583 Fix bugs in X509_NAME_ENTRY_set
The wrong "set" field was incremented in the wrong place and would
create a new RDN, not a multi-valued RDN.
RDN inserts would happen after not before.
Prepending an entry to an RDN incorrectly created a new RDN

Anything which built up an X509_NAME could get a messed-up structure,
which would then be "wrong" for anyone using that name.

Thanks to Ingo Schwarze for extensive debugging and the initial
fix (documented in GitHub issue #5870).

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/5882)
2018-04-05 22:55:28 -04:00
..
2016-03-22 15:28:11 +00:00
2017-10-18 16:05:06 +01:00
2017-10-18 16:05:06 +01:00
2017-12-07 19:11:49 -05:00
2017-10-18 16:05:06 +01:00
2017-10-18 16:05:06 +01:00
2017-10-18 16:05:06 +01:00
2017-10-18 16:05:06 +01:00
2017-10-18 16:05:06 +01:00
2018-04-03 13:57:12 +01:00
2017-10-18 16:05:06 +01:00
2016-05-17 14:53:16 -04:00
2017-10-18 16:05:06 +01:00
2017-10-18 16:05:06 +01:00
2017-10-18 16:05:06 +01:00
2018-02-27 13:59:42 +00:00
2017-10-18 16:05:06 +01:00
2018-04-05 22:55:28 -04:00
2017-10-18 16:05:06 +01:00
2017-10-18 16:05:06 +01:00
2018-03-20 13:08:46 +00:00
2017-10-18 16:05:06 +01:00
2016-05-17 14:53:16 -04:00
2017-09-07 16:01:07 -04:00
2016-05-17 14:53:16 -04:00
2017-10-18 16:05:06 +01:00
2016-08-23 11:47:22 +02:00