summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-03-13 09:55:53 +0000
committerkris <kris@FreeBSD.org>2000-03-13 09:55:53 +0000
commit0d170b159679df777fc2943344eed0e38a7b8264 (patch)
treef413b85de1e884f4bd8c2429f21b6d959c03b0ee /secure
parent6120b1126eaf17944539dd92228156be55746b4c (diff)
downloadFreeBSD-src-0d170b159679df777fc2943344eed0e38a7b8264.zip
FreeBSD-src-0d170b159679df777fc2943344eed0e38a7b8264.tar.gz
Add a new function stub to libcrypto() which resolves to a symbol in
the librsa* library and reports which version of the library (OpenSSL/RSAREF) is being used. This is then used in openssh to detect the failure case of RSAREF and a RSA key >1024 bits, to print a more helpful error message than 'rsa_public_encrypt() fai led.' This is a 4.0-RELEASE candidate.
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/librsaintl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/secure/lib/librsaintl/Makefile b/secure/lib/librsaintl/Makefile
index e967203..d5fad13 100644
--- a/secure/lib/librsaintl/Makefile
+++ b/secure/lib/librsaintl/Makefile
@@ -11,7 +11,7 @@ SHLIB_MAJOR= 1
CFLAGS+= -I${.OBJDIR}
# rsaref
-SRCS+= rsa_err.c rsa_eay.c
+SRCS+= rsa_err.c rsa_eay.c rsa_intlstubs.c
HDRS= asn1/asn1.h asn1/asn1_mac.h bio/bio.h bf/blowfish.h bn/bn.h \
buffer/buffer.h cast/cast.h comp/comp.h conf/conf.h crypto.h \
OpenPOWER on IntegriCloud