aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_x509attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ossl_x509attr.c')
-rw-r--r--ossl_x509attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ossl_x509attr.c b/ossl_x509attr.c
index 67eecd3..404dd20 100644
--- a/ossl_x509attr.c
+++ b/ossl_x509attr.c
@@ -135,7 +135,7 @@ ossl_x509attr_to_a(VALUE self)
void
Init_ossl_x509attr(VALUE module)
{
- eX509AttributeError = rb_define_class_under(module, "AttributeError", rb_eStandardError);
+ eX509AttributeError = rb_define_class_under(module, "AttributeError", eOSSLError);
cX509Attribute = rb_define_class_under(module, "Attribute", rb_cObject);
rb_define_singleton_method(cX509Attribute, "new_from_array", ossl_x509attr_s_new_from_array, 1);