Home | History | Annotate | Download | only in apps

Lines Matching full:bio_err

152 			BIO_printf(bio_err,"  %d = \"%s\"\n", j, pp[j]);
184 BIO_printf(bio_err,"Memory allocation failure\n");
207 BIO_printf(bio_err,"variable lookup failed for %s::%s\n",name,tag);
314 if (bio_err == NULL)
315 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
316 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
378 BIO_printf(bio_err,"unknown option %s\n",*argv);
391 BIO_printf(bio_err,"-dbfile and -configfile cannot be specified together.\n");
396 BIO_printf(bio_err,"Exactly one of the options -add, -delete, -modify -list must be specified.\n");
401 BIO_printf(bio_err,"Need at least one user for options -add, -delete, -modify. \n");
406 BIO_printf(bio_err,"-passin, -passout arguments only valid with one user.\n");
413 BIO_printf(bio_err,"%s",*pp);
415 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
416 BIO_printf(bio_err," load the file (or the files in the directory) into\n");
417 BIO_printf(bio_err," the random number generator\n");
424 setup_engine(bio_err, engine, 0);
427 if(!app_passwd(bio_err, passargin, passargout, &passin, &passout))
429 BIO_printf(bio_err, "Error getting passwords\n");
460 VERBOSE BIO_printf(bio_err,"Using configuration from %s\n",configfile);
465 BIO_printf(bio_err,"error loading the config file '%s'\n",
468 BIO_printf(bio_err,"error on line %ld of config file '%s'\n"
478 if (!load_config(bio_err, conf))
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);
510 app_RAND_load_file(randfile, bio_err, 0);
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");
541 BIO_printf(bio_err, "No g and N value for index \"%s\"\n", gN);
546 VERBOSE BIO_printf(bio_err, "Database has no g N information.\n");
551 VVERBOSE BIO_printf(bio_err,"Starting user processing\n");
560 VVERBOSE BIO_printf(bio_err, "Processing user \"%s\"\n", user);
563 print_user(db, bio_err, userindex, (verbose > 0) || list_user);
570 BIO_printf(bio_err,"List all users\n");
574 print_user(db,bio_err, i, 1);
580 BIO_printf(bio_err, "user \"%s\" does not exist, ignored. t\n",
591 BIO_printf(bio_err, "user \"%s\" reactivated.\n", 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)))
604 BIO_printf(bio_err, "Cannot create srp verifier for user \"%s\", operation abandoned .\n", user);
614 !update_index(db, bio_err, row))
631 BIO_printf(bio_err,"user \"%s\" does not exist, operation ignored.\n",user);
641 BIO_printf(bio_err,"user \"%s\" already updated, operation ignored.\n",user);
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))
658 BIO_printf(bio_err, "Invalid password for user \"%s\", operation abandoned.\n", user);
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)))
667 BIO_printf(bio_err, "Cannot create srp verifier for user \"%s\", operation abandoned.\n", user);
687 BIO_printf(bio_err, "user \"%s\" does not exist, operation ignored. t\n", user);
693 BIO_printf(bio_err, "user \"%s\" revoked. t\n", user);
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);
743 if (ret) ERR_print_errors(bio_err);
744 if (randfile) app_RAND_write_file(randfile, bio_err);