diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-22 08:21:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-22 08:21:01 +0000 |
commit | d0e5a34ac7c34e70c145024a0fed8f6042814f29 (patch) | |
tree | 8a7edcfded4a6fe70c18cb33c65868baf9268573 /ext/openssl/ossl_pkcs7.c | |
parent | 3e8d63059d36fe6ba64ffba7bfce577693c98b59 (diff) | |
download | ruby-d0e5a34ac7c34e70c145024a0fed8f6042814f29.tar.gz |
* ext/**/*.[ch]: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_pkcs7.c')
-rw-r--r-- | ext/openssl/ossl_pkcs7.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/openssl/ossl_pkcs7.c b/ext/openssl/ossl_pkcs7.c index e61c022982..68494c2e0b 100644 --- a/ext/openssl/ossl_pkcs7.c +++ b/ext/openssl/ossl_pkcs7.c @@ -97,7 +97,7 @@ static PKCS7_SIGNER_INFO * DupPKCS7SignerPtr(VALUE obj) { PKCS7_SIGNER_INFO *p7si, *pkcs7; - + SafeGetPKCS7si(obj, p7si); if (!(pkcs7 = PKCS7_SIGNER_INFO_dup(p7si))) { ossl_raise(ePKCS7Error, NULL); @@ -123,7 +123,7 @@ static PKCS7_RECIP_INFO * DupPKCS7RecipientPtr(VALUE obj) { PKCS7_RECIP_INFO *p7ri, *pkcs7; - + SafeGetPKCS7ri(obj, p7ri); if (!(pkcs7 = PKCS7_RECIP_INFO_dup(p7ri))) { ossl_raise(ePKCS7Error, NULL); @@ -814,7 +814,7 @@ ossl_pkcs7_to_pem(VALUE self) PKCS7 *pkcs7; BIO *out; VALUE str; - + GetPKCS7(self, pkcs7); if (!(out = BIO_new(BIO_s_mem()))) { ossl_raise(ePKCS7Error, NULL); @@ -889,9 +889,9 @@ ossl_pkcs7si_get_signed_time(VALUE self) { PKCS7_SIGNER_INFO *p7si; ASN1_TYPE *asn1obj; - + GetPKCS7si(self, p7si); - + if (!(asn1obj = PKCS7_get_signed_attribute(p7si, NID_pkcs9_signingTime))) { ossl_raise(ePKCS7Error, NULL); } |