This commit is contained in:
Love Hornquist Astrand
2010-03-10 20:05:31 -08:00
parent f2611400b0
commit e57bd85101

View File

@@ -740,7 +740,7 @@ rsa_create_signature(hx509_context context,
if (ret <= 0) {
ret = HX509_CMS_FAILED_CREATE_SIGATURE;
hx509_set_error_string(context, 0, ret,
"RSA private decrypt failed: %d", ret);
"RSA private encrypt failed: %d", ret);
return ret;
}
if (ret > sig->length)