CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2021/12/28 09:10:47
Modified files: lib/libcrypto/x509: x509_addr.c Log message: Convert make_IPAddressFamily to CBS/CBB The IPAddrBlocks type, which represents the IPAddrBlocks extension, should have exactly one IPAddressFamily per AFI+SAFI combination to be delegated. make_IPAddressFamily() first builds up a search key from the afi and safi arguments and then looks for an existing IPAddressFamily with that key in the IPAddrBlocks that was passed in. It returns that if it finds it or allocates and adds a new one. This diff preserves the current behavior that the afi and *safi arguments are truncated to 2 and 1 bytes, respectively. This may change in the future. ok inoguchi jsing