File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -426,6 +426,12 @@ stages:
426426 the "uncompressed" contents of the file, not the compressed version.
427427 - The input for the SHA-1 hash is the header (`blob <size>\0`) + the actual contents of the file,
428428 not just the contents of the file.
429+ {{#lang_is_c}}
430+ - You can use `#include <openssl/sha.h>` to access OpenSSL’s [SHA1()](https://www.openssl.org/docs/man3.0/man3/SHA1.html) hashing function.
431+ {{/lang_is_c}}
432+ {{#lang_is_cpp}}
433+ - You can use `#include <openssl/sha.h>` to access OpenSSL’s [SHA1()](https://www.openssl.org/docs/man3.0/man3/SHA1.html) hashing function.
434+ {{/lang_is_cpp}}
429435 marketing_md : |-
430436 In the previous stage, we learnt how to read a blob. In this stage, we'll
431437 persist a blob by implementing the `git hash-object` command.
You can’t perform that action at this time.
0 commit comments