[Swan-dev] "westnet-eastnet-ikev2c" #11: EXPECTATION FAILED: initiator == NULL (in is_duplicate_response() at ikev2.c:1488)

2019-06-20 Thread Andrew Cagney
https://testing.libreswan.org/v3.28-276-g4bcbe4ec4-master/ikev2-ike-rekey-04/OUTPUT/ The expectation failure is correct. Here's roughly what happens: west: west.#8 needs a rekey, so west.#11 is created and it sends off a CREATE_CHILD_SA, with ID 3 #8 gives up on the re-key so it forces a delete

Re: [Swan-dev] CentOS 6 "implicit declaration of function ‘printf’"

2019-06-20 Thread Andrew Cagney
On Wed, 19 Jun 2019 at 15:15, Paul Wouters wrote: > > On Tue, 18 Jun 2019, Andrew Cagney wrote: > > > why is a library function calling printf()? (if a c file needs > > something #include it). > > Because it is used in addconn which has no logging mechanism and only > uses stdout? > > There are

Re: [Swan-dev] CentOS 6 "implicit declaration of function ‘printf’"

2019-06-20 Thread Andrew Cagney
On Thu, 20 Jun 2019 at 09:57, Antony Antony wrote: > > On Wed, Jun 19, 2019 at 03:15:02PM -0400, Paul Wouters wrote: > > On Tue, 18 Jun 2019, Andrew Cagney wrote: > > > > > why is a library function calling printf()? (if a c file needs > > > something #include it). > > > > Because it is used in

[Swan-dev] printf called from our library [was Re: CentOS 6 "implicit declaration of function ‘printf’"]

2019-06-20 Thread D. Hugh Redelmeier
(I'm replying to the wrong message because I don't have the right one.) | From: Paul Wouters | | On Tue, 18 Jun 2019, Andrew Cagney wrote: | | > why is a library function calling printf()? (if a c file needs | > something #include it). | | Because it is used in addconn which has no logging

Re: [Swan-dev] ace1aaf777 CentOS 6 addr_lookup.c:220: error: 'errno' undeclared

2019-06-20 Thread D. Hugh Redelmeier
| From: Antony Antony | I am writing this e-mail really amused(too many broken commits in the name | of fixing) and annoyed when I wake up master is broken again! You are | warned! Yes, I broke it. Sorry about that. It worked for me. Thanks for fixing it! The fundamental problem is

Re: [Swan-dev] ikev2: when no host connection matches, always respond with INVALID_SYNTAX

2019-06-20 Thread Paul Wouters
On Thu, 20 Jun 2019, Andrew Cagney wrote: I think this is the relevant text: * 3.10.1. Notify Message Types: * * INVALID_SYNTAX: Indicates the IKE message that was * received was invalid because some type, length, or * value was out of range or because the request was * rejected for policy

[Swan-dev] ace1aaf777 CentOS 6 addr_lookup.c:220: error: 'errno' undeclared

2019-06-20 Thread Antony Antony
I am writing this e-mail really amused(too many broken commits in the name of fixing) and annoyed when I wake up master is broken again! You are warned! On Tue, Jun 18, 2019 at 04:04:52PM -0400, Andrew Cagney wrote: > why is a library function calling printf()? (if a c file needs > something