diff options
author | job <> | 2021-09-02 21:40:32 +0000 |
---|---|---|
committer | job <> | 2021-09-02 21:40:32 +0000 |
commit | 72a2a2b96199ec952f498992c7fd808d9e3b40f9 (patch) | |
tree | 0a6e398e191f922f5881806139bae1437dd9aa8a /src/lib | |
parent | 292968fb89e30fe8db20663ae2775ba85080f83f (diff) | |
download | openbsd-72a2a2b96199ec952f498992c7fd808d9e3b40f9.tar.gz openbsd-72a2a2b96199ec952f498992c7fd808d9e3b40f9.tar.bz2 openbsd-72a2a2b96199ec952f498992c7fd808d9e3b40f9.zip |
Change OPENSSL_strdup() to strdup()
OK tb@
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/x509/x509_asid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_asid.c b/src/lib/libcrypto/x509/x509_asid.c index 511002aab8..f35d5e9cf6 100644 --- a/src/lib/libcrypto/x509/x509_asid.c +++ b/src/lib/libcrypto/x509/x509_asid.c | |||
@@ -761,7 +761,7 @@ static void *v2i_ASIdentifiers(const struct v3_ext_method *method, | |||
761 | goto err; | 761 | goto err; |
762 | } | 762 | } |
763 | } else { | 763 | } else { |
764 | char *s = OPENSSL_strdup(val->value); | 764 | char *s = strdup(val->value); |
765 | if (s == NULL) { | 765 | if (s == NULL) { |
766 | X509V3error(ERR_R_MALLOC_FAILURE); | 766 | X509V3error(ERR_R_MALLOC_FAILURE); |
767 | goto err; | 767 | goto err; |