Commit report for master branch

The git bot announce at freeradius.org
Fri Sep 6 02:00:02 CEST 2019


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xlsoACgkQfQ55zXdi
 Hs0/Fwf/b4BNGaK7XwDcY1894ImAt1xms4sFGQzfbStXbooTUOU5kngRKzFj+kAn
 CYUOro+kt0MN9mQLInpOzn4bnuurDe1iWWycNHB1aEtqFQGZJRjGopb8J8xwHRKR
 RRsH0Xd0gstbLmfPWRqWcrVsOsJz/UN6Yptp+ea6U6B/bf8czVWs4w5adllmdUwm
 Ueq7PJb2EPvWKFV1ZiV8MFZhSylCs2/6uXxfa1VRa/UQK7SQW+hwIZj5Y4kkkC2R
 jXFdKR+I40AA2gAe0PaZF7psPtl0mpj2zVf+ICg59BSiAWiP4fC80jkSCMQ1Rm7y
 SIFDdweTwySi17UrezX1KnXp3FltHA==
 =GgjZ
 -----END PGP SIGNATURE-----

use condition as talloc_ctx

to avoid leaking memory.  It's leaked only in the tests,
but whatever.

Alan T. DeKok at 2019-09-05T23:13:50Z
Files modified:
	* src/lib/server/cond_tokenize.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c248e5da3700afce60c883e9ffd93037ad635b39
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xiy8ACgkQfQ55zXdi
 Hs2Lowf/TwSuQclM4VfJhdDU7fpsdnR2aXY2M1rbT89tEWZk6fav5+EhiYDXLGPy
 AHtXIrve8dUTQ+rJRqFipljx5S9f7mFHZLjIRUSU4wcdkjf5c3PC6DfhaYyKUFrl
 YTmNz6b/Kk5VtGDtoCV7lJg0BqZbPfJ4hBFbDAqu6Av8svWY2N6srKGKbYFF0kT9
 hCLjA+UIU3uNk0aDpVXrrSzU0NYZXI7xxu4iPggwZcbSbp2WXVNPDDeBK2x6Ynya
 i9XXNeBgver1UH54BOMdK2dN7RYoZoqrYVQSHxGVGQbv8V/MkO/ADXL+mGn5d0GE
 vzDOU30uVLF9wnxGLTW1eBASjU56Tg==
 =EtT+
 -----END PGP SIGNATURE-----

empty strings are OK

with tests

Alan T. DeKok at 2019-09-05T22:24:29Z
Files modified:
	* src/lib/server/cond_tokenize.c
	* src/tests/unit/condition.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f90ec23b837f4aed7033609385cc12ae98f48d2d
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xa/AACgkQfQ55zXdi
 Hs0RxAgApzzqGFmFvlzBoOOzrqm5OiW2qKOeqy9pEK5ZuSzp8MPoPO4T2ssLwbvx
 NOB4q0e+Pg4pr7du8d3yYQ1DKymIfF3c3izErPs+8LTxMhbwuhgxS8wxt00oSbml
 NbXVVfIStwJECcNRIRmvBd6xk/PZDZ9iffFe+npXqqPIusUQaGpso30HhcCMmimu
 TmrzB+iSzbr2aggX3i2pockirYN9dx20yNu5ZjVycuLoq/vfQ1FsDAM3x2lDJL1W
 egDp6tV6wBxGt8IbU2m9Fvsie8Jy7/DONuJNWCAqIrr3DWYtP5RRI/slZsWoAjwj
 GP51/OGrca500ithwm/6upLPrgcFMQ==
 =sb0L
 -----END PGP SIGNATURE-----

allow $ENV{...} too

