diff options
Diffstat (limited to 'crypto/x509/v3_asid.c')
-rw-r--r-- | crypto/x509/v3_asid.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crypto/x509/v3_asid.c b/crypto/x509/v3_asid.c index 0ff37073cf..0fc7641386 100644 --- a/crypto/x509/v3_asid.c +++ b/crypto/x509/v3_asid.c @@ -23,6 +23,7 @@ #include "crypto/x509.h" #include <openssl/bn.h> #include "ext_dat.h" +#include "x509_local.h" #ifndef OPENSSL_NO_RFC3779 @@ -545,7 +546,7 @@ static void *v2i_ASIdentifiers(const struct v3_ext_method *method, } else { X509V3err(X509V3_F_V2I_ASIDENTIFIERS, X509V3_R_EXTENSION_NAME_ERROR); - X509V3_conf_err(val); + X509V3_conf_add_error_name_value(val); goto err; } @@ -557,7 +558,7 @@ static void *v2i_ASIdentifiers(const struct v3_ext_method *method, continue; X509V3err(X509V3_F_V2I_ASIDENTIFIERS, X509V3_R_INVALID_INHERITANCE); - X509V3_conf_err(val); + X509V3_conf_add_error_name_value(val); goto err; } @@ -573,7 +574,7 @@ static void *v2i_ASIdentifiers(const struct v3_ext_method *method, if (val->value[i2] != '-') { X509V3err(X509V3_F_V2I_ASIDENTIFIERS, X509V3_R_INVALID_ASNUMBER); - X509V3_conf_err(val); + X509V3_conf_add_error_name_value(val); goto err; } i2++; @@ -582,7 +583,7 @@ static void *v2i_ASIdentifiers(const struct v3_ext_method *method, if (val->value[i3] != '\0') { X509V3err(X509V3_F_V2I_ASIDENTIFIERS, X509V3_R_INVALID_ASRANGE); - X509V3_conf_err(val); + X509V3_conf_add_error_name_value(val); goto err; } } |