summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2021-09-02 21:40:33 +0000
committerJob Snijders <job@cvs.openbsd.org>2021-09-02 21:40:33 +0000
commit834bb7d7b67de849eab456b2845ef2b342b944a8 (patch)
treee04ab06982f6dcc5a7271681b3b6da690e140618 /lib
parent7bd8209c4ea0c26707567cca5563ade2688f3677 (diff)
Change OPENSSL_strdup() to strdup()
OK tb@
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/x509/x509_asid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509_asid.c b/lib/libcrypto/x509/x509_asid.c
index 511002aab81..f35d5e9cf68 100644
--- a/lib/libcrypto/x509/x509_asid.c
+++ b/lib/libcrypto/x509/x509_asid.c
@@ -761,7 +761,7 @@ static void *v2i_ASIdentifiers(const struct v3_ext_method *method,
goto err;
}
} else {
- char *s = OPENSSL_strdup(val->value);
+ char *s = strdup(val->value);
if (s == NULL) {
X509V3error(ERR_R_MALLOC_FAILURE);
goto err;