Commit b5f5585
src: throw if functions used as constructors in node_crypto.cc
Throw an error if verify_error_getter_templ or
verify_error_getter_templ2 are used as constructors.
PR-URL: #23582
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>1 parent b6e9f99 commit b5f5585
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3940 | 3940 | | |
3941 | 3941 | | |
3942 | 3942 | | |
3943 | | - | |
3944 | | - | |
| 3943 | + | |
3945 | 3944 | | |
3946 | 3945 | | |
3947 | 3946 | | |
| |||
3969 | 3968 | | |
3970 | 3969 | | |
3971 | 3970 | | |
3972 | | - | |
3973 | | - | |
| 3971 | + | |
3974 | 3972 | | |
3975 | 3973 | | |
3976 | 3974 | | |
| |||
0 commit comments