mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
wolfssl: backport patch to fix tests
This fixes the following build failure I get locally: > ERROR - tests/api.c line 5684 failed with: > expected: test_ssl_memio_do_handshake(&test_ctx, 10, ((void *)0)) == (1) > result: 0 != 1 > > passed ( 0.00945) > 845: test_dtls13_bad_epoch_ch : skipped > 846: test_wolfSSL_dtls13_null_cipher : skipped > 847: test_dtls_msg_from_other_peer :Client message: hello wolfssl! > Server response: I hear you fa shizzle! > passed ( 0.00186) > 848: test_dtls_ipv6_check : passed ( 0.00008) > 849: test_stubs_are_stubs : passed ( 0.00000) > > FAILURES: > 24: test_wolfSSL_CertManagerCheckOCSPResponse
This commit is contained in:
parent
00f1b94db1
commit
e434c7622c
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, Security
|
||||
, autoreconfHook
|
||||
, util-linux
|
||||
@ -22,6 +23,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-UN4zs+Rxh/bsLD1BQA+f1YN/UOJ6OB2HduhoetEp10Y=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-expected-test-response.patch";
|
||||
url = "https://github.com/wolfSSL/wolfssl/commit/ca694938fd053a8557f9f08b1b4265292d8bef65.patch";
|
||||
hash = "sha256-ETxszjjEMk0WdYgXHWTxTaWZPpyDs9jdko0jtkjzgwI=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs ./scripts
|
||||
# ocsp stapling tests require network access, so skip them
|
||||
|
Loading…
Reference in New Issue
Block a user