#include <openssl/opensslconf.h>#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <time.h>#include <string.h>#include "apps.h"#include <openssl/bio.h>#include <openssl/err.h>#include <openssl/bn.h>#include <openssl/dsa.h>#include <openssl/x509.h>#include <openssl/pem.h>Go to the source code of this file.
Defines | |
| #define | PROG dsaparam_main |
Functions | |
| static int MS_CALLBACK | dsa_cb (int p, int n, BN_GENCB *cb) |
| int | MAIN (int, char **) |
|
|
Definition at line 81 of file dsaparam.c. |
|
||||||||||||||||
|
Definition at line 459 of file dsaparam.c. References bn_gencb_st::arg, BIO_flush, BIO_write(), c, and void(). Referenced by main(). 00460 { 00461 char c='*'; 00462 00463 if (p == 0) c='.'; 00464 if (p == 1) c='+'; 00465 if (p == 2) c='*'; 00466 if (p == 3) c='\n'; 00467 BIO_write(cb->arg,&c,1); 00468 (void)BIO_flush(cb->arg); 00469 #ifdef LINT 00470 p=n; 00471 #endif 00472 #ifdef GENCB_TEST 00473 if(stop_keygen_flag) 00474 return 0; 00475 #endif 00476 return 1; 00477 }
|
|
||||||||||||
|
|