Sha256: 1cb8937fb19ec9bb31b07a130cab4f92b72a1aad3271aafe508fcf1b3d61d0b1
Contents?: true
Size: 601 Bytes
Versions: 1
Compression:
Stored size: 601 Bytes
Contents
module RubyEasyRSA module Commands module Mixins module AlgoConfig def configure_command(builder, opts) algorithm = opts[:algorithm] curve = opts[:curve] ec_directory = opts[:ec_directory] builder = super(builder, opts) builder = builder.with_environment_variable( 'EASYRSA_EC_DIR', ec_directory) if ec_directory builder = builder.with_option('--use-algo', algorithm) if algorithm builder = builder.with_option('--curve', curve) if curve builder end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_easy_rsa-0.2.0.pre.5 | lib/ruby_easy_rsa/commands/mixins/algo_config.rb |