diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 05:02:23 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 05:02:23 +0000 |
commit | f7297dd79d37768c5cdd55ca15d2cf13963b7281 (patch) | |
tree | 82d2dbbe6a4243077c37fc3d681042c82ba58922 | |
parent | 680b276aad588b1006b5199a66e374d3f0936079 (diff) |
- markus@cvs.openbsd.org 2001/06/27 05:42:25
[rsa.c rsa.h ssh-agent.c ssh-keygen.c]
s/generate_additional_parameters/rsa_generate_additional_parameters/
http://www.humppa.com/
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | rsa.c | 4 | ||||
-rw-r--r-- | rsa.h | 4 | ||||
-rw-r--r-- | ssh-agent.c | 8 | ||||
-rw-r--r-- | ssh-keygen.c | 4 |
5 files changed, 15 insertions, 11 deletions
@@ -89,6 +89,10 @@ | |||
89 | - markus@cvs.openbsd.org 2001/06/27 05:35:42 | 89 | - markus@cvs.openbsd.org 2001/06/27 05:35:42 |
90 | [ssh-keygen.c] | 90 | [ssh-keygen.c] |
91 | use cyberflex_inq_class to inquire class. | 91 | use cyberflex_inq_class to inquire class. |
92 | - markus@cvs.openbsd.org 2001/06/27 05:42:25 | ||
93 | [rsa.c rsa.h ssh-agent.c ssh-keygen.c] | ||
94 | s/generate_additional_parameters/rsa_generate_additional_parameters/ | ||
95 | http://www.humppa.com/ | ||
92 | 96 | ||
93 | 20010629 | 97 | 20010629 |
94 | - (bal) Removed net_aton() since we don't use it any more | 98 | - (bal) Removed net_aton() since we don't use it any more |
@@ -5916,4 +5920,4 @@ | |||
5916 | - Wrote replacements for strlcpy and mkdtemp | 5920 | - Wrote replacements for strlcpy and mkdtemp |
5917 | - Released 1.0pre1 | 5921 | - Released 1.0pre1 |
5918 | 5922 | ||
5919 | $Id: ChangeLog,v 1.1364 2001/07/04 05:00:11 mouring Exp $ | 5923 | $Id: ChangeLog,v 1.1365 2001/07/04 05:02:23 mouring Exp $ |
@@ -60,7 +60,7 @@ | |||
60 | */ | 60 | */ |
61 | 61 | ||
62 | #include "includes.h" | 62 | #include "includes.h" |
63 | RCSID("$OpenBSD: rsa.c,v 1.22 2001/03/26 23:23:23 markus Exp $"); | 63 | RCSID("$OpenBSD: rsa.c,v 1.23 2001/06/27 05:42:24 markus Exp $"); |
64 | 64 | ||
65 | #include "rsa.h" | 65 | #include "rsa.h" |
66 | #include "log.h" | 66 | #include "log.h" |
@@ -121,7 +121,7 @@ rsa_private_decrypt(BIGNUM *out, BIGNUM *in, RSA *key) | |||
121 | } | 121 | } |
122 | 122 | ||
123 | void | 123 | void |
124 | generate_additional_parameters(RSA *rsa) | 124 | rsa_generate_additional_parameters(RSA *rsa) |
125 | { | 125 | { |
126 | BIGNUM *aux; | 126 | BIGNUM *aux; |
127 | BN_CTX *ctx; | 127 | BN_CTX *ctx; |
@@ -11,7 +11,7 @@ | |||
11 | * called by a name other than "ssh" or "Secure Shell". | 11 | * called by a name other than "ssh" or "Secure Shell". |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /* RCSID("$OpenBSD: rsa.h,v 1.13 2001/06/26 17:27:24 markus Exp $"); */ | 14 | /* RCSID("$OpenBSD: rsa.h,v 1.14 2001/06/27 05:42:24 markus Exp $"); */ |
15 | 15 | ||
16 | #ifndef RSA_H | 16 | #ifndef RSA_H |
17 | #define RSA_H | 17 | #define RSA_H |
@@ -21,6 +21,6 @@ | |||
21 | 21 | ||
22 | void rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *); | 22 | void rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *); |
23 | int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *); | 23 | int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *); |
24 | void generate_additional_parameters(RSA *); | 24 | void rsa_generate_additional_parameters(RSA *); |
25 | 25 | ||
26 | #endif /* RSA_H */ | 26 | #endif /* RSA_H */ |
diff --git a/ssh-agent.c b/ssh-agent.c index 41dd777cb..309b9d414 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-agent.c,v 1.59 2001/06/26 05:33:34 markus Exp $ */ | 1 | /* $OpenBSD: ssh-agent.c,v 1.60 2001/06/27 05:42:25 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | RCSID("$OpenBSD: ssh-agent.c,v 1.59 2001/06/26 05:33:34 markus Exp $"); | 39 | RCSID("$OpenBSD: ssh-agent.c,v 1.60 2001/06/27 05:42:25 markus Exp $"); |
40 | 40 | ||
41 | #include <openssl/evp.h> | 41 | #include <openssl/evp.h> |
42 | #include <openssl/md5.h> | 42 | #include <openssl/md5.h> |
@@ -385,7 +385,7 @@ process_add_identity(SocketEntry *e, int version) | |||
385 | buffer_get_bignum(&e->input, k->rsa->p); /* q */ | 385 | buffer_get_bignum(&e->input, k->rsa->p); /* q */ |
386 | 386 | ||
387 | /* Generate additional parameters */ | 387 | /* Generate additional parameters */ |
388 | generate_additional_parameters(k->rsa); | 388 | rsa_generate_additional_parameters(k->rsa); |
389 | break; | 389 | break; |
390 | case 2: | 390 | case 2: |
391 | type_name = buffer_get_string(&e->input, NULL); | 391 | type_name = buffer_get_string(&e->input, NULL); |
@@ -410,7 +410,7 @@ process_add_identity(SocketEntry *e, int version) | |||
410 | buffer_get_bignum2(&e->input, k->rsa->q); | 410 | buffer_get_bignum2(&e->input, k->rsa->q); |
411 | 411 | ||
412 | /* Generate additional parameters */ | 412 | /* Generate additional parameters */ |
413 | generate_additional_parameters(k->rsa); | 413 | rsa_generate_additional_parameters(k->rsa); |
414 | break; | 414 | break; |
415 | default: | 415 | default: |
416 | buffer_clear(&e->input); | 416 | buffer_clear(&e->input); |
diff --git a/ssh-keygen.c b/ssh-keygen.c index cd5d5e559..e085c12c8 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: ssh-keygen.c,v 1.67 2001/06/27 05:35:42 markus Exp $"); | 15 | RCSID("$OpenBSD: ssh-keygen.c,v 1.68 2001/06/27 05:42:25 markus Exp $"); |
16 | 16 | ||
17 | #include <openssl/evp.h> | 17 | #include <openssl/evp.h> |
18 | #include <openssl/pem.h> | 18 | #include <openssl/pem.h> |
@@ -264,7 +264,7 @@ do_convert_private_ssh2_from_blob(char *blob, int blen) | |||
264 | buffer_get_bignum_bits(&b, key->rsa->iqmp); | 264 | buffer_get_bignum_bits(&b, key->rsa->iqmp); |
265 | buffer_get_bignum_bits(&b, key->rsa->q); | 265 | buffer_get_bignum_bits(&b, key->rsa->q); |
266 | buffer_get_bignum_bits(&b, key->rsa->p); | 266 | buffer_get_bignum_bits(&b, key->rsa->p); |
267 | generate_additional_parameters(key->rsa); | 267 | rsa_generate_additional_parameters(key->rsa); |
268 | break; | 268 | break; |
269 | } | 269 | } |
270 | rlen = buffer_len(&b); | 270 | rlen = buffer_len(&b); |