Skip to content

Commit

Permalink
release 2.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrdjan committed May 26, 2021
1 parent 749853a commit e7cba90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions doc/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ USER=wstest
PASSWD=wstest
CLIENT=000
LANG=EN
TLS_CLIENT_PSE=/Users/d037732/dotfiles/sec/rfctest.pse
TLS_CLIENT_PSE=/Users/rfctest/sec/rfctest.pse
```

Authentication with client certificate
Expand All @@ -61,7 +61,7 @@ WSHOST=ldcialx.wdf.sap.corp
WSPORT=44318
CLIENT=000
LANG=EN
TLS_CLIENT_PSE=/Users/d037732/dotfiles/sec/rfctest.pse
TLS_CLIENT_PSE=/Users/rfctest/sec/rfctest.pse
```

The path to crypto library can be also set by `loadCryptoLibrary` method, available from `node-rfc` 2.4.3:
Expand Down
12 changes: 6 additions & 6 deletions test/utils/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ const _sapnwrfcIniPath = require("path").join(process.cwd(), "test"),
win32:
//"C:\\Program Files\\SAP\\FrontEnd\\SecureLogin\\libsapcrypto.dll",
"C:\\Tools\\cryptolib\\sapcrypto.dll",
},
_ClientPSEPath = {
darwin: "/Users/d037732/dotfiles/sec/rfctest.pse",
linux: "/home/www-admin/sec/rfctest.pse",
win32: "C:\\Tools\\sec\\rfctest.pse",
};
// _ClientPSEPath = {
// darwin: "/Users/d037732/dotfiles/sec/rfctest.pse",
// linux: "/home/www-admin/sec/rfctest.pse",
// win32: "C:\\Tools\\sec\\rfctest.pse",
// };

const _environment = {
platform: {
Expand Down Expand Up @@ -55,7 +55,7 @@ const _CONNECTIONS = 0x20,
};

_binding.setIniFileDirectory(_sapnwrfcIniPath);
_binding.loadCryptoLibrary(_CryptoLibPath[process.platform]);
// _binding.loadCryptoLibrary(_CryptoLibPath[process.platform]);

module.exports = {
binding: _binding,
Expand Down

0 comments on commit e7cba90

Please sign in to comment.