You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
639 B

  1. Index: EasyRSA-3.0.4/easyrsa
  2. ===================================================================
  3. --- EasyRSA-3.0.4.orig/easyrsa
  4. +++ EasyRSA-3.0.4/easyrsa
  5. @@ -1033,7 +1033,7 @@ vars_setup() {
  6. vars=
  7. # set up program path
  8. - prog_vars="${0%/*}/vars"
  9. + prog_vars="/etc/easy-rsa/vars"
  10. # set up PKI path
  11. pki_vars="${EASYRSA_PKI:-$PWD/pki}/vars"
  12. @@ -1060,7 +1060,7 @@ Note: using Easy-RSA configuration from:
  13. fi
  14. # Set defaults, preferring existing env-vars if present
  15. - set_var EASYRSA "${0%/*}"
  16. + set_var EASYRSA "/etc/easy-rsa"
  17. set_var EASYRSA_OPENSSL openssl
  18. set_var EASYRSA_PKI "$PWD/pki"
  19. set_var EASYRSA_DN cn_only