summaryrefslogtreecommitdiff
path: root/sample/openssl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
commit3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch)
treec4a278220ba8141b829c5c7b0777c1049cfe413c /sample/openssl
parent39da1b63699faf30c86e753e193c29b81b16136d (diff)
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/openssl')
-rw-r--r--sample/openssl/certstore.rb2
-rw-r--r--sample/openssl/smime_write.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/sample/openssl/certstore.rb b/sample/openssl/certstore.rb
index bbc637f..c0bc21b 100644
--- a/sample/openssl/certstore.rb
+++ b/sample/openssl/certstore.rb
@@ -48,7 +48,7 @@ class CertStore
case guess_cert_type(cert)
when CERT_TYPE_SELF_SIGNED
true
- when CERT_TYPE_OTHER
+ when CERT_TYPE_OTHER
true
else
false
diff --git a/sample/openssl/smime_write.rb b/sample/openssl/smime_write.rb
index 535b3d6..5a5236c 100644
--- a/sample/openssl/smime_write.rb
+++ b/sample/openssl/smime_write.rb
@@ -20,4 +20,4 @@ smime0 = PKCS7::write_smime(p7sig)
rcpt = X509::Certificate.new(File::read(rcpt_file))
p7enc = PKCS7::encrypt([rcpt], smime0)
-print PKCS7::write_smime(p7enc)
+print PKCS7::write_smime(p7enc)