summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_enum.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-03-04 23:29:51 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-03-04 23:29:51 +0000
commit9985bed331b388e871a89cf043ae21c1177eaa24 (patch)
tree8fa799a7ec68dec7c8e77f4f0875b9dfb7bddaf0 /crypto/x509v3/v3_enum.c
parent789285aa960fec0004a796e9f60f94f19035d887 (diff)
Deleted my str_dup() function from X509V3: the same functionality is provided
by BUF_MEM_strdup(). Added text documentation to the BUF_MEM stuff.
Diffstat (limited to 'crypto/x509v3/v3_enum.c')
-rw-r--r--crypto/x509v3/v3_enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_enum.c b/crypto/x509v3/v3_enum.c
index 3ce97cd560..835bde919f 100644
--- a/crypto/x509v3/v3_enum.c
+++ b/crypto/x509v3/v3_enum.c
@@ -97,7 +97,7 @@ ASN1_ENUMERATED *e;
long strval;
strval = ASN1_ENUMERATED_get(e);
for(enam =(ENUMERATED_NAMES *)method->usr_data; enam->lname; enam++) {
- if(strval == enam->bitnum) return str_dup(enam->lname);
+ if(strval == enam->bitnum) return BUF_strdup(enam->lname);
}
return i2s_ASN1_ENUMERATED(method, e);
}