summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/a_string.c')
-rw-r--r--src/lib/libcrypto/asn1/a_string.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/a_string.c b/src/lib/libcrypto/asn1/a_string.c
index 7a9eabe6c6..6d227f3688 100644
--- a/src/lib/libcrypto/asn1/a_string.c
+++ b/src/lib/libcrypto/asn1/a_string.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_string.c,v 1.3 2021/12/25 12:11:57 jsing Exp $ */ 1/* $OpenBSD: a_string.c,v 1.4 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 *
@@ -298,7 +298,7 @@ i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type)
298 } 298 }
299 return (n); 299 return (n);
300 300
301err: 301 err:
302 return (-1); 302 return (-1);
303} 303}
304 304
@@ -384,9 +384,9 @@ a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size)
384 bs->data = s; 384 bs->data = s;
385 return (1); 385 return (1);
386 386
387err_sl: 387 err_sl:
388 ASN1error(ASN1_R_SHORT_LINE); 388 ASN1error(ASN1_R_SHORT_LINE);
389err: 389 err:
390 free(s); 390 free(s);
391 return (ret); 391 return (ret);
392} 392}