From b7632c038b228ab867cc15fcfc87b78a9da1c2d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 18 Dec 2008 04:59:47 +0000 Subject: [PATCH] reindent git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24208 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/asn1/der_get.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/asn1/der_get.c b/lib/asn1/der_get.c index 753e14d88..29bc68fc5 100644 --- a/lib/asn1/der_get.c +++ b/lib/asn1/der_get.c @@ -267,7 +267,10 @@ der_get_octet_string_ber (const unsigned char *p, size_t len, while (len) { e = der_get_tag (p, len, &class, &type, &tag, &l); if (e) goto out; - if (class != ASN1_C_UNIV) return ASN1_BAD_ID; + if (class != ASN1_C_UNIV) { + e = ASN1_BAD_ID; + goto out; + } if (type == PRIM && tag == UT_EndOfContent) { if (depth == 0) break;