@@ -1445,7 +1445,7 @@ static VALUE ossl_ec_point_is_at_infinity(VALUE self)
1445
1445
switch (EC_POINT_is_at_infinity (group , point )) {
1446
1446
case 1 : return Qtrue ;
1447
1447
case 0 : return Qfalse ;
1448
- default : ossl_raise (cEC_POINT , "EC_POINT_is_at_infinity" );
1448
+ default : ossl_raise (eEC_POINT , "EC_POINT_is_at_infinity" );
1449
1449
}
1450
1450
1451
1451
UNREACHABLE ;
@@ -1466,7 +1466,7 @@ static VALUE ossl_ec_point_is_on_curve(VALUE self)
1466
1466
switch (EC_POINT_is_on_curve (group , point , ossl_bn_ctx )) {
1467
1467
case 1 : return Qtrue ;
1468
1468
case 0 : return Qfalse ;
1469
- default : ossl_raise (cEC_POINT , "EC_POINT_is_on_curve" );
1469
+ default : ossl_raise (eEC_POINT , "EC_POINT_is_on_curve" );
1470
1470
}
1471
1471
1472
1472
UNREACHABLE ;
@@ -1485,7 +1485,7 @@ static VALUE ossl_ec_point_make_affine(VALUE self)
1485
1485
GetECPointGroup (self , group );
1486
1486
1487
1487
if (EC_POINT_make_affine (group , point , ossl_bn_ctx ) != 1 )
1488
- ossl_raise (cEC_POINT , "EC_POINT_make_affine" );
1488
+ ossl_raise (eEC_POINT , "EC_POINT_make_affine" );
1489
1489
1490
1490
return self ;
1491
1491
}
@@ -1503,7 +1503,7 @@ static VALUE ossl_ec_point_invert(VALUE self)
1503
1503
GetECPointGroup (self , group );
1504
1504
1505
1505
if (EC_POINT_invert (group , point , ossl_bn_ctx ) != 1 )
1506
- ossl_raise (cEC_POINT , "EC_POINT_invert" );
1506
+ ossl_raise (eEC_POINT , "EC_POINT_invert" );
1507
1507
1508
1508
return self ;
1509
1509
}
@@ -1521,7 +1521,7 @@ static VALUE ossl_ec_point_set_to_infinity(VALUE self)
1521
1521
GetECPointGroup (self , group );
1522
1522
1523
1523
if (EC_POINT_set_to_infinity (group , point ) != 1 )
1524
- ossl_raise (cEC_POINT , "EC_POINT_set_to_infinity" );
1524
+ ossl_raise (eEC_POINT , "EC_POINT_set_to_infinity" );
1525
1525
1526
1526
return self ;
1527
1527
}
0 commit comments