Make DER option work again.
Fix typo.
This commit is contained in:
parent
b9d7ca9748
commit
b9d2d20086
@ -238,12 +238,12 @@ static int v3_check_generic(char **value)
|
|||||||
{
|
{
|
||||||
int gen_type = 0;
|
int gen_type = 0;
|
||||||
char *p = *value;
|
char *p = *value;
|
||||||
if ((strlen(p) >= 4) && !strncmp(p, "DER:,", 4))
|
if ((strlen(p) >= 4) && !strncmp(p, "DER:", 4))
|
||||||
{
|
{
|
||||||
p+=4;
|
p+=4;
|
||||||
gen_type = 1;
|
gen_type = 1;
|
||||||
}
|
}
|
||||||
if ((strlen(p) >= 5) && !strncmp(p, "ASN1:,", 5))
|
else if ((strlen(p) >= 5) && !strncmp(p, "ASN1:", 5))
|
||||||
{
|
{
|
||||||
p+=5;
|
p+=5;
|
||||||
gen_type = 2;
|
gen_type = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user