Update the wording on the error message when libcrypto.so can't find an

RSA library.

Reviewed by:	peter, jkh
This commit is contained in:
Kris Kennaway 2000-03-02 06:21:02 +00:00
parent a5ee11a77a
commit 1d32417468
2 changed files with 8 additions and 4 deletions

View File

@ -55,9 +55,11 @@ getsym(const char *sym)
ret = dlsym(rsalib, sym);
#ifdef VERBOSE_STUBS
if (!ret && !whined) {
fprintf(stderr, "** %s: Unable to find an rsa implemenation shared library.\n", sym);
fprintf(stderr, "** %s: Unable to find an RSA implemenation shared library.\n", sym);
fprintf(stderr, "** Install either the USA (%s) or International (%s)\n", RSAINTL_SHLIB, RSAUSA_SHLIB);
fprintf(stderr, "** RSA library on your system and run this program again\n");
fprintf(stderr, "** RSA library on your system and run this program again.\n");
fprintf(stderr, "** See Chapter 6.5 of the FreeBSD Handbook, located at\n");
fprintf(stderr, "** http://www.freebsd.org/handbook/openssl.html, for more information.\n");
whined = 1;
}
#endif

View File

@ -61,8 +61,10 @@ getsym(const char *sym)
ret = dlsym(rsalib, sym);
#ifdef VERBOSE_STUBS
if (!ret && !whined) {
fprintf(stderr, "** %s: Unable to find an rsaref shared library (%s).\n", sym, RSA_SHLIB);
fprintf(stderr, "** Install an RSA package on your system and run this program again\n");
fprintf(stderr, "** %s: Unable to find an RSAREF shared library (%s).\n", sym, RSA_SHLIB);
fprintf(stderr, "** Install the /usr/ports/security/rsaref port or package and run this\n");
fprintf(stderr, "** program again. See Chapter 6.5 in the FreeBSD Handbook, located at\n");
fprintf(stderr, "** http://www.freebsd.org/handbook/openssl.html, for more information.\n");
whined = 1;
}
#endif