diff --git a/cr_enc_id.c b/cr_enc_id.c index dc138b2..9ae9410 100644 --- a/cr_enc_id.c +++ b/cr_enc_id.c @@ -135,8 +135,8 @@ extern RSA *d2i_RSA_PUBKEY(RSA **a, const unsigned char **pp, long length); static unsigned char local_buf_1[CR_ID_BUF_SIZE]; static unsigned char local_buf_2[CR_ID_BUF_SIZE]; -static int crypto_aes_enc_dec( dst_buf, org_buf ); -static int crypto_rsa_enc_dec( dst_buf, org_buf ); +static int crypto_aes_enc_dec( unsigned char *dst_buf, unsigned char *org_buf ); +static int crypto_rsa_enc_dec( unsigned char *dst_buf, unsigned char *org_buf ); // ビルドスイッチに応じて、IDバッファをAES/RSAで暗号化 int EncryptID( unsigned char *dst_buf, unsigned char *org_buf )