Home | History | Annotate | Download | only in apps

Lines Matching refs:verbose

87 " -verbose        Talk alot while doing things\n",
114 #define VERBOSE if (verbose)
115 #define VVERBOSE if (verbose>1)
143 static void print_entry(CA_DB *db, BIO *bio, int indx, int verbose, char *s)
145 if (indx >= 0 && verbose)
157 static void print_index(CA_DB *db, BIO *bio, int indexindex, int verbose)
159 print_entry(db, bio, indexindex, verbose, "g N entry") ;
162 static void print_user(CA_DB *db, BIO *bio, int userindex, int verbose)
164 if (verbose > 0)
170 print_entry(db, bio, userindex, verbose, "User entry");
171 print_entry(db, bio, get_index(db, pp[DB_srpgN], 'I'), verbose, "g N entry");
213 const char *passin, BIO *bio, int verbose)
225 VERBOSE BIO_printf(bio,"Validating\n user=\"%s\"\n srp_verifier=\"%s\"\n srp_usersalt=\"%s\"\n g=\"%s\"\n N=\"%s\"\n",user,srp_verifier,srp_usersalt, g, N);
244 char *passout, BIO *bio, int verbose)
255 VERBOSE BIO_printf(bio,"Creating\n user=\"%s\"\n g=\"%s\"\n N=\"%s\"\n",user,g,N);
288 int verbose=0;
322 if (strcmp(*argv,"-verbose") == 0)
323 verbose++;
460 VERBOSE BIO_printf(bio_err,"Using configuration from %s\n",configfile);
484 VERBOSE BIO_printf(bio_err,"trying to read " ENV_DEFAULT_SRP " in \" BASE_SECTION \"\n");
498 VERBOSE BIO_printf(bio_err,"trying to read " ENV_DATABASE " in section \"%s\"\n",section);
512 VERBOSE BIO_printf(bio_err,"Trying to read SRP verifier file \"%s\"\n",dbfile);
528 print_index(db, bio_err, i, verbose > 1);
532 VERBOSE BIO_printf(bio_err, "Database initialised\n");
537 print_entry(db, bio_err, gNindex, verbose > 1, "Default g and N");
546 VERBOSE BIO_printf(bio_err, "Database has no g N information.\n");
563 print_user(db, bio_err, userindex, (verbose > 0) || list_user);
602 if (!(gNid = srp_create_user(user,&(row[DB_srpverifier]), &(row[DB_srpsalt]),gNrow?gNrow[DB_srpsalt]:gN,gNrow?gNrow[DB_srpverifier]:NULL, passout, bio_err,verbose)))
652 VERBOSE BIO_printf(bio_err,"Verifying password for user \"%s\"\n",user);
656 if (!srp_verify_user(user, row[DB_srpverifier], row[DB_srpsalt], irow ? irow[DB_srpsalt] : row[DB_srpgN], irow ? irow[DB_srpverifier] : NULL, passin, bio_err, verbose))
663 VERBOSE BIO_printf(bio_err,"Password for user \"%s\" ok.\n",user);
665 if (!(gNid=srp_create_user(user,&(row[DB_srpverifier]), &(row[DB_srpsalt]),gNrow?gNrow[DB_srpsalt]:NULL, gNrow?gNrow[DB_srpverifier]:NULL, passout, bio_err,verbose)))
709 VERBOSE BIO_printf(bio_err,"User procession done.\n");
722 print_user(db, bio_err, i, verbose);
726 VERBOSE BIO_printf(bio_err, "Trying to update srpvfile.\n");
729 VERBOSE BIO_printf(bio_err, "Temporary srpvfile created.\n");
732 VERBOSE BIO_printf(bio_err, "srpvfile updated.\n");
738 VERBOSE BIO_printf(bio_err,"User errors %d.\n",errors);
740 VERBOSE BIO_printf(bio_err,"SRP terminating with code %d.\n",ret);