mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
provided by Andrew.
This commit is contained in:
@ -26,7 +26,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $PostgreSQL: pgsql/contrib/pgcrypto/pgp-mpi.c,v 1.4 2005/10/15 02:49:06 momjian Exp $
|
||||
* $PostgreSQL: pgsql/contrib/pgcrypto/pgp-mpi.c,v 1.5 2009/06/11 14:48:52 momjian Exp $
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
#include "pgp.h"
|
||||
|
||||
int
|
||||
pgp_mpi_alloc(int bits, PGP_MPI ** mpi)
|
||||
pgp_mpi_alloc(int bits, PGP_MPI **mpi)
|
||||
{
|
||||
PGP_MPI *n;
|
||||
int len = (bits + 7) / 8;
|
||||
@ -54,7 +54,7 @@ pgp_mpi_alloc(int bits, PGP_MPI ** mpi)
|
||||
}
|
||||
|
||||
int
|
||||
pgp_mpi_create(uint8 *data, int bits, PGP_MPI ** mpi)
|
||||
pgp_mpi_create(uint8 *data, int bits, PGP_MPI **mpi)
|
||||
{
|
||||
int res;
|
||||
PGP_MPI *n;
|
||||
@ -68,7 +68,7 @@ pgp_mpi_create(uint8 *data, int bits, PGP_MPI ** mpi)
|
||||
}
|
||||
|
||||
int
|
||||
pgp_mpi_free(PGP_MPI * mpi)
|
||||
pgp_mpi_free(PGP_MPI *mpi)
|
||||
{
|
||||
if (mpi == NULL)
|
||||
return 0;
|
||||
@ -78,7 +78,7 @@ pgp_mpi_free(PGP_MPI * mpi)
|
||||
}
|
||||
|
||||
int
|
||||
pgp_mpi_read(PullFilter * src, PGP_MPI ** mpi)
|
||||
pgp_mpi_read(PullFilter *src, PGP_MPI **mpi)
|
||||
{
|
||||
int res;
|
||||
uint8 hdr[2];
|
||||
@ -103,7 +103,7 @@ pgp_mpi_read(PullFilter * src, PGP_MPI ** mpi)
|
||||
}
|
||||
|
||||
int
|
||||
pgp_mpi_write(PushFilter * dst, PGP_MPI * n)
|
||||
pgp_mpi_write(PushFilter *dst, PGP_MPI *n)
|
||||
{
|
||||
int res;
|
||||
uint8 buf[2];
|
||||
@ -117,7 +117,7 @@ pgp_mpi_write(PushFilter * dst, PGP_MPI * n)
|
||||
}
|
||||
|
||||
int
|
||||
pgp_mpi_hash(PX_MD * md, PGP_MPI * n)
|
||||
pgp_mpi_hash(PX_MD *md, PGP_MPI *n)
|
||||
{
|
||||
uint8 buf[2];
|
||||
|
||||
@ -130,7 +130,7 @@ pgp_mpi_hash(PX_MD * md, PGP_MPI * n)
|
||||
}
|
||||
|
||||
unsigned
|
||||
pgp_mpi_cksum(unsigned cksum, PGP_MPI * n)
|
||||
pgp_mpi_cksum(unsigned cksum, PGP_MPI *n)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
Reference in New Issue
Block a user