mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
est_client: fixup typo
Fixes: WIFI-14694 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -9,7 +9,7 @@ import * as fs from 'fs';
|
|||||||
ulog_open(ULOG_SYSLOG | ULOG_STDIO, LOG_DAEMON, "est_client");
|
ulog_open(ULOG_SYSLOG | ULOG_STDIO, LOG_DAEMON, "est_client");
|
||||||
|
|
||||||
function generate_csr(cert) {
|
function generate_csr(cert) {
|
||||||
if (!fs.stat('/rmp/csr.nohdr.p10')) {
|
if (!fs.stat('/tmp/csr.nohdr.p10')) {
|
||||||
let pipe = fs.popen(`openssl x509 -in ${cert} -noout -subject`);
|
let pipe = fs.popen(`openssl x509 -in ${cert} -noout -subject`);
|
||||||
let subject = pipe.read("all");
|
let subject = pipe.read("all");
|
||||||
pipe.close();
|
pipe.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user