Use O_DIRECTORY when opening directories. This makes some errors a bit
authorclaudio <claudio@openbsd.org>
Thu, 3 Jun 2021 15:10:05 +0000 (15:10 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 3 Jun 2021 15:10:05 +0000 (15:10 +0000)
commit8b9626e525dd5ccb8a6820339ee84864a704d49b
tree041a90d2c888b0b5950b48085712c8048fd9f288
parent996ab2064b5b0762101808541a272c08237a28e6
Use O_DIRECTORY when opening directories. This makes some errors a bit
clearer when using -d.
OK deraadt@
usr.sbin/rpki-client/main.c