[rsa.c rsa.h ssh-agent.c ssh-keygen.c]
     s/generate_additional_parameters/rsa_generate_additional_parameters/
     http://www.humppa.com/
This commit is contained in:
Ben Lindstrom 2001-07-04 05:02:23 +00:00
parent 680b276aad
commit f7297dd79d
5 changed files with 15 additions and 11 deletions

View File

@ -89,6 +89,10 @@
- markus@cvs.openbsd.org 2001/06/27 05:35:42
[ssh-keygen.c]
use cyberflex_inq_class to inquire class.
- 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/
20010629
- (bal) Removed net_aton() since we don't use it any more
@ -5916,4 +5920,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1364 2001/07/04 05:00:11 mouring Exp $
$Id: ChangeLog,v 1.1365 2001/07/04 05:02:23 mouring Exp $

4
rsa.c
View File

@ -60,7 +60,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: rsa.c,v 1.22 2001/03/26 23:23:23 markus Exp $");
RCSID("$OpenBSD: rsa.c,v 1.23 2001/06/27 05:42:24 markus Exp $");
#include "rsa.h"
#include "log.h"
@ -121,7 +121,7 @@ rsa_private_decrypt(BIGNUM *out, BIGNUM *in, RSA *key)
}
void
generate_additional_parameters(RSA *rsa)
rsa_generate_additional_parameters(RSA *rsa)
{
BIGNUM *aux;
BN_CTX *ctx;

4
rsa.h
View File

@ -11,7 +11,7 @@
* called by a name other than "ssh" or "Secure Shell".
*/
/* RCSID("$OpenBSD: rsa.h,v 1.13 2001/06/26 17:27:24 markus Exp $"); */
/* RCSID("$OpenBSD: rsa.h,v 1.14 2001/06/27 05:42:24 markus Exp $"); */
#ifndef RSA_H
#define RSA_H
@ -21,6 +21,6 @@
void rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *);
int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *);
void generate_additional_parameters(RSA *);
void rsa_generate_additional_parameters(RSA *);
#endif /* RSA_H */

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ssh-agent.c,v 1.59 2001/06/26 05:33:34 markus Exp $ */
/* $OpenBSD: ssh-agent.c,v 1.60 2001/06/27 05:42:25 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@ -36,7 +36,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: ssh-agent.c,v 1.59 2001/06/26 05:33:34 markus Exp $");
RCSID("$OpenBSD: ssh-agent.c,v 1.60 2001/06/27 05:42:25 markus Exp $");
#include <openssl/evp.h>
#include <openssl/md5.h>
@ -385,7 +385,7 @@ process_add_identity(SocketEntry *e, int version)
buffer_get_bignum(&e->input, k->rsa->p); /* q */
/* Generate additional parameters */
generate_additional_parameters(k->rsa);
rsa_generate_additional_parameters(k->rsa);
break;
case 2:
type_name = buffer_get_string(&e->input, NULL);
@ -410,7 +410,7 @@ process_add_identity(SocketEntry *e, int version)
buffer_get_bignum2(&e->input, k->rsa->q);
/* Generate additional parameters */
generate_additional_parameters(k->rsa);
rsa_generate_additional_parameters(k->rsa);
break;
default:
buffer_clear(&e->input);

View File

@ -12,7 +12,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: ssh-keygen.c,v 1.67 2001/06/27 05:35:42 markus Exp $");
RCSID("$OpenBSD: ssh-keygen.c,v 1.68 2001/06/27 05:42:25 markus Exp $");
#include <openssl/evp.h>
#include <openssl/pem.h>
@ -264,7 +264,7 @@ do_convert_private_ssh2_from_blob(char *blob, int blen)
buffer_get_bignum_bits(&b, key->rsa->iqmp);
buffer_get_bignum_bits(&b, key->rsa->q);
buffer_get_bignum_bits(&b, key->rsa->p);
generate_additional_parameters(key->rsa);
rsa_generate_additional_parameters(key->rsa);
break;
}
rlen = buffer_len(&b);