v3_alt.c: otherName parsing fix.
authorAndy Polyakov <appro@openssl.org>
Mon, 27 Apr 2009 19:35:16 +0000 (19:35 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 27 Apr 2009 19:35:16 +0000 (19:35 +0000)
Submitted by: Love Hörnquist Ã…strand

crypto/x509v3/v3_alt.c

index f7c7874..c5e48a8 100644 (file)
@@ -493,6 +493,7 @@ GENERAL_NAME *a2i_GENERAL_NAME(GENERAL_NAME *out,
                        X509V3err(X509V3_F_A2I_GENERAL_NAME,X509V3_R_OTHERNAME_ERROR);
                        goto err;
                        }
+               break;
                default:
                X509V3err(X509V3_F_A2I_GENERAL_NAME,X509V3_R_UNSUPPORTED_TYPE);
                goto err;