fix warnings, and harmonize indentation
This commit is contained in:
parent
a9e0953900
commit
27f08d6d48
@ -3059,6 +3059,7 @@ X509_NAME *do_subject(char *subject, long chtype)
|
|||||||
while (*sp)
|
while (*sp)
|
||||||
{
|
{
|
||||||
if (*sp == '\\') /* is there anything to escape in the type...? */
|
if (*sp == '\\') /* is there anything to escape in the type...? */
|
||||||
|
{
|
||||||
if (*++sp)
|
if (*++sp)
|
||||||
*bp++ = *sp++;
|
*bp++ = *sp++;
|
||||||
else
|
else
|
||||||
@ -3066,6 +3067,7 @@ X509_NAME *do_subject(char *subject, long chtype)
|
|||||||
BIO_printf(bio_err, "escape character at end of string\n");
|
BIO_printf(bio_err, "escape character at end of string\n");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (*sp == '=')
|
else if (*sp == '=')
|
||||||
{
|
{
|
||||||
sp++;
|
sp++;
|
||||||
@ -3084,6 +3086,7 @@ X509_NAME *do_subject(char *subject, long chtype)
|
|||||||
while (*sp)
|
while (*sp)
|
||||||
{
|
{
|
||||||
if (*sp == '\\')
|
if (*sp == '\\')
|
||||||
|
{
|
||||||
if (*++sp)
|
if (*++sp)
|
||||||
*bp++ = *sp++;
|
*bp++ = *sp++;
|
||||||
else
|
else
|
||||||
@ -3091,6 +3094,7 @@ X509_NAME *do_subject(char *subject, long chtype)
|
|||||||
BIO_printf(bio_err, "escape character at end of string\n");
|
BIO_printf(bio_err, "escape character at end of string\n");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (*sp == '/')
|
else if (*sp == '/')
|
||||||
{
|
{
|
||||||
sp++;
|
sp++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user