Alan T. DeKok at 2019-09-05T20:11:21Z
Files modified:
	* src/lib/server/cond_tokenize.c
	* src/lib/server/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2e382fc2e0ec90eae66e227938932dc8dbe67ff4
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xaesACgkQfQ55zXdi
 Hs383wf+IN6SQ0zrICvAhlbkKNW3vXye0VpIZo8c9CEoFhQeifqWF8NQJKTU+RJl
 yHBp9i86/o3rSARHXW8hlcqU6cwbPfpHq2/tD28l8K/zp/KuVUb5lEKTf6shm9h3
 dio/pN2CM9UCb2UO2KXyCXh204RivxhVPK1E+tyctDU/sHm0n0j/rR4jkcGw855h
 OtwZgHAkgtbBkCfeZZq9xk2uEN+y5ZHl1r20jdXRIik2ZUs0MCev9I2aQ1z1mWZR
 voYKUkrbee7gfB+90lv0clBYML1Jh+AXM7Akwoaa+7oSK41DlGBcL1sUPfulsadW
 fvfuEcNPcyShPrClzPaaAOOTdtX0sg==
 =Hnow
 -----END PGP SIGNATURE-----

filter out sha2 at the make stage

because even if we have `if (0) { ... }` in the unlang policies,
the inner policies are still getting evaluated.

This fix is the right one, but we still need to add tests for
*not* compiling the contents of `if (0)`

Alan T. DeKok at 2019-09-05T20:01:31Z
Files modified:
	* src/tests/keywords/all.mk
	* src/tests/keywords/sha2

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dd05675f245234ebd6552c73fb4c9b73559b03f6
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xYccACgkQfQ55zXdi
 Hs0wugf/QbYjVq9CVC9om6U+MODs9GNuORyWUhRImiwB622xJMBZOPGbFUlO49LW
 HtmWue7GTyaKXlIWgQwyvrDy+J48Nz9WpIGfW4mKOgqe13QrvlLFmipjb3dpOkBb
 SJg1IO3DEZOuxfh4By6k8gNKKhMHGfTPVQzUDAAbD3RsUh0O/ZbEvoiFjucZa3Q5
 C8VSt5Ngl5lpyoJruMs0H9pmddk9NWgZeS8kigjMGXB8jWR+/yqUu6I1nQxB1Aam
 8OwrrhSC4I59MBgXDa41LmgSycHOWS5oq9IIfsXQuciP22k6hwiaqf40WWXhrcP4
 HrGJfbLL97jfq3qbvTAzpiCGf6x6/w==
 =N7b7
 -----END PGP SIGNATURE-----

nope.  that didn't work

Alan T. DeKok at 2019-09-05T19:27:59Z
Files modified:
	* src/tests/keywords/sha2

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/35fd64f4d83f6eaaba2afeae5fbf7349d8f31c63
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xXJAACgkQfQ55zXdi
 Hs3fIAf+MQA6Mdxsg6Rh1I38NTuf141MH/8Is7d1W0KTV2dia1GfQUykjI8xpqrZ
 3mY5QEVb2nB+LALyMMrnn8rA6Cn3B8225+ao8AGsfPyB54J8Xlhzesc1IApeLbTo
 9nPlIouLZxgx9owRfkyT75ISe4DQOmi0onM/ORKJbRA1bm2Ydhvh3AGQDb/9SxBf
 P1rCrG1QuS4nHxn0XUL1mSBEI22ckajFno6fVhbYjbI6TwtLZps2biiQqeDQq9QA
 GUdYa0mGxqvuL+9GEQcr8OA5oLDqqZIpWUUcn2KbZ3mW38aqHVVHu6WGkWTD70R0
 GOCI7JEvR2KisfNSqXxIfTw2Z2fN+A==
 =Si1l
 -----END PGP SIGNATURE-----

typo

Alan T. DeKok at 2019-09-05T19:05:50Z
Files modified:
	* src/tests/keywords/sha2

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/407ff39215e70acd9c8657354f061920154bea24
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xWZsACgkQfQ55zXdi
 Hs1I1QgAoY0HEldvyd9ltJdufXiQSf31gfF8nbAduE/KnTVqUCUM692I+44QByOk
 jmOXeaIZTKJDOlw3PEBAnxQAXtLe/37UEAn7WiKR6phPZdyuNDH2xWRyG4aNgx3b
 hgL/OonWt/DtRAR8hK6pOt7BDOQNBzOnODVDPXy9Ou6lWRWjaz5iVT2/OQ9sdyTB
 GwghrXujS+xuWq/js3lVBFbUbH7hg4ae7dyVJFtmMrrsLnG3nsHjZOe3E4A1JBCw
 72eIgaZRToxFK+ORPR+ikADTs7dbRuCf5uLvHcOmg8U9LMhlZ4wAtDSSSrH0wiXw
 BdLRexFR8+zs67JxLaNU8IowPMnMWQ==
 =lotx
 -----END PGP SIGNATURE-----

