diff options
author | Ben Toews <mastahyeti@gmail.com> | 2018-08-08 10:04:44 -0600 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-10-01 11:25:06 +1300 |
commit | 8fe8e13bec51b06868ed527c54f81e38faaa5f6f (patch) | |
tree | fa9b2a2ca0bc77fd7886855851fce6873393a04d /ext/openssl/ossl_ts.h | |
parent | fe642e702bf460e04f22c870e21a0810fffcb442 (diff) | |
download | ruby-openssl-8fe8e13bec51b06868ed527c54f81e38faaa5f6f.tar.gz |
ts: address minor feedback from rhenium (more changes coming)
- make some global variables static instead of extern
- get rid of GetTsReqPtr/GetTsRespPtr functions
- don't use c99 comments
- fix some leaks
- clarify what numeric type is returned (Integer or BN, never Fixnum)
- typos
- add missing checks, remove unecessary checks
- use OPENSSL_NO_TS instead of our own macros checking for ts support
- use EVP_{digest-name} instead of looking up algos by NID
- don't differentiate between failure reasons when verifying
- rename Response#pkcs7 to #token
Diffstat (limited to 'ext/openssl/ossl_ts.h')
-rwxr-xr-x | ext/openssl/ossl_ts.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/openssl/ossl_ts.h b/ext/openssl/ossl_ts.h index 50344434..25fb0e1d 100755 --- a/ext/openssl/ossl_ts.h +++ b/ext/openssl/ossl_ts.h @@ -11,15 +11,6 @@ #if !defined(_OSSL_TS_H_) #define _OSSL_TS_H_ -extern VALUE mTimestamp; -extern VALUE eTimestampError; -extern VALUE eCertValidationError; - -extern VALUE cTimestampRequest; -extern VALUE cTimestampResponse; -extern VALUE cTimestampFactory; - void Init_ossl_ts(void); -TS_RESP *GetTsRespPtr(VALUE obj); #endif |