Copy flags in ASN1_STRING_dup()
authorDr. Stephen Henson <steve@openssl.org>
Sun, 11 Jul 1999 12:30:55 +0000 (12:30 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 11 Jul 1999 12:30:55 +0000 (12:30 +0000)
CHANGES
crypto/asn1/asn1_lib.c

diff --git a/CHANGES b/CHANGES
index 3f32fc3d224d1da7d9b3125bff61e36164b00091..94cae7d52e85c4074989d5f2c5bcd2729bda00f5 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,9 @@
 
  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
      keys when the signing key was also DSA and the parameters didn't match.
 
index 278b70973964dd2d675d473a0b1ac9550b17dabe..95e54ed6267d029d5f630973acce892946f211a3 100644 (file)
@@ -315,6 +315,7 @@ ASN1_STRING *ASN1_STRING_dup(ASN1_STRING *str)
                ASN1_STRING_free(ret);
                return(NULL);
                }
+       ret->flags = str->flags;
        return(ret);
        }