Skip to content

Commit ee4480d

Browse files
committed
fix
1 parent 7101461 commit ee4480d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wp_ecc_kmgmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2060,7 +2060,7 @@ static int wp_ecc_decode_params(wp_Ecc* ecc, unsigned char* data, word32 len)
20602060
if (ok) {
20612061
rc = wc_ecc_set_curve(&ecc->key, 0, ecc->curveId);
20622062
if (rc != 0) {
2063-
WOLFPROV_MSG(WP_LOG_ECC, "Can't set curve: %d", rc);
2063+
WOLFPROV_MSG_DEBUG_RETCODE(WP_LOG_DEBUG, "wc_ecc_set_curve", rc);
20642064
ok = 0;
20652065
}
20662066
}

src/wp_krb5kdf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ static int wp_kdf_krb5kdf_derive(wp_Krb5kdfCtx* ctx, unsigned char* key,
475475
rc = wc_AesSetKey(&aes, ctx->key, (word32)ctx->keySz, NULL,
476476
AES_ENCRYPTION);
477477
if (rc != 0) {
478-
WOLFPROV_MSG(WP_LOG_KRB5KDF, "wc_AesSetKey failed with rc=%d", rc);
478+
WOLFPROV_MSG_DEBUG_RETCODE(WP_LOG_DEBUG, "wc_AesSetKey", rc);
479479
ok = 0;
480480
}
481481
}

0 commit comments

Comments
 (0)