提交 0ab8beb4 编写于 作者: D Dr. Stephen Henson

Copy flags in ASN1_STRING_dup()

上级 f7daafa4
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
Changes between 0.9.3a and 0.9.4 Changes between 0.9.3a and 0.9.4
*) Copy the flags in ASN1_STRING_dup().
[Roman E. Pavlov <pre@mo.msk.ru>]
*) The x509 application mishandled signing requests containing DSA *) The x509 application mishandled signing requests containing DSA
keys when the signing key was also DSA and the parameters didn't match. keys when the signing key was also DSA and the parameters didn't match.
......
...@@ -315,6 +315,7 @@ ASN1_STRING *ASN1_STRING_dup(ASN1_STRING *str) ...@@ -315,6 +315,7 @@ ASN1_STRING *ASN1_STRING_dup(ASN1_STRING *str)
ASN1_STRING_free(ret); ASN1_STRING_free(ret);
return(NULL); return(NULL);
} }
ret->flags = str->flags;
return(ret); return(ret);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册