projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c99f9b8
)
PR: 381
author
Richard Levitte
<levitte@openssl.org>
Thu, 5 Dec 2002 00:14:08 +0000
(
00:14
+0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 5 Dec 2002 00:14:08 +0000
(
00:14
+0000)
crypto/engine/hw_ncipher.c
patch
|
blob
|
history
diff --git
a/crypto/engine/hw_ncipher.c
b/crypto/engine/hw_ncipher.c
index 847c840d0fbf4e109ab7552196f5ceaa8d0efdcd..d6834d7a3439269632d80a11ad2e6ca1c7439eb6 100644
(file)
--- a/
crypto/engine/hw_ncipher.c
+++ b/
crypto/engine/hw_ncipher.c
@@
-828,7
+828,7
@@
static int hwcrhk_rsa_mod_exp(BIGNUM *r, BIGNUM *I, RSA *rsa)
/* Perform the operation */
ret = p_hwcrhk_ModExpCRT(hwcrhk_context, m_a, m_p, m_q,
- m_dmp1, m_dmq1, m_iqmp, &m_r,
NULL
);
+ m_dmp1, m_dmq1, m_iqmp, &m_r,
&rmsg
);
/* Convert the response */
r->top = m_r.size / sizeof(BN_ULONG);
@@
-1014,7
+1014,7
@@
static void hwcrhk_log_message(void *_logstream, const char *message)
lstream=*(BIO **)_logstream;
if (lstream)
{
- BIO_
write(lstream, message, strlen(message)
);
+ BIO_
printf(lstream, "%s\n", message
);
}
CRYPTO_w_unlock(CRYPTO_LOCK_BIO);
}