Home
last modified time | relevance | path

Searched refs:pszReply (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/crypto/external/cpl/tpm-tools/dist/lib/
H A Dtpm_utils.c232 char *pszReply = NULL; in getReply() local
238 pszReply = (char *)calloc( iReplyLen, 1 ); in getReply()
239 if ( !pszReply ) in getReply()
243 pszReply = fgets( pszReply, iReplyLen, stdin ); in getReply()
244 if ( !pszReply ) in getReply()
248 if ( ( pszReply[ a_iMaxLen ] != '\n' ) && ( pszReply[ a_iMaxLen ] != '\0' ) ) { in getReply()
249 free( pszReply ); in getReply()
250 pszReply = NULL; in getReply()
255 if ( pszReply[ iReplyLen ] == '\0' ) in getReply()
258 if ( pszReply[ iReplyLen ] == '\n' ) in getReply()
[all …]
/netbsd-src/crypto/external/cpl/tpm-tools/dist/src/data_mgmt/
H A Ddata_init.c106 char *pszReply = NULL; in main() local
130 pszReply = getReply( TOKEN_CLEAR_PROMPT, 1 ); in main()
131 if ( !pszReply || in main()
132 ( strlen( pszReply ) == 0 ) || in main()
133 ( strcasecmp( pszReply, TOKEN_CLEAR_NO ) == 0 ) ) { in main()
216 free( pszReply ); in main()
H A Ddata_import.c247 char *pszReply = NULL; in checkExistingObjects() local
259 pszReply = getReply( szPrompt, 1 ); in checkExistingObjects()
260 if ( !pszReply || in checkExistingObjects()
261 ( strlen( pszReply ) == 0 ) || in checkExistingObjects()
262 ( strcasecmp( pszReply, TOKEN_ID_NO ) == 0 ) ) { in checkExistingObjects()
273 free( pszReply ); in checkExistingObjects()
940 char *pszReply = NULL; in getSubjectId() local
955 pszReply = getReply( TOKEN_ID_MISSING_PROMPT, 1 ); in getSubjectId()
956 if ( !pszReply || in getSubjectId()
957 ( strlen( pszReply ) == 0 ) || in getSubjectId()
[all …]