projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unreachable code
[openssl.git]
/
crypto
/
asn1
/
t_x509.c
diff --git
a/crypto/asn1/t_x509.c
b/crypto/asn1/t_x509.c
index 5115b8d0b5aeb3d28cf56ec2c52c3b36295fd2e3..206f681320951ab11ade1dfdb8bf8c9858d78add 100644
(file)
--- a/
crypto/asn1/t_x509.c
+++ b/
crypto/asn1/t_x509.c
@@
-433,9
+433,9
@@
err:
int X509_NAME_print(BIO *bp, X509_NAME *name, int obase)
{
char *s,*c,*b;
int X509_NAME_print(BIO *bp, X509_NAME *name, int obase)
{
char *s,*c,*b;
- int ret=0,l,
ll,i,first=1
;
+ int ret=0,l,
i
;
- l
l
=80-2-obase;
+ l=80-2-obase;
b=s=X509_NAME_oneline(name,NULL,0);
if (!*s)
b=s=X509_NAME_oneline(name,NULL,0);
if (!*s)
@@
-445,7
+445,6
@@
int X509_NAME_print(BIO *bp, X509_NAME *name, int obase)
}
s++; /* skip the first slash */
}
s++; /* skip the first slash */
- l=ll;
c=s;
for (;;)
{
c=s;
for (;;)
{
@@
-467,16
+466,6
@@
int X509_NAME_print(BIO *bp, X509_NAME *name, int obase)
(*s == '\0'))
#endif
{
(*s == '\0'))
#endif
{
- if ((l <= 0) && !first)
- {
- first=0;
- if (BIO_write(bp,"\n",1) != 1) goto err;
- for (i=0; i<obase; i++)
- {
- if (BIO_write(bp," ",1) != 1) goto err;
- }
- l=ll;
- }
i=s-c;
if (BIO_write(bp,c,i) != i) goto err;
c+=i;
i=s-c;
if (BIO_write(bp,c,i) != i) goto err;
c+=i;