[openssl/tools] 836d65: evp_fetch.c: Fix broken build on MacOS

Sashan noreply at github.com
Wed Jun 5 09:22:23 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/tools
  Commit: 836d65faef959d7afb6496ba8758340fc64c037a
      https://github.com/openssl/tools/commit/836d65faef959d7afb6496ba8758340fc64c037a
  Author: sashan <anedvedicky at gmail.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M perf/evp_fetch.c

  Log Message:
  -----------
  evp_fetch.c: Fix broken build on MacOS

current tools/perf/evp_fetch.c does not build on MacOS. The compiler
fails with error as follows:
```
cc -I/Users/sashan/openssl.binaries/openssl-master/include -I. -pthread -L/Users/sashan/openssl.binaries/openssl-master/lib -L. -o evp_fetch evp_fetch.c -lperf -lcrypto
evp_fetch.c:116:13: error: expected expression
            EVP_MD *md = EVP_MD_fetch(ctx, fetch_alg,
            ^
evp_fetch.c:118:17: error: use of undeclared identifier 'md'
            if (md == NULL) {
```

Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/tools/pull/197)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/tools/settings/notifications


More information about the openssl-commits mailing list