lib/functions.rb in ovpn-key-0.7.2 vs lib/functions.rb in ovpn-key-0.7.3

- old
+ new

@@ -18,12 +18,12 @@ sign_key(type, certname, certname) end def gen_key type, certname, no_password if no_password - exe "#{OPENSSL} genrsa -out '#{certname}.key' #{KEY_SIZE} -config #{SSL_CONF} -extensions ext.#{type}" + exe "#{OPENSSL} genrsa -out '#{certname}.key' #{KEY_SIZE}" else - exe "#{OPENSSL} genrsa -#{ENCRYPT} -out '#{certname}.key' #{KEY_SIZE} -config #{SSL_CONF} -extensions ext.#{type}" + exe "#{OPENSSL} genrsa -#{ENCRYPT} -out '#{certname}.key' #{KEY_SIZE}" end end def sign_key type, certname, cn if certname == 'ca'