aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_x509name.c
diff options
context:
space:
mode:
Diffstat (limited to 'ossl_x509name.c')
-rw-r--r--ossl_x509name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ossl_x509name.c b/ossl_x509name.c
index 905aa5d..89e1ae3 100644
--- a/ossl_x509name.c
+++ b/ossl_x509name.c
@@ -147,7 +147,7 @@ ossl_x509name_to_h(VALUE self)
void
Init_ossl_x509name(VALUE module)
{
- eX509NameError = rb_define_class_under(module, "NameError", rb_eStandardError);
+ eX509NameError = rb_define_class_under(module, "NameError", eOSSLError);
cX509Name = rb_define_class_under(module, "Name", rb_cObject);
rb_define_singleton_method(cX509Name, "new_from_hash", ossl_x509name_s_new_from_hash, 1);