mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
a couple of changes; but some parts are now broken
This commit is contained in:
parent
d6fa02add6
commit
4c0c155922
46 changed files with 1879 additions and 433 deletions
|
@ -55,5 +55,8 @@
|
|||
#define G10ERR_TRUSTDB 33 /* a problem with the trustdb */
|
||||
#define G10ERR_BAD_CERT 34 /* bad certicate */
|
||||
#define G10ERR_INV_USER_ID 35
|
||||
#define G10ERR_CLOSE_FILE 36
|
||||
#define G10ERR_RENAME_FILE 37
|
||||
#define G10ERR_DELETE_FILE 38
|
||||
|
||||
#endif /*G10_ERRORS_H*/
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
#ifndef G10_I18N_H
|
||||
#define G10_I18N_H
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h> /* suggested by Ernst Molitor */
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBINTL
|
||||
#include <libintl.h>
|
||||
#define _(a) gettext (a)
|
||||
|
|
|
@ -88,6 +88,7 @@ ulong iobuf_tell( IOBUF a );
|
|||
int iobuf_seek( IOBUF a, ulong newpos );
|
||||
|
||||
int iobuf_readbyte(IOBUF a);
|
||||
int iobuf_read(IOBUF a, byte *buf, unsigned buflen );
|
||||
int iobuf_writebyte(IOBUF a, unsigned c);
|
||||
int iobuf_write(IOBUF a, byte *buf, unsigned buflen );
|
||||
int iobuf_writestr(IOBUF a, const char *buf );
|
||||
|
|
|
@ -132,6 +132,9 @@ int mpi_gcd( MPI g, MPI a, MPI b );
|
|||
void mpi_pow( MPI w, MPI u, MPI v);
|
||||
void mpi_powm( MPI res, MPI base, MPI exp, MPI mod);
|
||||
|
||||
/*-- mpi-mpow.c --*/
|
||||
void mpi_mulpowm( MPI res, MPI *basearray, MPI *exparray, MPI mod);
|
||||
|
||||
/*-- mpi-cmp.c --*/
|
||||
int mpi_cmp_ui( MPI u, ulong v );
|
||||
int mpi_cmp( MPI u, MPI v );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue