Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windows で vc2k10 を使用して OpenSSL の sha 関数を使い始めたところ、問題が発生しました。詳細なドキュメントが見つからなかったので、ここで質問しています。
SHA256(const unsigned char *in, size_t n,unsigned char *out) 関数は、ポインターが指すものを変更するようです。これはバグですか、それとも機能ですか? ありがとう
インとアウトが同じメモリを指していないことを確認しますか?
openslllibとvisualstudioのconstの実装の両方にバグがある可能性は低いです。