diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-03-13 23:07:57 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-03-13 23:07:57 +0000 |
commit | 636e8b707b47ae2111f3c33b04f8f06552f792d2 (patch) | |
tree | 408ca1efcc436b8afb747cf60949f47862cd3ac5 /crypto/openssl/crypto/rsa/rsa.h | |
parent | 8d89ba84f2d65c593831ba058d3627c2989aa9d0 (diff) | |
download | src-636e8b707b47ae2111f3c33b04f8f06552f792d2.tar.gz src-636e8b707b47ae2111f3c33b04f8f06552f792d2.zip |
MFC: Allow detection of RSAREF and use it to provide a more verbose
error message when openssh fails from a >1024 bit key.
Approved by: jkh
Notes
Notes:
svn path=/stable/4/; revision=58027
Diffstat (limited to 'crypto/openssl/crypto/rsa/rsa.h')
-rw-r--r-- | crypto/openssl/crypto/rsa/rsa.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/openssl/crypto/rsa/rsa.h b/crypto/openssl/crypto/rsa/rsa.h index 6c17cccdef6b..3040d03233db 100644 --- a/crypto/openssl/crypto/rsa/rsa.h +++ b/crypto/openssl/crypto/rsa/rsa.h @@ -244,6 +244,8 @@ int RSA_get_ex_new_index(long argl, char *argp, int (*new_func)(), int RSA_set_ex_data(RSA *r,int idx,char *arg); char *RSA_get_ex_data(RSA *r, int idx); +int RSA_libversion(); + /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run. @@ -308,6 +310,9 @@ char *RSA_get_ex_data(RSA *r, int idx); #define RSA_R_UNKNOWN_PADDING_TYPE 118 #define RSA_R_WRONG_SIGNATURE_LENGTH 119 +#define RSALIB_OPENSSL 1 +#define RSALIB_RSAREF 2 + #ifdef __cplusplus } #endif |