OpenSSL::Ordinals: Handle symbols with unassigned ordinal numbers
authorRichard Levitte <levitte@openssl.org>
Mon, 4 Nov 2019 09:28:00 +0000 (10:28 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 5 Nov 2019 21:44:21 +0000 (22:44 +0100)
commit3da95f3c5159b8404917e3ff349566488c28f798
tree1a2ba7af427534cb50e8dc8dc6e17bdd66c7dd55
parent5d61758ee70aebb479d6f7a43483af405c0031a2
OpenSSL::Ordinals: Handle symbols with unassigned ordinal numbers

We preserve the number or '?' or '?+', but assign numbers internally
on the latter, to ensure we keep the order of the input.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10348)
util/perl/OpenSSL/Ordinals.pm