diff options
| author | job <> | 2021-09-02 21:40:32 +0000 |
|---|---|---|
| committer | job <> | 2021-09-02 21:40:32 +0000 |
| commit | 3cf4ca1b9e041620ea8ada792940d38725619e19 (patch) | |
| tree | 0a6e398e191f922f5881806139bae1437dd9aa8a /src/lib/libcrypto | |
| parent | 126337d6b730a4bf7e40f3414082fa5d42efa13c (diff) | |
| download | openbsd-3cf4ca1b9e041620ea8ada792940d38725619e19.tar.gz openbsd-3cf4ca1b9e041620ea8ada792940d38725619e19.tar.bz2 openbsd-3cf4ca1b9e041620ea8ada792940d38725619e19.zip | |
Change OPENSSL_strdup() to strdup()
OK tb@
Diffstat (limited to 'src/lib/libcrypto')
| -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; |
