From bebffd5a4ddf6519ce45f52209f75309c08e2508 Mon Sep 17 00:00:00 2001 From: job Date: Wed, 18 Jan 2023 18:12:20 +0000 Subject: [PATCH] Require version 4 UUIDs as RRDP session IDs OK tb@ --- usr.sbin/rpki-client/validate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.sbin/rpki-client/validate.c b/usr.sbin/rpki-client/validate.c index 096681d8675..223b9c52da3 100644 --- a/usr.sbin/rpki-client/validate.c +++ b/usr.sbin/rpki-client/validate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: validate.c,v 1.53 2023/01/18 00:27:10 tb Exp $ */ +/* $OpenBSD: validate.c,v 1.54 2023/01/18 18:12:20 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -566,7 +566,6 @@ valid_uuid(const char *s) if (s[n] != '-') return 0; break; -#ifdef NOTYET /* World is not yet ready to enfoce UUID version and variant */ /* Check UUID is version 4 */ case 14: if (s[n] != '4') @@ -578,7 +577,6 @@ valid_uuid(const char *s) s[n] != 'A' && s[n] != 'b' && s[n] != 'B') return 0; break; -#endif case 36: return s[n] == '\0'; default: -- 2.20.1