in terminal: command is:
openssl dgst -sha224 -sign privateKey.pem -out signature1 someInputFile
In my c code, first generate digest of Inputfile the same as command line inputfile, the digest is the same. but when call RSA_sign generate signature, the signature is different? why this situation happens?