Skip to content

Instantly share code, notes, and snippets.

@mingt
mingt / 1.9.3-p0-rbenv.patch
Last active August 29, 2015 14:13 — forked from eric1234/2.0.0-p0-rbenv.patch
Like the original 2.0.0-p0 patch but for 1.9.3-p0. It should be the same, but now is renamed just for possibly less confusion.
--- ext/openssl/ossl_pkey_ec.c
+++ ext/openssl/ossl_pkey_ec.c
@@ -762,8 +762,10 @@
method = EC_GFp_mont_method();
} else if (id == s_GFp_nist) {
method = EC_GFp_nist_method();
+#if !defined(OPENSSl_NO_EC2M)
} else if (id == s_GF2m_simple) {
method = EC_GF2m_simple_method();
+#endif