diff options
Diffstat (limited to 'lib/libcrypto/x509v3/v3_info.c')
-rw-r--r-- | lib/libcrypto/x509v3/v3_info.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/x509v3/v3_info.c b/lib/libcrypto/x509v3/v3_info.c index 7853e3e23b1..9ae1596b1f3 100644 --- a/lib/libcrypto/x509v3/v3_info.c +++ b/lib/libcrypto/x509v3/v3_info.c @@ -184,12 +184,10 @@ v2i_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, if (!acc->method) { X509V3err(X509V3_F_V2I_AUTHORITY_INFO_ACCESS, X509V3_R_BAD_OBJECT); - ERR_add_error_data(2, "value=", objtmp); - free(objtmp); + ERR_asprintf_error_data("value=%s", objtmp); goto err; } free(objtmp); - } return ainfo; |