diff options
author | 2014-06-24 01:13:21 +0000 | |
---|---|---|
committer | 2014-06-24 01:13:21 +0000 | |
commit | ea2d82896aadc5516ed8ed1ff9a4ef9408d5e35e (patch) | |
tree | e4b629e51465a0e8cfe0dfb9d18f14cbcfad801d /usr.bin/ssh/rsa.h | |
parent | regress test for broken consecutive revoked serial number ranges (diff) | |
download | wireguard-openbsd-ea2d82896aadc5516ed8ed1ff9a4ef9408d5e35e.tar.xz wireguard-openbsd-ea2d82896aadc5516ed8ed1ff9a4ef9408d5e35e.zip |
New key API: refactor key-related functions to be more library-like,
existing API is offered as a set of wrappers.
with and ok markus@
Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew
Dempsky and Ron Bowes for a detailed review a few months ago.
Diffstat (limited to 'usr.bin/ssh/rsa.h')
-rw-r--r-- | usr.bin/ssh/rsa.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/rsa.h b/usr.bin/ssh/rsa.h index b841ea4e10f..c476707d53b 100644 --- a/usr.bin/ssh/rsa.h +++ b/usr.bin/ssh/rsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa.h,v 1.16 2006/03/25 22:22:43 djm Exp $ */ +/* $OpenBSD: rsa.h,v 1.17 2014/06/24 01:13:21 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -19,8 +19,8 @@ #include <openssl/bn.h> #include <openssl/rsa.h> -void rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *); +int rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *); int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *); -void rsa_generate_additional_parameters(RSA *); +int rsa_generate_additional_parameters(RSA *); #endif /* RSA_H */ |