diff options
| author | tb <> | 2024-05-23 02:00:38 +0000 |
|---|---|---|
| committer | tb <> | 2024-05-23 02:00:38 +0000 |
| commit | c65644e8059e933215ce09a08b0365a39c2410e5 (patch) | |
| tree | b8f52c1d0490d2dce882893fb767850e3072c269 /src | |
| parent | f32efeb9f2b128b26beb955cf46c77669a0d005c (diff) | |
| download | openbsd-c65644e8059e933215ce09a08b0365a39c2410e5.tar.gz openbsd-c65644e8059e933215ce09a08b0365a39c2410e5.tar.bz2 openbsd-c65644e8059e933215ce09a08b0365a39c2410e5.zip | |
x509_v3.c: indent labels
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_v3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509_v3.c b/src/lib/libcrypto/x509/x509_v3.c index cc94292aa3..fcc6897378 100644 --- a/src/lib/libcrypto/x509/x509_v3.c +++ b/src/lib/libcrypto/x509/x509_v3.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_v3.c,v 1.29 2024/05/23 01:57:32 tb Exp $ */ | 1 | /* $OpenBSD: x509_v3.c,v 1.30 2024/05/23 02:00:38 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -187,9 +187,9 @@ X509v3_add_ext(STACK_OF(X509_EXTENSION) **x, X509_EXTENSION *ext, int loc) | |||
| 187 | *x = sk; | 187 | *x = sk; |
| 188 | return sk; | 188 | return sk; |
| 189 | 189 | ||
| 190 | err: | 190 | err: |
| 191 | X509error(ERR_R_MALLOC_FAILURE); | 191 | X509error(ERR_R_MALLOC_FAILURE); |
| 192 | err2: | 192 | err2: |
| 193 | if (new_ext != NULL) | 193 | if (new_ext != NULL) |
| 194 | X509_EXTENSION_free(new_ext); | 194 | X509_EXTENSION_free(new_ext); |
| 195 | if (sk != NULL && x != NULL && sk != *x) | 195 | if (sk != NULL && x != NULL && sk != *x) |
| @@ -242,7 +242,7 @@ X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ext, const ASN1_OBJECT *obj, | |||
| 242 | *ext = ret; | 242 | *ext = ret; |
| 243 | return ret; | 243 | return ret; |
| 244 | 244 | ||
| 245 | err: | 245 | err: |
| 246 | if (ext == NULL || ret != *ext) | 246 | if (ext == NULL || ret != *ext) |
| 247 | X509_EXTENSION_free(ret); | 247 | X509_EXTENSION_free(ret); |
| 248 | return NULL; | 248 | return NULL; |
