aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'ossl_rand.c')
-rw-r--r--ossl_rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ossl_rand.c b/ossl_rand.c
index e149fbd..f5fbf9f 100644
--- a/ossl_rand.c
+++ b/ossl_rand.c
@@ -121,6 +121,6 @@ Init_ossl_rand(VALUE module)
rb_define_method(module, "egd", ossl_rand_egd, 1);
rb_define_method(module, "egd_bytes", ossl_rand_egd_bytes, 2);
- eRandomError = rb_define_class_under(module, "RandomError", rb_eStandardError);
+ eRandomError = rb_define_class_under(module, "RandomError", eOSSLError);
}