@@ -343,7 +343,7 @@ int wolfCLU_GenChimeraCertSign(WOLFSSL_BIO *bioCaKey, WOLFSSL_BIO *bioAltCaKey,
343343
344344 /* open CA ecc private key */
345345 if (ret == WOLFCLU_SUCCESS ) {
346- ret = wolfSSL_BIO_get_fp (bioCaKey , & caKeyFp );
346+ ret = ( int ) wolfSSL_BIO_get_fp (bioCaKey , & caKeyFp );
347347 if (ret != WOLFCLU_SUCCESS ) {
348348 wolfCLU_LogError ("Error cannot get CA key fd" );
349349 ret = WOLFCLU_FATAL_ERROR ;
@@ -364,7 +364,7 @@ int wolfCLU_GenChimeraCertSign(WOLFSSL_BIO *bioCaKey, WOLFSSL_BIO *bioAltCaKey,
364364
365365 /* open server ecc private key */
366366 if (ret == WOLFCLU_SUCCESS && !isCA ) {
367- ret = wolfSSL_BIO_get_fp (bioSubjKey , & serverKeyFp );
367+ ret = ( int ) wolfSSL_BIO_get_fp (bioSubjKey , & serverKeyFp );
368368 if (ret != WOLFCLU_SUCCESS ) {
369369 wolfCLU_LogError ("Error cannot get server key fd" );
370370 ret = WOLFCLU_FATAL_ERROR ;
@@ -481,7 +481,7 @@ int wolfCLU_GenChimeraCertSign(WOLFSSL_BIO *bioCaKey, WOLFSSL_BIO *bioAltCaKey,
481481
482482 /* load alternative CA public key */
483483 if (ret == WOLFCLU_SUCCESS ) {
484- ret = wolfSSL_BIO_get_fp (bioAltSubjPubKey , & altCaPubKeyFp );
484+ ret = ( int ) wolfSSL_BIO_get_fp (bioAltSubjPubKey , & altCaPubKeyFp );
485485 if (ret != WOLFCLU_SUCCESS ) {
486486 wolfCLU_LogError ("Error get AltCAkey fd" );
487487 ret = WOLFCLU_FATAL_ERROR ;
@@ -530,7 +530,7 @@ int wolfCLU_GenChimeraCertSign(WOLFSSL_BIO *bioCaKey, WOLFSSL_BIO *bioAltCaKey,
530530 }
531531
532532 if (ret == WOLFCLU_SUCCESS ) {
533- ret = wolfSSL_BIO_get_fp (bioAltCaKey , & altCaKeyFp );
533+ ret = ( int ) wolfSSL_BIO_get_fp (bioAltCaKey , & altCaKeyFp );
534534 if (ret != WOLFCLU_SUCCESS ) {
535535 wolfCLU_LogError ("Error cannot get AltCA key fd" );
536536 ret = WOLFCLU_FATAL_ERROR ;
0 commit comments