show OpenSSL libs for travis

Alan T. DeKok at 2019-09-05T18:53:15Z
Files modified:
	* src/tests/keywords/sha2

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/af0c8d5b9f5c4bcdad3461f01be2860a1e73b6ed
====== 
password_process_sha3() Fix the talloc_list_free() call (#2956)

It expects reference instead of value.

Jorge Pereira (via Arran Cudbard-Bell)@2019-09-05T17:52:28Z
Files modified:
	* src/lib/server/password.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4a2862fe5986c89d102c9de2d047f01ea915f85c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE6VbEmJeQrF8361hu/6TVgp+218oFAl1xMFEACgkQ/6TVgp+2
 18qXrw//ZavXLLYgZmDk4uVugVS7cOlJfr0u56749POE1teoqtUI3hpF7+OBCCLS
 L67CX/JD/hVpdMnlvulOHHEIHTOl75adD7kMMySXOSKDVmphR0TQfrKaHaLfvXKP
 M2RtgGO0esbazTzvMp50OvQ79bqFO4GyEp6JWPTLH7EqHNW/7s38z0oUVLmGHOzf
 oV3GecCnpB5b9viPZmcOSSKx+58p/NQyjiHGsTeELeeqckmixWELwJAOWSRNyivL
 vUgC/vhkccQN21KYtp77hO+XDdCjTPxST+O1mZOP3GygcyuV9y7Nj39VM2NjZNDZ
 3RDm8aVMCRm7QKBsI0V1zwGvEwp/FCennisPoVASvw5E6X8ciZCeDTMTziP6x++i
 /yId/cdLfVZsZBdMsV31x3He8/89G1++vv5EjMvuYETKymiS6klRvaQcNrEasNQo
 pZd1Pvo3DTMAFg4psZn5F3So1M6baWrC2dw13DWJUJAW9HYJyhFZL3rwKIpB3f5V
 y/9w/P4mPggCABEsoAm1xYzvppefUIwzYPoIiC4Kr4gckYVQwog9b7upT0+u5bvZ
 E8nxkGYSzRWX+2kuNDGkqSjLGAhEjA+HWPH48hVRvN51qpzUbnUnozbktAhbkoEh
 21hYGygbQHxdyM5c+MwefLfac27V43Vr/aGPkkL7dyS3ip2QR8o=
 =j4s9
 -----END PGP SIGNATURE-----

Extra check for returning inside subrequests

Arran Cudbard-Bell at 2019-09-05T15:57:05Z
Files modified:
	* src/tests/keywords/subrequest-return

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4cf5b2dcb5d6b44b11d419f5b9cb2f88dc35c88c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJWBAABCgBAFiEEpcXpnfubXB9wp6L/2bkzwSrtdPAFAl1xLIsiHG1hdHRoZXct
 Z2l0QG5ld3RvbmNvbXB1dGluZy5jby51awAKCRDZuTPBKu108Nj0D/9msJZsPq1p
 CMZpufOgV/T/ZxFC9dOEd9ko8vtXtbuK/k0R6+J+OObwJdoyv18WTvtL9PQ1c/nG
 +QNTcpthvja/UL3TEU3lWSuD+srmfl7Y59zbnrKJL0Md7E2uZn8irk+vzCycZK/e
 D5PwgGfSeU127C+RDNdU2OdvFBSCCt52iOHn0JxD9+uRW3A0fonnJGdrTDG4CvsV
 pnoP4gCM3QLUUq5RpDKSTpXWsmaVj/N3FYyLOcHYnjqKC1D651CTLCnNen+4bSTs
 aqv0uyWVf2SiGfc3cxs9rePTTvSRg7nqd4/9XTfSR+cbaPJ/r2O4UHb5crnKv6fg
 hght5ptDBB3d/4PECXhPgPXb5EZrC18rTVTsKW1VuTcgaxGEiAS8wOsxRDChJIPm
 5tNgtkBKEPmM1yqJ/retnDiktpo/NG3dyGaRlqmz0p/y5Kecngn2Nsa4aUHh0jv1
 Vk7rsdGC5I83t7mrosZFBaMBkyoV5HR9aoFAa0bcFl0+7/foN9i3aLhJY75UvVne
 TcFjtBG5eCDeXFooCvouuoxaintcuaWm6LV0We1CWSh3UKiAL2oJumSh2zbClO+z
 zzjYkRQTIoCHaL5CBgswe72OkESNnd4GHsFV6bRLmIUhtr+/Wv2JeSB3G+CF0Dba
 TLcJUF4SSVeERPDsoJWTCrzBKtGvFhF1lQ==
 =1W/Y
 -----END PGP SIGNATURE-----

nope... try more debugging

Matthew Newton at 2019-09-05T15:40:59Z
Files modified:
	* .travis.yml

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8dbc3ec29c6c9baf280e8905db75f3ea3479aa20
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xJbYACgkQfQ55zXdi
 Hs2n+Qf/XYvasCeIWkIxvOyY5NPwD00Zz6eTxyTsRT5eonhnDD6jR9u3NuzB+eu1
 8h2bYzrmtND/hmYp1v6nM4wwp0Anb8H1EtZOLKpWrSqv61Xx4lzfSF9dGeM+uawx
 1EqFEmBA5EWX+Wck+mmaL4nqPMh1RO+dJSPbi5qgBKe0zY5p3qrygulJnpWkxkpn
 dzcyiPBjkEoAclyUREKy+LvvACCVn3KrOOeyBcdCrsxSWMuqq57IjVb+/jeh0vFg
 pFr/g4dk37NhUKItscr8PZINjn4x69/FyoYjykoL4Bq7hDMHEq5MMd3MIv7dCzAl
 9Iz1so/H3QN61WJVqgOV4X6KF6bQhA==
 =vsY5
 -----END PGP SIGNATURE-----

Debian packaging: Add builddep on asciidoctor and pandoc for man pages

Minimal fix only for the moment...

Add builddep on asciidoc and pandoc so that we can build the man pages
that were previously source files.

Terry Burton (via Alan T. DeKok)@2019-09-05T15:11:50Z
Files modified:
	* debian/control.in
	* debian/rules

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0066f641497cdd3d824c3f5f5038db1bad7eb866
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJWBAABCgBAFiEEpcXpnfubXB9wp6L/2bkzwSrtdPAFAl1xHLUiHG1hdHRoZXct
 Z2l0QG5ld3RvbmNvbXB1dGluZy5jby51awAKCRDZuTPBKu108H1vEACDRZR0inH0
 5zy28ST+zu+xRd9/n2/hZjtezCB+DJihu08UuvKdghJZH9MMlg1pIe2wQIFocvRd
 h7ofRgZpT08muQLYjtz2P/7e12O61vgmxeIRNwCi+R86VoTgT+LH29E+zK8xzTmy
 K8/qw0pyDHzxQ91quiE8k9/TWk6OgOHLpmdCekZn+7HAj0Wf+qOLHnHg4eTSAHNK
 kxZtexVdoh5MJ4WQNgnhMmONgKiJJcMvVCx6CxXz0fqcbuMkH/88u+n1ffjSI11A
 jLmOvXLvu8ClDqJAyBNcbpezxSn3Kp6SPKnSHvE3SPWbM2+OIdXffxdqdkOnkByY
 EmaacNEbm7/UqzR4SQSlU4ujhazS5ZoKfoyRq7jrI5aQKSqp4dA4s357mXvml4Iy
 qK3yoeSjNf/Fhg5gQ7lqlk3x09lnCz0TljXo2S0WagixjZEk/lA43gGyAliavwIz
 8inrSa8tmlu37XL8wx9sUw21FURna68YytPqFd0obGxRbgN6J/b0iZYkD7AXlMDD
 zCuieifwGRZbJnV/7iVK+nsIa7cBFsTA9PgOlG8i968ECLaUHs/5s1ULojuQTIgZ
 B4ICl/Fwye3LwNH9UDJz3XmE43+3cIABq5JmUvtRuZeRbt5zJv8VTeCZqLu0/DJ+
 HaNT43Npn2snqkeJ0yfyKGq2JNKf+7TWKg==
 =8mIj
 -----END PGP SIGNATURE-----

travis is broken

It's been chopping off debug output for months. See if this hack
from https://github.com/travis-ci/travis-ci/issues/8920 helps

Matthew Newton at 2019-09-05T14:31:52Z
Files modified:
	* .travis.yml

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/88ca1cf188b2b92e82115df8a57e54ea995b481b
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xGnYACgkQfQ55zXdi
 Hs0dEAf/b9ZBzd2Vs4zgvo9eKMCJjcJs9bFdsayk6o820fx5eu6iBIDWQ6jL/n/V
 Gl63YbCLUxelZuoZGn5rTbNbL8JJ9DeTZ0tZ+uS4S7aUmYtLlsyAVlkiyWbH1Qom
 JCzDB94bluS/AeO0GUHmvaq53GgsFgPSwm5YdFPDS2m4fl75i4xBpDhQzuNS/HdR
 0RL2m64TUkJp3Su0igNcsRtR+MRINhD4pgp4xXXv4f53XiVWhv4cYPikibYg+FUe
 ctE7ekA/EE1YIVSoXS/w/JQjzUgqzOZ6/8YX86h47VJ57XsKz8hw3hgsmKSMptNz
 C0PRmh4BZMc5eZ61gH+XZr8yi9Jspw==
 =2fwd
 -----END PGP SIGNATURE-----

Revert "Add openssl-perl as a BuildRequires in the Redhat spec file"

This reverts commit d7cdb717fc336f68ed8faea7278468c4881c4eae.

revert this for now as docker isn't picking up the package.
Which then lets us see / fix other potential build failures

Alan T. DeKok at 2019-09-05T14:23:25Z
Files modified:
	* redhat/freeradius.spec

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7d04a254a7c11547bdbbc6ca0db36ca1a48c2e61
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xGkAACgkQfQ55zXdi
 Hs2vCAgAnM9l3PZ0OpyzE3e6rBbFZNzqgfiTo7TF9mA7tUbgp5g3boR0Ejdl1/1T
 LqtlcdqlOWovc1lpYF0yzpVGXFe/D6YcYTw5bmmURugOpzX4BY+9se/kxVOsF48s
 PDDPRM39CD9p0O/JgenNH9xVlacL9UqJMJFg2mfwZ60sSP4Mb5IALxt4VO1mA45A
 SuoCzLeI9qp5kyouUDazYbYLWbvmL5jzyROGTnDStSGQyLMipkSzidq8/S1Zea+R
 OJCV1WdHQCi53C3V2Xnb2b48Wsi1LnlutBrq9g2cDW3ualHWB7PDBbub6NIBazQF
 N8WFG7dXZDFUAe1AKrBg8Pfr4Bku/Q==
 =oRvj
 -----END PGP SIGNATURE-----

fix patch for new docs

Alan T. DeKok at 2019-09-05T14:22:52Z
Files modified:
	* debian/patches/radiusd-to-freeradius.diff

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a4a6825899acfe8d69d912e3311bfb9de02de5a2
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xFaYACgkQfQ55zXdi
 Hs1dLgf9Edxp2+/jVC9Ey5PBFdfKeiO8d8GfLc42WxYU8c4KocyxPWrERmJ/Lu7Y
 ai7Ez36d28Yr8Pf1UfkXD4f5CXKKeqwZbHZ0hmVM3IBsQSOjqxWpcs8owPc8BYEB
 Qdeb47XjbPz6W99ktwprqyNQZ11xHE0GDrI+0SPE/5vl22zgFuE1Zo4+2FVBut3x
 QPJFibFpyKnB0HvH5Ed1lkXmTBK8zKGdzJBeAlRDLm3J0qmxtlXGn+etdCYhuu8y
 zobVyDDNHqRDUn9/+245jVPQA+9ZWymf//nGU2gi5BKBYtFREhPQle1emZI2+PNt
 SuVDgSdRCx2sy2Imh+HUfBwAgGq7Qg==
 =bEO+
 -----END PGP SIGNATURE-----

we cannot use "break" alone inside of a policy

if a policy is largely like a function, then we cannot put a
"foreach" outside of the policy, and then inside of the policy
use "break" to get out of the "foreach" loop

Alan T. DeKok at 2019-09-05T14:02:34Z
Files modified:
	* src/lib/unlang/compile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/30e6a9c3ea62a295da397d5b768d43092d652adf
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xE+MACgkQfQ55zXdi
 Hs3dogf/XptVtLvJX0+JOCWKg2MeLMg7/vGCFap9mUO3hfA/tgaRQtyLJtwZsSOv
 Yr+S23jLlPVcOYZqz9D3kTd8ZL/jh1bqseizbPpqg5WqtDpWjg9AA4qHPK0zTasY
 6Z0Cu7x3iCFD61qU9B+5RKffMadu1Q0izblq1sPmtP+ets1p4rnv+jaApXJjjRzs
 BCinE8KlCTgeLZZBDUOR/7zc6NmWP22Bn6huaE1dCw5tnAFq7EH/jEEbF9dHTxx4
 ApNAH+SLcFWHsomh196fZmi8zO02ptK84FBSaQH4KrspqYkwbYLakz0SWwe7qTBy
 p20rJBB73cGFNS/KU9rlWxtw7lbXJg==
 =Aoge
 -----END PGP SIGNATURE-----

note new behavior of "return"

Alan T. DeKok at 2019-09-05T13:55:41Z
Files modified:
	* doc/antora/modules/unlang/pages/return.adoc

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/07d54e762a0713e8c8f3e481d311d9a7334056b9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xEioACgkQfQ55zXdi
 Hs1J4ggAjZKk4nPI568upGsB15lkVsmXZcnK5aXsqri9udE7BRJwUsSsmNUlpbiT
 ldK+upr0Fd3T0SeKsGIUfRroteIJE/w4mLG1j0wLhY0ISqfSta0zNU1Cvo1unsza
 ijs29Klw1UD4Rya8/xCtzKwFJWpbzVOl5o6c3yQfXmTNxbZW4b+9U+mFjWvfArU3
 LE89rK6oyDAiZqA48Y3DpH3xvQTb4d7G60H25zKzEl/KN99i2z/FKNJt77rz2dQD
 97cNbsJpZORkIzu5EeU+gkloPYQAmWu3MflWEyCZIsxldgH4Z5GaOnrdMgWPmmFb
 1HM4p8qJNCW/5n7YRNCd0x/VapW8jw==
 =LZgQ
 -----END PGP SIGNATURE-----

set and use return point for policies.

Pushing a policy onto the stack sets the return_point.

When popping the stack, check for break/return in the child,
and a break/return point in the parent.  If so, stop unwinding
the stack

Alan T. DeKok at 2019-09-05T13:47:26Z
Files modified:
	* src/lib/unlang/interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d932505cefc1641c637c8aa7336d6ed26c1a4267
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xEX4ACgkQfQ55zXdi
 Hs2mjgf/TW1Ada9goTyaXFGc/NxH67SZFyqGZKiZbAfWgELHeYDxx91Tc+JjBrof
 bfsi7K27+qzsp7g7WNadbZq6cQDFlMkGrnji5mEN2CoHKDmqYwK3S2YEAXII8a6F
 79J5SDncSHG9V+FYnLdkoqfBguykbCsIXaZxGhPgEX/wRxqBf0/ttyLL4hrWL7ua
 h4rVfkjA7OJ+lFRQPRe4jmlFcCTJYNgm5VLEM0E+nKsDDRsuYAAwJb+Pjt7Vg05e
 db6pkEvzrRLG2ucyApmEvr/UotRsASwtl850LKwPB22TzatOqZNApXPFmcxn9uw3
 pQ65Q0/PMfP6Ut8VWoO3IprmSvVSMQ==
 =/yFx
 -----END PGP SIGNATURE-----

don't set unwind on BREAK

the previous break / return already set it to break / return.

Alan T. DeKok at 2019-09-05T13:45:10Z
Files modified:
	* src/lib/unlang/interpret.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/19453bd1cd629b4c7388921a98c1a6dd95d6e973
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xEVgACgkQfQ55zXdi
 Hs3GeAf+KI8iAHKxEBgoSCEe1RgXamjLAKpZaVAerGnTjBqdYB53o6+G+tAPxort
 B1BEg7QMw9+QH05/CKoeXKIhXLOgd6gc/DMoxiz2ylxkX2Tn54XWbCe8AlSR7NrR
 QEDMoPh5lYXARK16Mbrif8WjCEBqVqM65e88QPrfe9Qq/zJ98AmskY6SfjPE9blq
 eM2pKinxNbsgO4MSXf+JA4XgS1pkvhLgvx6VVZz6RDK0NZDMV9swwcWqp6mDUFnH
 EG67SNC+W5R211VtqurcoqBWGu5ggww/WtDf4ysklWP2Wwcq9jtUW56bV9paMHhm
 WkNuO4sZDulTTF03MnI0k/ojbXz9vg==
 =wgFY
 -----END PGP SIGNATURE-----

compile policies as UNLANG_TYPE_POLICY

which is treated the same as GROUP for most purposes.  Except for
"return"

Alan T. DeKok at 2019-09-05T13:44:18Z
Files modified:
	* src/lib/unlang/compile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b3f40e65bf82e07f21a73b091f15ba2e89ebe4e9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xESgACgkQfQ55zXdi
 Hs3Z+ggAl4nOx0jve/w8JTJ5TOZpCcYYdIJkichcvju6242bxATOWnKg4dnwYOs+
 /dO/QObsT66B9NdMrSd0zokiTo9E220hXPurJfSweXtuClN5Swhy8aJcMkoWvHlj
 W691CtbhBMuOAWHULqDQ1USsoJ9CShJRPBK7ZORXOdqFd6NrqFotGhkT+CFz2h1u
 cpU+V+Q2rlUWqW79zW6IJWXnf0sV0TsG6XIBtwN72XE6/uwPdPs7enmTSCOhwa4Y
 N8F9GGgJZL7SlTvXdLk8CpepsvS7eCUyV6Sl+fof2Y9WwIMBEGZL5RvBxNy2EB4v
 4ea8x9HcyHAkScCw7yq4Bno0/k+qbQ==
 =LSN6
 -----END PGP SIGNATURE-----

print policies as groups, because they have no g->vpt

Alan T. DeKok at 2019-09-05T13:43:59Z
Files modified:
	* src/lib/unlang/compile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/89ed0cb2a7da485702fec3cfe181872c58f1b159
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xEQwACgkQfQ55zXdi
 Hs38MAf+KPCyutpjRiqTOaFvdJsBRwmTR8+ZzG3MMcm46WIuIC1I/X3unUq8k4pV
 A+5+6C2MPG0Jkq2mctvtfnqfswM8JasBFFJhkYeb7Xl7DqXNgjNOaAuNd/Vj6i98
 JlHaRQz6JcTRyR//EGDS3JhuuogHA38Yw4YpDu2oBXyP5L/0oP4ieGYx4nCBFJSg
 q1ZWN7yCGICbRl90bAWgNm50g03UxZFuOs4yUrdlxrbcqwXSrr1SZMu0YhI5sbgg
 8pe+4vtZE2V0J+CBMUi0f2s7k2sz9PjNCR7rpubdxKEKpcGdQbdbcaDtZvJjdTgX
 TIJyMEV0Wt+MeGTt2bgNWsjpIa2cxQ==
 =sueR
 -----END PGP SIGNATURE-----

clarify comments

Alan T. DeKok at 2019-09-05T13:43:35Z
Files modified:
	* src/lib/unlang/return.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/383df736cb7a38d952433b43c12263274c3c6e51
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xEPoACgkQfQ55zXdi
 Hs1dLAf/Z+MW9f5SiIgNQHrULDTIdRTwfCGecGR+r5Dpje+KpnOc4+Hy0OK+uI+q
 iuC15xq37DgjYtAdCu6NhTAoOVQijU7FOF1HQjKrDpdkqMo3kEvNizcNWTiQMNxx
 2l3WZoTBM4kd9GhAMOPCrKpeY3g4aHmgKxCZkdkORP2F7Zvn/hAZEss5viXCJQoF
 JW4plOOGL4R7N7DJOG5zxmD0doa5+odD6M8RGQ1xmOtpiFxX6l3WpctkjtglVxFV
 op900FksNYx5lGKuasyFVdNd8ynBhI5Z6HoJS5S2IC7bGWQMYLVo/pTJwL+KrQG/
 A8q8EUtQw82Boh5kuXgwThbvIwOn+w==
 =RacS
 -----END PGP SIGNATURE-----

debug braces for policies.

Not sure why we have "policy" as a keyword, but whatever

Alan T. DeKok at 2019-09-05T13:43:08Z
Files modified:
	* src/lib/unlang/group.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e54c5c3564399b24241f9872b50549e7f0f1ed8e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xB14ACgkQfQ55zXdi
 Hs2JQggAjcFHuogkrix+kRtZkD2/61NfQApUdU7Rf//hm6+m3xWFvVGFqi1Pk+8X
 dfmeQvc5EKPn9wnKrXx/3huDC3K59PG1muCss7lZhJUolcd2543byOcxxfSmXxky
 NTi0v9013xpxtOTa2DcfVcuGY/PjjINtBaA7nwTofF1lBd7p9kvhq9rgcMhW6GSS
 o4OZMMsfj1tFRBotHpVIv6kbstZNui5QRNBKjyiQCcsJdvEAtmDBMAcvZyqGjuaD
 2e9gO2y/849W/BO/bHwQFsg/+sXV3608UKZvgBDw97faTmpmxa7pzBTlWoZxN8O2
 rwR7HIcmVJC3xpRusg857m6DQN9Mng==
 =ftDL
 -----END PGP SIGNATURE-----

add break_point and return_point to interpreter

top frames are now both, just for sanity.

break points are "foreach" instructions.  Which SHOULD be
verified by the compiler, but it doesn't hurt to have a sanity
check.

return points are (for now) only top frames.  But marking them
up this way means that we may be able to have return points which
are in policies

Alan T. DeKok at 2019-09-05T13:02:21Z
Files modified:
	* src/lib/unlang/interpret.c
	* src/lib/unlang/unlang_priv.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fe40d3ac89ac28ef2cb59685256501dd1430408c
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE8n1lTTL4FC4LtEWpfQ55zXdiHs0FAl1xATIACgkQfQ55zXdi
 Hs0g3gf/Vm5Znrrt8N7ITBOoLUAAxe0gdmlV4A3X0Cfge0Pwd4pe6YJhZlcKEKuS
 Kt1eLo6GdvYBJlXPBDXmANXmzXRTJHWlltiK7KjDshJULZMpaPn7Rdh9ApmuWmIs
 3G5PM/HJJGWaPScygH0BLU9vWWvkTJ8cOf/AMDMDQ2Zwe0uh4wpN828cShBQJurq
 uSFL+TW+vP+1fe3MateFN+QM/F3tvGk/DcGSfTR/fGQVc3dIYgY4RVbjLkQSzaAy
 adIwo/4Fz89+cy0NynOnjIEhvkhhghvxBkj2/R4MjUY/mvgGrw/OAK3cOYLa4bGJ
 ElZCAsHhhspJHCKHo5Gd7k/Mk5Qmxg==
 =yDqA
 -----END PGP SIGNATURE-----

remove debug message

Alan T. DeKok at 2019-09-05T12:35:58Z
Files modified:
	* src/lib/server/cf_util.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8c589c36c24f5197230b109cd2d1f8094cd192bf
====== 
-- 
This commit summary was generated @2019-09-06T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list