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:
85940ea
)
PR: 381
author
Richard Levitte
<levitte@openssl.org>
Thu, 5 Dec 2002 00:05:48 +0000
(
00:05
+0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 5 Dec 2002 00:05:48 +0000
(
00:05
+0000)
engines/e_ncipher.c
patch
|
blob
|
history
diff --git
a/engines/e_ncipher.c
b/engines/e_ncipher.c
index 6126948ed18b7a4968097ae0fb288c1004612141..44a522bc6780c0259957a58252063c7d73237c9d 100644
(file)
--- a/
engines/e_ncipher.c
+++ b/
engines/e_ncipher.c
@@
-1021,7
+1021,7
@@
static int hwcrhk_rsa_mod_exp(BIGNUM *r, const 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);
@@
-1319,7
+1319,7
@@
static void hwcrhk_log_message(void *logstr, const char *message)
lstream=*(BIO **)logstr;
if (lstream)
{
- BIO_
write(lstream, message, strlen(message)
);
+ BIO_
printf(lstream, "%s\n", message
);
}
CRYPTO_w_unlock(CRYPTO_LOCK_BIO);
}