#include <openssl/opensslconf.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/dh.h>#include <openssl/x509.h>#include <openssl/pem.h>#include <openssl/dsa.h>Go to the source code of this file.
Defines | |
| #define | PROG dhparam_main |
| #define | DEFBITS 512 |
Functions | |
| static int MS_CALLBACK | dh_cb (int p, int n, BN_GENCB *cb) |
| int | MAIN (int, char **) |
|
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 541 of file dhparam.c. References bn_gencb_st::arg, BIO_flush, BIO_write(), c, and void(). 00542 { 00543 char c='*'; 00544 00545 if (p == 0) c='.'; 00546 if (p == 1) c='+'; 00547 if (p == 2) c='*'; 00548 if (p == 3) c='\n'; 00549 BIO_write(cb->arg,&c,1); 00550 (void)BIO_flush(cb->arg); 00551 #ifdef LINT 00552 p=n; 00553 #endif 00554 return 1; 00555 }
|
|
||||||||||||
|
|