ruby-changes:33493
From: drbrain <ko1@a...>
Date: Sat, 12 Apr 2014 09:37:08 +0900 (JST)
Subject: [ruby-changes:33493] drbrain:r45574 (trunk): Remove unneeded OCSP constant macros
drbrain 2014-04-12 09:37:03 +0900 (Sat, 12 Apr 2014) New Revision: 45574 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45574 Log: Remove unneeded OCSP constant macros Modified files: trunk/ext/openssl/ossl_ocsp.c Index: ext/openssl/ossl_ocsp.c =================================================================== --- ext/openssl/ossl_ocsp.c (revision 45573) +++ ext/openssl/ossl_ocsp.c (revision 45574) @@ -1079,8 +1079,6 @@ Init_ossl_ocsp() https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_ocsp.c#L1079 rb_define_method(cOCSPCertId, "cmp_issuer", ossl_ocspcid_cmp_issuer, 1); rb_define_method(cOCSPCertId, "serial", ossl_ocspcid_get_serial, 0); -#define DefOCSPConst(x) rb_define_const(mOCSP, #x, INT2NUM(OCSP_##x)) - /* Internal error in issuer */ rb_define_const(mOCSP, "RESPONSE_STATUS_INTERNALERROR", INT2NUM(OCSP_RESPONSE_STATUS_INTERNALERROR)); @@ -1163,8 +1161,6 @@ Init_ossl_ocsp() https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_ocsp.c#L1161 /* Do not include producedAt time in response */ rb_define_const(mOCSP, "NOTIME", INT2NUM(OCSP_NOTIME)); -#define DefOCSPVConst(x) rb_define_const(mOCSP, "V_" #x, INT2NUM(V_OCSP_##x)) - /* Indicates the certificate is not revoked but does not necessarily mean * the certificate was issued or that this response is within the * certificate's validity interval */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/