diff options
author | Richard Levitte <levitte@openssl.org> | 2002-12-05 00:05:48 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-12-05 00:05:48 +0000 |
commit | ced621e3c2832fc3eb407c29f3f68362cfd3251c (patch) | |
tree | afad7749ec87daa215199456cfaa2243477bbb2f /engines | |
parent | 85940ea8ea682970aa1f6e80d22a6265c9ea0bc2 (diff) | |
download | openssl-ced621e3c2832fc3eb407c29f3f68362cfd3251c.tar.gz |
PR: 381
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_ncipher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_ncipher.c b/engines/e_ncipher.c index 6126948ed1..44a522bc67 100644 --- 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); } |