summaryrefslogtreecommitdiff
path: root/package/openssl/patches/200-ocf-20100325.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-05 20:32:10 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-05 20:32:10 +0000
commit731983969a1340b613db96111eb7371d57728dd6 (patch)
treefc3c078dba6d25c8201a365c15b01b7699b2fd69 /package/openssl/patches/200-ocf-20100325.patch
parent89ba5f098e7810a0a75c34a2a798bbf5a9fdc846 (diff)
downloadmtk-20170518-731983969a1340b613db96111eb7371d57728dd6.zip
mtk-20170518-731983969a1340b613db96111eb7371d57728dd6.tar.gz
mtk-20170518-731983969a1340b613db96111eb7371d57728dd6.tar.bz2
openssl: update to v0.9.8n, thanks Peter Wagner
SVN-Revision: 21382
Diffstat (limited to 'package/openssl/patches/200-ocf-20100325.patch')
-rw-r--r--package/openssl/patches/200-ocf-20100325.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/openssl/patches/200-ocf-20100325.patch b/package/openssl/patches/200-ocf-20100325.patch
index da941b3..16d8451 100644
--- a/package/openssl/patches/200-ocf-20100325.patch
+++ b/package/openssl/patches/200-ocf-20100325.patch
@@ -1121,16 +1121,6 @@
if (kop->crk_param[i].crp_p)
free(kop->crk_param[i].crp_p);
kop->crk_param[i].crp_p = NULL;
-@@ -757,6 +1025,9 @@ cryptodev_bn_mod_exp(BIGNUM *r, const BI
-
- if (cryptodev_asym(&kop, BN_num_bytes(m), r, 0, NULL) == -1) {
- const RSA_METHOD *meth = RSA_PKCS1_SSLeay();
-+ fprintf(stderr, "cryptodev_asym: CRK_MOD_EXP %s failed, "
-+ "Running in software\n", errno==kop.crk_status ?
-+ "hardware operation" : "asym process");
- ret = meth->bn_mod_exp(r, a, p, m, ctx, in_mont);
- }
- err:
@@ -768,7 +1039,6 @@ static int
cryptodev_rsa_nocrt_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
{
@@ -1139,16 +1129,6 @@
r = cryptodev_bn_mod_exp(r0, I, rsa->d, rsa->n, ctx, NULL);
return (r);
}
-@@ -803,6 +1073,9 @@ cryptodev_rsa_mod_exp(BIGNUM *r0, const
-
- if (cryptodev_asym(&kop, BN_num_bytes(rsa->n), r0, 0, NULL) == -1) {
- const RSA_METHOD *meth = RSA_PKCS1_SSLeay();
-+ fprintf(stderr, "cryptodev_asym: CRK_MOD_EXP_CRT %s failed, "
-+ "Running in software\n", errno==kop.crk_status ?
-+ "hardware operation" : "asym process");
- ret = (*meth->rsa_mod_exp)(r0, I, rsa, ctx);
- }
- err:
@@ -904,6 +1177,9 @@ cryptodev_dsa_do_sign(const unsigned cha
const DSA_METHOD *meth = DSA_OpenSSL();
BN_free(r);