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)
|
||||
{
|
||||
if (*sp == '\\') /* is there anything to escape in the type...? */
|
||||
{
|
||||
if (*++sp)
|
||||
*bp++ = *sp++;
|
||||
else
|
||||
@ -3066,6 +3067,7 @@ X509_NAME *do_subject(char *subject, long chtype)
|
||||
BIO_printf(bio_err, "escape character at end of string\n");
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
else if (*sp == '=')
|
||||
{
|
||||
sp++;
|
||||
@ -3084,6 +3086,7 @@ X509_NAME *do_subject(char *subject, long chtype)
|
||||
while (*sp)
|
||||
{
|
||||
if (*sp == '\\')
|
||||
{
|
||||
if (*++sp)
|
||||
*bp++ = *sp++;
|
||||
else
|
||||
@ -3091,6 +3094,7 @@ X509_NAME *do_subject(char *subject, long chtype)
|
||||
BIO_printf(bio_err, "escape character at end of string\n");
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
else if (*sp == '/')
|
||||
{
|
||||
sp++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user