mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove unneeded OCSP constant macros
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dfadac81fe
commit
ccaf4229cc
1 changed files with 0 additions and 4 deletions
|
@ -1079,8 +1079,6 @@ Init_ossl_ocsp()
|
|||
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()
|
|||
/* 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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue