diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2018-02-18 12:55:33 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2018-02-18 12:55:33 +0000 |
commit | 2afeb742beacaa75a92ae9e4fafe6c79cd74c91b (patch) | |
tree | 55d1a1ff765f8a8ea043ef086ab989391544064d /lib/libcrypto/rsa/rsa.h | |
parent | 132bb13a3574b2ba7f5461684248daf021448f94 (diff) |
Use usual order of RSA_{g,s}et0_key().
ok jsing
Diffstat (limited to 'lib/libcrypto/rsa/rsa.h')
-rw-r--r-- | lib/libcrypto/rsa/rsa.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/rsa/rsa.h b/lib/libcrypto/rsa/rsa.h index 51b06ba6aa5..6cce38d35c3 100644 --- a/lib/libcrypto/rsa/rsa.h +++ b/lib/libcrypto/rsa/rsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa.h,v 1.34 2018/02/18 12:53:46 tb Exp $ */ +/* $OpenBSD: rsa.h,v 1.35 2018/02/18 12:55:32 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -396,9 +396,9 @@ int RSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, int RSA_set_ex_data(RSA *r, int idx, void *arg); void *RSA_get_ex_data(const RSA *r, int idx); -int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d); +int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); |