Ext/openssl のbuildfixについて

e$B$J$k$;EBe(B
kosakie$B$G$9e(B

ext/openssl
[email protected]$NE,MQ$"$j$,$H$&$4$6$$$^$9!J4Q;!F|5-$G5$$E$-$^$7$?!#e(B
e$BFs=E$K$"$j$,$H$&$4$6$$$^$9!Ke(B

e$B$r8+$F$$$?$N$G$9$,!"e(B

    • ext/openssl/ossl_ssl.c (ossl_ssl_method_tab),
  • (ossl_ssl_cipher_to_ary): constified.

e$B$H$$$&e(BChangeLoge$B$KH?$7$Fe(Bconste$B$NJQ99$O$5$l$F$$$J$$$h$&$K8+$($^$9!#e(B
e$B$?$V$sHH?M$O;d$G!"85%Q%C%A$+$i%S%k%I%U%#%C%/%9$K4X78$J$$e(Bwarninge$BM^@)$Oe(B
e$BA4It<h$C$?5$$,$7$^$9!#e(B

e$BI,[email protected]$H$$$&G<1$J$N$G$"$l$P!"!Je(BOpenSSL-0.9e$B4D6-$,2u$l$J$$$3$H$r:FEY3NG8e!Ke(B
e$B%Q%C%A$rAw$j$^$9$,!"$$$+$,$$$?$7$^$7$g$&$+!#e(B

e$B0J2<!"<c43C&@~!#e(B
e$B$A$J$_$K85!9$N%Q%C%A$O0J2<$N$h$&$J%3!<%I$,$"$j$^$7$?e(B

+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+#define OSSL_MORE_CONST const
+#else
+#define OSSL_MORE_CONST
+#endif

@@ -102,5 +108,5 @@ ID ID_callback_state;
struct {
const char *name;

  • SSL_METHOD *(*func)(void);
  • OSSL_MORE_CONST SSL_METHOD *(*func)(void);
    } ossl_ssl_method_tab[] = {
    #define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }

e$B8D?ME*$K$Oe(BMORE_CONSTe$B$N$h$&$K!"e(Bwarninge$B2sHr$9$k$?$a$K%3!<%I$r1x$/$7$Fe(B
e$BJ]<[email protected]$r2<$2$k$N$OH?BP$G!J<jCJ$HL\E*$,5UE>$7$F$$$k$h$&$K46$8$k!K!"e(B
e$B0J2<$N$I$l$+$,$$$$$H;W$$$^$9e(B

e$B0F#1e(B
e$B!&e(BOpenSSL-0.9e$B7O$He(BOpenSSL-1.0e$B7O$NN>J}$G%S%k%I2DG=$K$9$ke(B
e$B!&e(Bwarninge$B$O<h$i$J$$e(B

e$B0F#2e(B
e$B!&e(BOpenSSL-0.9e$B7O$He(BOpenSSL-1.0e$B7O$NN>J}$G%S%k%I2DG=$K$9$ke(B
e$B!&e(BOpenSSL-0.9e$B7O$G=P$ke(Bwarninge$B$O2DG=$J8B$j<h$ke(B
e$B!&e(BOpenSSL-1.0e$B7O$G$N$_=P$ke(Bwarninge$B$OJ|CVe(B

e$B0F#3e(B
e$B!&e(BOpenSSL-0.9e$B7O$He(BOpenSSL-1.0e$B7O$NN>J}$G%S%k%I2DG=$K$9$ke(B
e$B!&e(BOpenSSL-1.0e$B7O$G=P$ke(Bwarninge$B$O2DG=$J8B$j<h$ke(B
e$B!&e(BOpenSSL-0.9e$B7O$G$N$_=P$ke(Bwarninge$B$OJ|CVe(B

e$B8D?ME*$K$O0F#1$G#1!$#2G/J|CV$7$F!"e(BOpenSSL0.9e$B7O$,;`LG$7$F$+$ie(B
e$B%3!<%I$re:No$K$9$k$N$,3Z$G$$$$$J$!$H$+BUBF$J;v$r9M$($F$$$^$7$?!#e(B

[email protected]@%$G$9!#e(B

(2010/03/03 9:25), KOSAKI Motohiro wrote:

ext/openssl [email protected]$NE,MQ$"$j$,$H$&$4$6$$$^$9!J4Q;!F|5-$G5$$E$-$^$7$?!#e(B
e$BFs=E$K$"$j$,$H$&$4$6$$$^$9!Ke(B

e$B$3$A$i$3$=%Q%C%A:[email protected]$"$j$,$H$&$4$6$$$^$9!#e(B

e$BI,[email protected]$H$$$&G<1$J$N$G$"$l$P!"!Je(BOpenSSL-0.9e$B4D6-$,2u$l$J$$$3$H$r:FEY3NG8e!Ke(B
e$B%Q%C%A$rAw$j$^$9$,!"$$$+$,$$$?$7$^$7$g$&$+!#e(B

e$BI,[email protected]$m$&$N$G!"e(BChangeLog e$B$r8e$GD>$7$^$9!#e(B

struct {

e$B!&e(BOpenSSL-0.9e$B7O$He(BOpenSSL-1.0e$B7O$NN>J}$G%S%k%I2DG=$K$9$ke(B
e$B!&e(BOpenSSL-1.0e$B7O$G=P$ke(Bwarninge$B$O2DG=$J8B$j<h$ke(B
e$B!&e(BOpenSSL-0.9e$B7O$G$N$_=P$ke(Bwarninge$B$OJ|CVe(B

e$B8D?ME*$K$O0F#1$G#1!$#2G/J|CV$7$F!"e(BOpenSSL0.9e$B7O$,;`LG$7$F$+$ie(B
e$B%3!<%I$re:No$K$9$k$N$,3Z$G$$$$$J$!$H$+BUBF$J;v$r9M$($F$$$^$7$?!#e(B

e$B0Fe(B1 e$B$G$7$g$&$M$!"e(Bext/openssl e$B$O8=>u$9$G$K7k9=e(B warning
e$B$G$^$9$7!#e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs