summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-07-11 12:30:55 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-07-11 12:30:55 +0000
commit0ab8beb4809bfcf017ea250d6125c40f0e4fce56 (patch)
tree8b5bc4de7fe4463475bddecb4c258a9f63dd2be6 /crypto
parentf7daafa442b79952d84646b7bd5e3d368669d920 (diff)
downloadopenssl-new-0ab8beb4809bfcf017ea250d6125c40f0e4fce56.tar.gz
Copy flags in ASN1_STRING_dup()
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asn1/asn1_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/asn1_lib.c b/crypto/asn1/asn1_lib.c
index 278b709739..95e54ed626 100644
--- a/crypto/asn1/asn1_lib.c
+++ b/crypto/asn1/asn1_lib.c
@@ -315,6 +315,7 @@ ASN1_STRING *ASN1_STRING_dup(ASN1_STRING *str)
ASN1_STRING_free(ret);
return(NULL);
}
+ ret->flags = str->flags;
return(ret);
}