commit | cf3a667634ef93c47c0ef3056a01c47112e49427 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sun Feb 01 20:33:22 2015 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sun Feb 01 20:33:22 2015 -0800 |
tree | a83946b4f824f84162a40758dbf4dcd9318b8e50 | |
parent | 2586be40cbcb1b3dce87bee72ef2c6c796cebeb3 [diff] [blame] |
build: Fix conditional compilation on availability of getpass() Change-Id: I3aa95c1b6afe2239f24642507da8090f7f58abac Refs: #2419
diff --git a/src/security/sec-tpm.cpp b/src/security/sec-tpm.cpp index eb107b1..5c12049 100644 --- a/src/security/sec-tpm.cpp +++ b/src/security/sec-tpm.cpp
@@ -363,7 +363,7 @@ { bool isInitialized = false; -#ifndef NDN_CXX_HAVE_GETPASS +#ifdef NDN_CXX_HAVE_GETPASS char* pw0 = 0; pw0 = getpass(prompt.c_str());