summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/gmp_util.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-04-07 22:03:52 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-04-07 22:03:52 +0000
commitbfda7c7b078153a43706d84ea1db2f68cdeb00bb (patch)
treea209565638e5f0c342209ace41c4bc6d0118dbff /sbin/isakmpd/gmp_util.h
parent275628a9471d35671e5a7bad9e9d4e26cf3e1ee0 (diff)
gmp_util.c: Merge with EOM 1.4
gmp_util.h: Merge with EOM 1.2 author: niklas Ugly multi-implementation MP support, will get better later
Diffstat (limited to 'sbin/isakmpd/gmp_util.h')
-rw-r--r--sbin/isakmpd/gmp_util.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/sbin/isakmpd/gmp_util.h b/sbin/isakmpd/gmp_util.h
index d0d4c54940a..7d064694984 100644
--- a/sbin/isakmpd/gmp_util.h
+++ b/sbin/isakmpd/gmp_util.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: gmp_util.h,v 1.3 1998/11/17 11:10:11 niklas Exp $ */
-/* $EOM: gmp_util.h,v 1.1 1998/08/03 19:32:36 provos Exp $ */
+/* $OpenBSD: gmp_util.h,v 1.4 2000/04/07 22:03:51 niklas Exp $ */
+/* $EOM: gmp_util.h,v 1.2 2000/04/07 19:40:15 niklas Exp $ */
/*
* Copyright (c) 1998 Niels Provos. All rights reserved.
@@ -37,8 +37,10 @@
#ifndef _GMP_UTIL_H_
#define _GMP_UTIL_H_
-u_int32_t mpz_sizeinoctets (mpz_ptr);
-void mpz_getraw (u_int8_t *, mpz_ptr, u_int32_t);
-void mpz_setraw (mpz_ptr, u_int8_t *, u_int32_t);
+#include "math_mp.h"
+
+u_int32_t mpz_sizeinoctets (math_mp_t);
+void mpz_getraw (u_int8_t *, BIGNUM *, u_int32_t);
+void mpz_setraw (math_mp_t, u_int8_t *, u_int32_t);
#endif /* _GMP_UTIL_H_ */