diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1_par.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/asn1_par.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_par.c b/src/lib/libcrypto/asn1/asn1_par.c index f5e3a8b529..2c8062bb8a 100644 --- a/src/lib/libcrypto/asn1/asn1_par.c +++ b/src/lib/libcrypto/asn1/asn1_par.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: asn1_par.c,v 1.20 2014/07/12 16:03:36 miod Exp $ */ | 1 | /* $OpenBSD: asn1_par.c,v 1.21 2014/10/03 06:02:38 doug 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 | * |
| @@ -71,7 +71,6 @@ static int | |||
| 71 | asn1_print_info(BIO *bp, int tag, int xclass, int constructed, | 71 | asn1_print_info(BIO *bp, int tag, int xclass, int constructed, |
| 72 | int indent) | 72 | int indent) |
| 73 | { | 73 | { |
| 74 | static const char fmt[] = "%-18s"; | ||
| 75 | char str[128]; | 74 | char str[128]; |
| 76 | const char *p; | 75 | const char *p; |
| 77 | 76 | ||
| @@ -95,7 +94,7 @@ asn1_print_info(BIO *bp, int tag, int xclass, int constructed, | |||
| 95 | else | 94 | else |
| 96 | p = ASN1_tag2str(tag); | 95 | p = ASN1_tag2str(tag); |
| 97 | 96 | ||
| 98 | if (BIO_printf(bp, fmt, p) <= 0) | 97 | if (BIO_printf(bp, "%-18s", p) <= 0) |
| 99 | goto err; | 98 | goto err; |
| 100 | return (1); | 99 | return (1); |
| 101 | err: | 100 | err: |
