Dear all,
I found some type misses in openssl-1.0.0a source code.
To take care of usability, I think these should be revised.
Below script is used at my checking.
$ cat grep.sh
cd /tmp
wget
tar xzf openssl-1.0.0a.tar.gz
cd openssl-1.0.0a
find . -name "*.[ch]" -exec grep -rnH appened {} \; | grep -v happened
for string in Distrubution Specifiy algorihm curvs experssion
neccessarily occured operaton regured unkown
do
find . -name "*.[ch]" -exec grep -rnH $string {} \;
done
And the result is below.
./crypto/dso/dso_win32.c:512:#if 0 /* Not needed, since the directory
converter above already appeneded
./crypto/dso/dso_win32.c:533:#if 0 /* Not needed, since the directory
converter above already appeneded
./apps/s_server.c:418: " or any
other CRL in the CA chain. CRL(s) are appened to the\n" \
./include/openssl/obj_mac.h:2333:#define
LN_issuing_distribution_point "X509v3 Issuing Distrubution Point"
./crypto/objects/obj_mac.h:2333:#define
LN_issuing_distribution_point "X509v3 Issuing Distrubution Point"
./crypto/objects/obj_dat.h:2111:{"issuingDistributionPoint","X509v3
Issuing Distrubution Point",
./crypto/objects/obj_dat.h:3368:770, /* "X509v3 Issuing Distrubution Point"
*/
./apps/prime.c:129: BIO_printf(bio_err,"Specifiy the number of
bits.\n");
./crypto/cms/cms_err.c:210:{ERR_REASON(CMS_R_UNKNOWN_DIGEST_ALGORIHM),"unknown
digest algorihm"},
./crypto/ec/ec_curve.c:1901: { NID_wap_wsg_idm_ecid_wtls12,
&_EC_WTLS_12.h, "WTLS curvs over a 224 bit prime field"},
./test/ssltest.c:275: fprintf(stderr," -proxy_cond <val> - experssion
to test proxy policy rights\n");
./ssl/ssltest.c:275: fprintf(stderr," -proxy_cond <val> - experssion
to test proxy policy rights\n");
./apps/dgst.c:279: BIO_printf(bio_err,"-mac algorithm create MAC
(not neccessarily HMAC)\n");
./ssl/s3_pkt.c:475: * we should not reveal which kind of error
occured -- this
./include/openssl/ec.h:217: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:231: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:239: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:271: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:281: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:291: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:301: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:403: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:424: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:435: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:447: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:458: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:469: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:480: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:491: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:502: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:513: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:538: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:564: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:573: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:581: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:620: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:631: * \return 1 on success and 0 if an error occured
./include/openssl/ec.h:638: * \return 1 on success and 0 if an error occured
./crypto/x509v3/pcy_tree.c:135: * 0 Some internal error occured.
./crypto/rand/rand_egd.c:75: * -1 if an error occured during
connection or communication.
./crypto/rand/rand_egd.c:87: * -1 if an error occured during
connection or communication _or_
./crypto/err/err.c:1036: /* If a race occured in this function
and we
came second, tmpp
./crypto/ec/ec.h:217: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:231: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:239: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:271: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:281: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:291: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:301: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:403: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:424: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:435: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:447: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:458: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:469: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:480: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:491: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:502: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:513: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:538: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:564: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:573: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:581: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:620: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:631: * \return 1 on success and 0 if an error occured
./crypto/ec/ec.h:638: * \return 1 on success and 0 if an error occured
./apps/s_server.c:1949: BIO_printf(bio_err,"TIMEOUT
occured\n");
./apps/s_client.c:1365: BIO_printf(bio_err,"TIMEOUT occured\n");
./crypto/evp/evp_err.c:184:{ERR_REASON(EVP_R_OPERATON_NOT_INITIALIZED),"operaton
not initialized"},
./crypto/asn1/asn1_err.c:305:{ERR_REASON(ASN1_R_UNKOWN_FORMAT)
,"unkown format"},
Regards
--
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]