diff options
| author | beck <> | 2014-07-13 16:03:10 +0000 |
|---|---|---|
| committer | beck <> | 2014-07-13 16:03:10 +0000 |
| commit | c7e9c2c6576cd5406680f9b69aff2038ba63b0dc (patch) | |
| tree | c2bbb8405534dcf838bc686b6748045284f3966b /src/lib/libcrypto/x509v3/v3_asid.c | |
| parent | 679de7876fe8228887034f815ef2e29db63ba752 (diff) | |
| download | openbsd-c7e9c2c6576cd5406680f9b69aff2038ba63b0dc.tar.gz openbsd-c7e9c2c6576cd5406680f9b69aff2038ba63b0dc.tar.bz2 openbsd-c7e9c2c6576cd5406680f9b69aff2038ba63b0dc.zip | |
The bell tolls for BUF_strdup - Start the migration to using
intrinsics. This is the easy ones, a few left to check one at
a time.
ok miod@ deraadt@
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_asid.c')
| -rw-r--r-- | src/lib/libcrypto/x509v3/v3_asid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_asid.c b/src/lib/libcrypto/x509v3/v3_asid.c index 4ff8f0da37..680eed31ec 100644 --- a/src/lib/libcrypto/x509v3/v3_asid.c +++ b/src/lib/libcrypto/x509v3/v3_asid.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: v3_asid.c,v 1.10 2014/07/11 08:44:49 jsing Exp $ */ | 1 | /* $OpenBSD: v3_asid.c,v 1.11 2014/07/13 16:03:10 beck Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Contributed to the OpenSSL Project by the American Registry for | 3 | * Contributed to the OpenSSL Project by the American Registry for |
| 4 | * Internet Numbers ("ARIN"). | 4 | * Internet Numbers ("ARIN"). |
| @@ -643,7 +643,7 @@ v2i_ASIdentifiers(const struct v3_ext_method *method, struct v3_ext_ctx *ctx, | |||
| 643 | goto err; | 643 | goto err; |
| 644 | } | 644 | } |
| 645 | } else { | 645 | } else { |
| 646 | char *s = BUF_strdup(val->value); | 646 | char *s = strdup(val->value); |
| 647 | if (s == NULL) { | 647 | if (s == NULL) { |
| 648 | X509V3err(X509V3_F_V2I_ASIDENTIFIERS, | 648 | X509V3err(X509V3_F_V2I_ASIDENTIFIERS, |
| 649 | ERR_R_MALLOC_FAILURE); | 649 | ERR_R_MALLOC_FAILURE); |
