From 12fdf4bc92f05d9b052d1d76fffaab940ea254dc Mon Sep 17 00:00:00 2001 From: zzak Date: Thu, 26 Sep 2013 13:01:54 +0000 Subject: * ext/openssl/ossl.c: [DOC] typo in example by @zoranzaric [Fixes GH-401] https://github.com/ruby/ruby/pull/401 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl/ossl.c') diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c index 76fe3ea7fc..43ccf4c3fd 100644 --- a/ext/openssl/ossl.c +++ b/ext/openssl/ossl.c @@ -844,7 +844,7 @@ static void Init_ossl_locks(void) * cipher = OpenSSL::Cipher::Cipher.new 'AES-128-CBC' * * open 'ca_key.pem', 'w', 0400 do |io| - * io.write key.export(cipher, pass_phrase) + * io.write ca_key.export(cipher, pass_phrase) * end * * === CA Certificate -- cgit v1.2.3