diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-07-25 10:03:41 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-07-25 10:03:41 +0900 |
commit | a45704f808846cc7e95a624e8b595e4c20a48810 (patch) | |
tree | 6763656768a6de7d9ab16dca83f183ee79a6fc0d /ext/openssl/ossl_pkey_rsa.c | |
parent | 1c58abdad0b9e4ed5e668960e4f4496d5929f501 (diff) | |
download | ruby-openssl-a45704f808846cc7e95a624e8b595e4c20a48810.tar.gz |
Remove unnecessary usage of _() macro
Diffstat (limited to 'ext/openssl/ossl_pkey_rsa.c')
-rw-r--r-- | ext/openssl/ossl_pkey_rsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl_pkey_rsa.c b/ext/openssl/ossl_pkey_rsa.c index 18507ebb..e003d9ff 100644 --- a/ext/openssl/ossl_pkey_rsa.c +++ b/ext/openssl/ossl_pkey_rsa.c @@ -383,7 +383,7 @@ static VALUE ossl_rsa_to_der(VALUE self) { RSA *rsa; - int (*i2d_func)_((const RSA*, unsigned char**)); + int (*i2d_func)(const RSA *, unsigned char **); unsigned char *p; long len; VALUE str; @@ -392,7 +392,7 @@ ossl_rsa_to_der(VALUE self) if (RSA_HAS_PRIVATE(rsa)) i2d_func = i2d_RSAPrivateKey; else - i2d_func = (int (*)(const RSA*, unsigned char**))i2d_RSA_PUBKEY; + i2d_func = (int (*)(const RSA *, unsigned char **))i2d_RSA_PUBKEY; if((len = i2d_func(rsa, NULL)) <= 0) ossl_raise(eRSAError, NULL); str = rb_str_new(0, len); |