[#SHA1_Final] = SHA1_Final :mrdocs: Finalize a SHA‐1 digest into `md` and clear `c` (deprecated; prefer EVP_DigestFinal_ex). == Synopsis Declared in `<openssl/sha.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int SHA1_Final( unsigned char* md, xref:SHA_CTX.adoc[SHA_CTX]* c); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *md* | Output buffer of at least SHA_DIGEST_LENGTH (20) bytes. | *c* | Context previously updated with SHA1_Update(). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#