Skip to content

Commit

Permalink
expand tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
btoews authored and ioquatix committed Sep 30, 2019
1 parent 37aa106 commit 775a8c0
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 117 deletions.
4 changes: 2 additions & 2 deletions ext/openssl/openssl_missing.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ IMPL_PKEY_GETTER(EC_KEY, ec)

#if !defined(HAVE_TS_RESP_CTX_SET_TIME_CB)
# define TS_RESP_CTX_set_time_cb(ctx, callback, dta) do { \
(ctx)->time_cb = (callback); \
(ctx)->time_cb_data = (dta); \
(ctx)->time_cb = (callback); \
(ctx)->time_cb_data = (dta); \
} while (0)
#endif

Expand Down
4 changes: 2 additions & 2 deletions ext/openssl/ossl_pkcs7.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
TypedData_Wrap_Struct((klass), &ossl_pkcs7_type, 0)
#define SetPKCS7(obj, pkcs7) do { \
if (!(pkcs7)) { \
ossl_raise(rb_eRuntimeError, "PKCS7 wasn't initialized."); \
ossl_raise(rb_eRuntimeError, "PKCS7 wasn't initialized."); \
} \
RTYPEDDATA_DATA(obj) = (pkcs7); \
} while (0)
#define GetPKCS7(obj, pkcs7) do { \
TypedData_Get_Struct((obj), PKCS7, &ossl_pkcs7_type, (pkcs7)); \
if (!(pkcs7)) { \
ossl_raise(rb_eRuntimeError, "PKCS7 wasn't initialized."); \
ossl_raise(rb_eRuntimeError, "PKCS7 wasn't initialized."); \
} \
} while (0)

Expand Down
Loading

0 comments on commit 775a8c0

Please sign in to comment.