Use a table rather than a switch when converting strings to NIDs.
authorjsing <jsing@openbsd.org>
Fri, 10 Aug 2018 16:12:19 +0000 (16:12 +0000)
committerjsing <jsing@openbsd.org>
Fri, 10 Aug 2018 16:12:19 +0000 (16:12 +0000)
commit19a0cd6bfe814d076eda950e740af67de319f8b6
treed52ddbcf18433c9d92b88eba4481f6a1362c4260
parent58433342a1fe3852844b19900eb44b4d992525bc
Use a table rather than a switch when converting strings to NIDs.

This will make it easier to extend.
regress/lib/libcrypto/wycheproof/wycheproof.go