NativeCrypto: switch throw mappings to switch

The OpenSSL error to Exception mapping is growing, so just move to using
switch statement so we can add more mapping easily.

Change-Id: I223959e4252c1d764ebdf83d9ab143ff291dec1a
1 file changed