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 f7c7874cac942bb0e40befcea16182546afbf8f2..c5e48a8d4b768477a7ee39f6ea7ba6c4dac654cd 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;