diff options
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r-- | monitor_wrap.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c index 0986fc518..db3251b93 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor_wrap.c,v 1.64 2008/11/04 08:22:13 djm Exp $ */ | 1 | /* $OpenBSD: monitor_wrap.c,v 1.65 2009/03/05 07:18:19 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> | 4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> |
@@ -71,6 +71,7 @@ | |||
71 | #include "atomicio.h" | 71 | #include "atomicio.h" |
72 | #include "monitor_fdpass.h" | 72 | #include "monitor_fdpass.h" |
73 | #include "misc.h" | 73 | #include "misc.h" |
74 | #include "schnorr.h" | ||
74 | #include "jpake.h" | 75 | #include "jpake.h" |
75 | 76 | ||
76 | #include "channels.h" | 77 | #include "channels.h" |
@@ -1282,7 +1283,7 @@ mm_auth2_jpake_get_pwdata(Authctxt *authctxt, BIGNUM **s, | |||
1282 | } | 1283 | } |
1283 | 1284 | ||
1284 | void | 1285 | void |
1285 | mm_jpake_step1(struct jpake_group *grp, | 1286 | mm_jpake_step1(struct modp_group *grp, |
1286 | u_char **id, u_int *id_len, | 1287 | u_char **id, u_int *id_len, |
1287 | BIGNUM **priv1, BIGNUM **priv2, BIGNUM **g_priv1, BIGNUM **g_priv2, | 1288 | BIGNUM **priv1, BIGNUM **priv2, BIGNUM **g_priv1, BIGNUM **g_priv2, |
1288 | u_char **priv1_proof, u_int *priv1_proof_len, | 1289 | u_char **priv1_proof, u_int *priv1_proof_len, |
@@ -1317,7 +1318,7 @@ mm_jpake_step1(struct jpake_group *grp, | |||
1317 | } | 1318 | } |
1318 | 1319 | ||
1319 | void | 1320 | void |
1320 | mm_jpake_step2(struct jpake_group *grp, BIGNUM *s, | 1321 | mm_jpake_step2(struct modp_group *grp, BIGNUM *s, |
1321 | BIGNUM *mypub1, BIGNUM *theirpub1, BIGNUM *theirpub2, BIGNUM *mypriv2, | 1322 | BIGNUM *mypub1, BIGNUM *theirpub1, BIGNUM *theirpub2, BIGNUM *mypriv2, |
1322 | const u_char *theirid, u_int theirid_len, | 1323 | const u_char *theirid, u_int theirid_len, |
1323 | const u_char *myid, u_int myid_len, | 1324 | const u_char *myid, u_int myid_len, |
@@ -1357,7 +1358,7 @@ mm_jpake_step2(struct jpake_group *grp, BIGNUM *s, | |||
1357 | } | 1358 | } |
1358 | 1359 | ||
1359 | void | 1360 | void |
1360 | mm_jpake_key_confirm(struct jpake_group *grp, BIGNUM *s, BIGNUM *step2_val, | 1361 | mm_jpake_key_confirm(struct modp_group *grp, BIGNUM *s, BIGNUM *step2_val, |
1361 | BIGNUM *mypriv2, BIGNUM *mypub1, BIGNUM *mypub2, | 1362 | BIGNUM *mypriv2, BIGNUM *mypub1, BIGNUM *mypub2, |
1362 | BIGNUM *theirpub1, BIGNUM *theirpub2, | 1363 | BIGNUM *theirpub1, BIGNUM *theirpub2, |
1363 | const u_char *my_id, u_int my_id_len, | 1364 | const u_char *my_id, u_int my_id_len, |