diff options
Diffstat (limited to 'certmanager/lib/tests/test.data')
-rw-r--r-- | certmanager/lib/tests/test.data | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/certmanager/lib/tests/test.data b/certmanager/lib/tests/test.data index f09481ba5..b4bce1a93 100644 --- a/certmanager/lib/tests/test.data +++ b/certmanager/lib/tests/test.data @@ -116,7 +116,7 @@ static int status( void * void_ctx, const char * line ) { static int inquire( void * void_ctx, const char * keyword ) { assuan_context_t ctx = (assuan_context_t)void_ctx; assert( ctx ); - const std::map<std::string,std::string>::const_iterator it = inquireData.tqfind( keyword ); + const std::map<std::string,std::string>::const_iterator it = inquireData.find( keyword ); if ( it == inquireData.end() ) return gpg_error( GPG_ERR_UNKNOWN_COMMAND ); @@ -179,7 +179,7 @@ int main( int argc, char * argv[] ) { options.push_back( argv[++optind] ); } else if ( qstrcmp( arg, "--inquire" ) == 0 ) { const std::string inqval = argv[++optind]; - const size_t pos = inqval.tqfind( '=' ); + const size_t pos = inqval.find( '=' ); // ### implement indirection with "@file"... inquireData[inqval.substr( 0, pos )] = inqval.substr( pos+1 ); } else { |