diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2014-06-24 01:13:23 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2014-06-24 01:13:23 +0000 |
commit | 6eeffb4d8cef5c4af07cdfe1568ddd07732d938d (patch) | |
tree | 71385fbd9b6f1c30167244402b8c6995b8280b09 /usr.bin/ssh/rsa.h | |
parent | 87397b9af873c49c8225e36543de0ab5cc29187c (diff) |
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 */ |