summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/t_x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/t_x509.c')
-rw-r--r--src/lib/libcrypto/asn1/t_x509.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c
index ff7871cd06..563edac074 100644
--- a/src/lib/libcrypto/asn1/t_x509.c
+++ b/src/lib/libcrypto/asn1/t_x509.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t_x509.c,v 1.36 2021/12/25 12:11:57 jsing Exp $ */ 1/* $OpenBSD: t_x509.c,v 1.37 2021/12/25 13:17:48 jsing 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 *
@@ -244,7 +244,7 @@ X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag)
244 } 244 }
245 ret = 1; 245 ret = 1;
246 246
247err: 247 err:
248 free(m); 248 free(m);
249 return (ret); 249 return (ret);
250} 250}
@@ -295,7 +295,7 @@ X509_ocspid_print(BIO *bp, X509 *x)
295 295
296 return (1); 296 return (1);
297 297
298err: 298 err:
299 free(der); 299 free(der);
300 return (0); 300 return (0);
301} 301}
@@ -416,7 +416,7 @@ ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
416 else 416 else
417 return (1); 417 return (1);
418 418
419err: 419 err:
420 BIO_write(bp, "Bad time value", 14); 420 BIO_write(bp, "Bad time value", 14);
421 return (0); 421 return (0);
422} 422}
@@ -459,7 +459,7 @@ ASN1_UTCTIME_print(BIO *bp, const ASN1_UTCTIME *tm)
459 else 459 else
460 return (1); 460 return (1);
461 461
462err: 462 err:
463 BIO_write(bp, "Bad time value", 14); 463 BIO_write(bp, "Bad time value", 14);
464 return (0); 464 return (0);
465} 465}
@@ -505,7 +505,7 @@ X509_NAME_print(BIO *bp, const X509_NAME *name, int obase)
505 505
506 ret = 1; 506 ret = 1;
507 if (0) { 507 if (0) {
508err: 508 err:
509 X509error(ERR_R_BUF_LIB); 509 X509error(ERR_R_BUF_LIB);
510 } 510 }
511 free(b); 511 free(b);